diff options
Diffstat (limited to 'testing/web-platform/tests/compute-pressure/compute_pressure_supported_sources.https.any.js')
-rw-r--r-- | testing/web-platform/tests/compute-pressure/compute_pressure_supported_sources.https.any.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/testing/web-platform/tests/compute-pressure/compute_pressure_supported_sources.https.any.js b/testing/web-platform/tests/compute-pressure/compute_pressure_supported_sources.https.any.js deleted file mode 100644 index 63f2666cca..0000000000 --- a/testing/web-platform/tests/compute-pressure/compute_pressure_supported_sources.https.any.js +++ /dev/null @@ -1,21 +0,0 @@ -// META: global=window,dedicatedworker,sharedworker - -'use strict'; - -test(() => { - // Compute Pressure should support at least "cpu" - const sources = PressureObserver.supportedSources; - assert_in_array('cpu', sources); -}, 'PressureObserver should support at least "cpu"'); - -test(() => { - // Compute Pressure should be frozen array - const sources = PressureObserver.supportedSources; - assert_equals(sources, PressureObserver.supportedSources); -}, 'PressureObserver must return always the same array'); - -test(() => { - // Compute Pressure should be frozen array - let sources = PressureObserver.supportedSources; - assert_equals(Object.isFrozen(), true); -}, 'PressureObserver must return a frozen array'); |