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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/hr-time/idlharness.html

Issue 2675133002: Import wpt@97e16bef6d6599ae805521e2007a9430a12aa144 (Closed)
Patch Set: Revert change to W3CImportExpectations 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>High Resolution Time IDL tests</title> 5 <title>High Resolution Time IDL tests</title>
6 <link rel="author" title="W3C" href="http://www.w3.org/" /> 6 <link rel="author" title="W3C" href="http://www.w3.org/" />
7 <link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-performance -interface"/> 7 <link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-performance -interface"/>
8 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 <script src="/resources/WebIDLParser.js"></script> 10 <script src="/resources/WebIDLParser.js"></script>
11 <script src="/resources/idlharness.js"></script> 11 <script src="/resources/idlharness.js"></script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <h1>High Resolution Time IDL tests</h1> 14 <h1>High Resolution Time IDL tests</h1>
15 <div id="log"></div> 15 <div id="log"></div>
16 16
17 <pre id='untested_idl' style='display:none'> 17 <pre id='untested_idl' style='display:none'>
18 18 [PrimaryGlobal]
19 interface Window { 19 interface Window {
20 }; 20 };
21 21
22 [Exposed=Worker] 22 [Exposed=Worker]
23 interface WorkerGlobalScope { 23 interface WorkerGlobalScope {
24 }; 24 };
25 25
26 [Exposed=(Window,Worker)]
27 interface EventTarget {
28 };
26 </pre> 29 </pre>
27 30
28 <pre id='idl'> 31 <pre id='idl'>
29 typedef double DOMHighResTimeStamp; 32 typedef double DOMHighResTimeStamp;
30 33
31 [Exposed=(Window,Worker)] 34 [Exposed=(Window,Worker)]
32 interface Performance : EventTarget { 35 interface Performance : EventTarget {
33 DOMHighResTimeStamp now(); 36 DOMHighResTimeStamp now();
34 serializer = {attribute}; 37 serializer = {attribute};
35 }; 38 };
(...skipping 19 matching lines...) Expand all
55 idl_array.add_idls(document.getElementById("idl").textContent); 58 idl_array.add_idls(document.getElementById("idl").textContent);
56 59
57 idl_array.add_objects({Performance: ["window.performance"]}); 60 idl_array.add_objects({Performance: ["window.performance"]});
58 61
59 idl_array.test(); 62 idl_array.test();
60 })(); 63 })();
61 64
62 </script> 65 </script>
63 </body> 66 </body>
64 </html> 67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698