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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/idlharness.html

Issue 1292863003: update-w3c-deps import using blink e60a8575c2fa4bc64b804926b956b695a3ac158e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tkent review Created 5 years, 4 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 <html>
3 <head>
4 <meta charset="utf-8" />
5 <title>idlharness test</title>
6 <link rel="author" title="Kensaku Komatsu" href="mailto:kensaku.komatsu@gmail.co m" />
7 <link rel="help" href="http://www.w3.org/TR/animation-timing/#definitions"/>
8 <script src="../../../../../resources/testharness.js"></script>
9 <script src="../../../../../resources/testharnessreport.js"></script>
10 <script src="../../../../../resources/WebIDLParser.js"></script>
11 <script src="../../../../../resources/idlharness.js"></script>
12 </head>
13 <body>
14 <h1>idlharness test</h1>
15 <p>This test validates the WebIDL included in the Timing control for script-base d animations specification.</p>
16
17 <pre id='untested_idl' style='display:none'>
18 [PrimaryGlobal]
19 interface Window {
20 };
21 </pre>
22
23 <pre id='idl'>
24 partial interface Window {
25 long requestAnimationFrame(FrameRequestCallback callback);
26 void cancelAnimationFrame(long handle);
27 };
28
29 callback FrameRequestCallback = void (DOMHighResTimeStamp time);
30 </pre>
31
32 <script>
33
34 (function() {
35 var idl_array = new IdlArray();
36
37 idl_array.add_untested_idls(document.getElementById("untested_idl").textConten t);
38 idl_array.add_idls(document.getElementById("idl").textContent);
39
40 idl_array.add_objects({Window: ["window"]});
41
42 idl_array.test();
43 })();
44
45 </script>
46
47 <div id="log"></div>
48
49 </body>
50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698