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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.6.2-cache.html

Issue 2446483002: Import wpt@c5a14f553cba5f197743b9af605a84eddd8692a2 (Closed)
Patch Set: Created 4 years, 2 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <title>Service Workers: Cache</title> 3 <title>Service Workers: Cache</title>
4 <head> 4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#cache"> 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#cache">
6 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testharnessreport.js"></script>
8 8
9 <script src=/resources/WebIDLParser.js></script> 9 <script src=/resources/WebIDLParser.js></script>
10 <script src=/resources/idlharness.js></script> 10 <script src=/resources/idlharness.js></script>
(...skipping 19 matching lines...) Expand all
30 boolean ignoreVary = false; 30 boolean ignoreVary = false;
31 DOMString cacheName; 31 DOMString cacheName;
32 }; 32 };
33 33
34 dictionary CacheBatchOperation { 34 dictionary CacheBatchOperation {
35 DOMString type; 35 DOMString type;
36 Request request; 36 Request request;
37 Response response; 37 Response response;
38 CacheQueryOptions options; 38 CacheQueryOptions options;
39 }; 39 };
40 </pre> 40 </script>
41 41
42 42
43 43
44 <script type=text/plain id="untested_idls"> 44 <script type=text/plain id="untested_idls">
45 interface AbstractResponse {}; 45 interface AbstractResponse {};
46 interface Request {}; 46 interface Request {};
47 interface ScalarValueString {}; 47 interface ScalarValueString {};
48 </pre> 48 </script>
49 49
50 <script> 50 <script>
51 var idl_array = new IdlArray(); 51 var idl_array = new IdlArray();
52 idl_array.add_untested_idls(document.getElementById("untested_idls").tex tContent); 52 idl_array.add_untested_idls(document.getElementById("untested_idls").tex tContent);
53 idl_array.add_idls(document.getElementById("idl_0").textContent); 53 idl_array.add_idls(document.getElementById("idl_0").textContent);
54 idl_array.add_objects({ 54 idl_array.add_objects({
55 Cache: ["throw new Error ('No object defined for the Cache interface ')"], 55 Cache: ["throw new Error ('No object defined for the Cache interface ')"],
56 QueryParams: ["throw new Error ('No object defined for the QueryPara ms dictionary')"], 56 QueryParams: ["throw new Error ('No object defined for the QueryPara ms dictionary')"],
57 CacheIterationCallback: ["throw new Error ('No object defined for th e CacheIterationCallback callback')"] 57 CacheIterationCallback: ["throw new Error ('No object defined for th e CacheIterationCallback callback')"]
58 }); 58 });
59 idl_array.test(); 59 idl_array.test();
60 </script> 60 </script>
61 61
62 </body> 62 </body>
63 </html> 63 </html>
64 64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698