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

Side by Side Diff: LayoutTests/imported/web-platform-tests/hr-time/test_cross_frame_start.html

Issue 1191043004: Import hr-time and user-timing tests, remove redundant webperf copies (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add idlharness result Created 5 years, 6 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 | Annotate | Revision Log
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>window.performance.now across frames</title> 5 <title>window.performance.now across frames</title>
6 <link rel="author" title="Google" href="http://www.google.com/"> 6 <link rel="author" title="Google" href="http://www.google.com/">
7 <link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-per formance-interface"> 7 <link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-per formance-interface">
8 8
9 <script src="/w3c/resources/testharness.js"></script> 9 <script src="../../../resources/testharness.js"></script>
10 <script src="/w3c/resources/testharnessreport.js"></script> 10 <script src="../../../resources/testharnessreport.js"></script>
11 11
12 <script type="text/javascript"> 12 <script type="text/javascript">
13 setup({explicit_done: true}); 13 setup({explicit_done: true});
14 14
15 function start_test() { 15 function start_test() {
16 setTimeout(function() { 16 setTimeout(function() {
17 var iframe = document.createElement('iframe'); 17 var iframe = document.createElement('iframe');
18 iframe.id = 'frameContext'; 18 iframe.id = 'frameContext';
19 iframe.onload = finish_test; 19 iframe.onload = finish_test;
20 iframe.src = "resources/now_frame.html"; 20 iframe.src = "resources/now_frame.html";
(...skipping 26 matching lines...) Expand all
47 } 47 }
48 </script> 48 </script>
49 49
50 </head> 50 </head>
51 <body onload="start_test()"> 51 <body onload="start_test()">
52 <h1>Description</h1> 52 <h1>Description</h1>
53 <p>This test validates the values of the window.performance.now() are ba sed on the current document's navigationStart.</p> 53 <p>This test validates the values of the window.performance.now() are ba sed on the current document's navigationStart.</p>
54 <div id="log"></div> 54 <div id="log"></div>
55 </body> 55 </body>
56 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698