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

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

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 <!doctype html>
2 <meta charset=utf-8>
3 <title>Storage API IDL tests</title>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <script src="/resources/WebIDLParser.js"></script>
7 <script src="/resources/idlharness.js"></script>
8
9 <script>
10 'use strict';
11 promise_test(t => {
12 return fetch('interfaces.idl')
13 .then(response => response.text())
14 .then(idls => {
15 var idl_array = new IdlArray();
16
17 idl_array.add_untested_idls('interface Navigator {};');
18 idl_array.add_untested_idls('[Exposed=Worker] interface WorkerNavigator {} ;');
19
20 idl_array.add_idls(idls);
21
22 idl_array.add_objects({
23 StorageManager: ['navigator.storage']
24 });
25
26 idl_array.test();
27 t.done();
28 });
29 }, 'Storage API IDL test');
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698