| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/no-filesystem.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/no-filesystem.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/no-filesystem.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..464977222b8e7fdce649977f48e39f3cc4803b96
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/no-filesystem.js
|
| @@ -0,0 +1,11 @@
|
| +function expect_exception(func) {
|
| + try {
|
| + func();
|
| + } catch (ex) {
|
| + return;
|
| + }
|
| + throw Error("No exception seen");
|
| +}
|
| +
|
| +expect_exception(_ => webkitRequestFileSystem(TEMPORARY, 1024));
|
| +expect_exception(_ => webkitRequestFileSystemSync(TEMPORARY, 1024));
|
|
|