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

Unified Diff: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/idlharness.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/w3c/webperf/approved/UserTiming/idlharness.html
diff --git a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/idlharness.html b/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/idlharness.html
deleted file mode 100644
index 59cd0eb5bd559e498d3fb4adf0437f049db7b168..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/w3c/webperf/approved/UserTiming/idlharness.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8" />
-<title>idlharness test</title>
-<link rel="author" title="W3C" href="http://www.w3.org/" />
-<link rel="help" href="http://www.w3.org/TR/user-timing/#extensions-performance-interface"/>
-<link rel="help" href="http://www.w3.org/TR/user-timing/#performancemark"/>
-<link rel="help" href="http://www.w3.org/TR/user-timing/#performancemeasure"/>
-<script src="/w3c/resources/testharness.js"></script>
-<script src="/w3c/resources/testharnessreport.js"></script>
-<script src="/w3c/resources/WebIDLParser.js"></script>
-<script src="/w3c/resources/idlharness.js"></script>
-</head>
-<body>
-<h1>idlharness test</h1>
-<p>This test validates the WebIDL included in the user Timing specification.</p>
-
-<pre id='untested_idl' style='display:none'>
-interface Performance {
-};
-
-interface PerformanceEntry {
-};
-</pre>
-
-<pre id='idl'>
-partial interface Performance {
- void mark(DOMString markName);
- void clearMarks(optional DOMString markName);
-
- void measure(DOMString measureName, optional DOMString startMark, optional DOMString endMark);
- void clearMeasures(optional DOMString measureName);
-};
-
-interface PerformanceMark : PerformanceEntry {
-};
-
-interface PerformanceMeasure : PerformanceEntry {
-};
-
-</pre>
-
-<script>
-
-(function() {
- var idl_array = new IdlArray();
-
- idl_array.add_untested_idls(document.getElementById("untested_idl").textContent);
- idl_array.add_idls(document.getElementById("idl").textContent);
-
- idl_array.add_objects({Performance: ["window.performance"]});
-
- idl_array.test();
-})();
-
-</script>
-
-<div id="log"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698