node/test/fixtures/wpt/FileAPI/support/historical-serviceworker.js

6 lines
167 B
JavaScript

importScripts('/resources/testharness.js');
test(() => {
assert_false('FileReaderSync' in self);
}, '"FileReaderSync" should not be supported in service workers');