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

Side by Side Diff: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/test_user_timing_exists.htm

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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8" />
5 <title>window.performance User Timing exists</title>
6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
7 <link rel="help" href="http://127.0.0.1:8000/webperf/specs/UserTiming/"/ >
8 <script src="/w3c/resources/testharness.js"></script>
9 <script src="/w3c/resources/testharnessreport.js"></script>
10 <script src="/w3c/webperf/resources/webperftestharness.js"></script>
11
12 </head>
13 <body>
14 <h1>Description</h1>
15 <p>This test validates that all of the methods used to interact with the User Timing API are defined.</p>
16
17 <div id="log"></div>
18
19 <script>
20 test_namespace();
21
22 test_true(window.performance.mark !== undefined, "window.performance.mar k is defined.");
23 test_true(window.performance.clearMarks !== undefined, "window.performan ce.clearMarks is defined.");
24 test_true(window.performance.measure !== undefined, "window.performance. measure is defined.");
25 test_true(window.performance.clearMeasures !== undefined, "window.perfor mance.clearMeasures is defined.");
26 </script>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698