Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/filesystem/resources/null-arguments-worker.js

Issue 1480363003: Eliminate [LegacyInterfaceTypeChecking] for modules/filesystem bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Scope to safe changes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 importScripts('../resources/fs-worker-common.js');
2 importScripts('../../../resources/js-test.js');
3 importScripts('../resources/fs-test-util.js');
4
5 description('This test tries calling various sync filesystem functions with null arguments.');
6
7 fileSystem = webkitRequestFileSystemSync(self.TEMPORARY, 100);
8
9 shouldThrow("fileSystem.root.moveTo(null, 'x')");
10 shouldThrow("fileSystem.root.copyTo(null, 'x')");
11 entry = fileSystem.root.getFile("/test", { create: true });
12 writer = entry.createWriter();
13 shouldThrow("writer.write(null)");
14 finishJSTest();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698