diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/FileAPI/support/historical-serviceworker.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/FileAPI/support/historical-serviceworker.js b/testing/web-platform/tests/FileAPI/support/historical-serviceworker.js new file mode 100644 index 0000000000..8bd89a23ad --- /dev/null +++ b/testing/web-platform/tests/FileAPI/support/historical-serviceworker.js @@ -0,0 +1,5 @@ +importScripts('/resources/testharness.js'); + +test(() => { + assert_false('FileReaderSync' in self); +}, '"FileReaderSync" should not be supported in service workers'); |