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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2-navigator-service-worker.html

Issue 2434563008: Import wpt@26c8d4e87448d1c4e5ebf2ddb4917c0633c201db (Closed)
Patch Set: Mark one more test as potentially timing out Created 4 years, 1 month 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: navigator.serviceWorker</title> 3 <title>Service Workers: navigator.serviceWorker</title>
4 <head> 4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se rvice-worker"> 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se rvice-worker">
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 [2]: http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.h tml 57 [2]: http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.h tml
58 [3]: http://www.w3.org/TR/workers/#dom-worker-postmessage 58 [3]: http://www.w3.org/TR/workers/#dom-worker-postmessage
59 --> 59 -->
60 60
61 61
62 <script type=text/plain id="untested_idls"> 62 <script type=text/plain id="untested_idls">
63 interface ServiceWorker {}; 63 interface ServiceWorker {};
64 interface EventHandler {}; 64 interface EventHandler {};
65 interface EventTarget {}; 65 interface EventTarget {};
66 interface Event {}; 66 interface Event {};
67 </pre> 67 </script>
68 68
69 <script> 69 <script>
70 var idl_array = new IdlArray(); 70 var idl_array = new IdlArray();
71 idl_array.add_untested_idls(document.getElementById("untested_idls").tex tContent); 71 idl_array.add_untested_idls(document.getElementById("untested_idls").tex tContent);
72 idl_array.add_idls(document.getElementById("idl_0").textContent); 72 idl_array.add_idls(document.getElementById("idl_0").textContent);
73 idl_array.add_objects({ 73 idl_array.add_objects({
74 Navigator: ["throw new Error ('No object defined for the Navigator i nterface')"], 74 Navigator: ["throw new Error ('No object defined for the Navigator i nterface')"],
75 ServiceWorkerContainer: ["throw new Error ('No object defined for th e ServiceWorkerContainer interface')"], 75 ServiceWorkerContainer: ["throw new Error ('No object defined for th e ServiceWorkerContainer interface')"],
76 RegistrationOptionList: ["throw new Error ('No object defined for th e RegistrationOptionList dictionary')"], 76 RegistrationOptionList: ["throw new Error ('No object defined for th e RegistrationOptionList dictionary')"],
77 ReloadPageEvent: ["throw new Error ('No object defined for the Reloa dPageEvent interface')"] 77 ReloadPageEvent: ["throw new Error ('No object defined for the Reloa dPageEvent interface')"]
78 }); 78 });
79 idl_array.test(); 79 idl_array.test();
80 </script> 80 </script>
81 81
82 </body> 82 </body>
83 </html> 83 </html>
84 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698