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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/storage/interfaces.worker.js

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months 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 'use strict';
2
3 importScripts('/resources/testharness.js');
4 importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
5
6 promise_test(t => {
7 return fetch('interfaces.idl')
8 .then(response => response.text())
9 .then(idls => {
10 var idl_array = new IdlArray();
11
12 idl_array.add_untested_idls('interface Navigator {};');
13 idl_array.add_untested_idls('[Exposed=Worker] interface WorkerNavigator {} ;');
14
15 idl_array.add_idls(idls);
16
17 idl_array.add_objects({
18 StorageManager: ['navigator.storage']
19 });
20
21 idl_array.test();
22 t.done();
23 });
24 }, 'Storage API IDL test');
25
26 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698