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

Unified Diff: LayoutTests/http/tests/w3c/webperf/approved/HighResolutionTime/basic.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/HighResolutionTime/basic.html
diff --git a/LayoutTests/http/tests/w3c/webperf/approved/HighResolutionTime/basic.html b/LayoutTests/http/tests/w3c/webperf/approved/HighResolutionTime/basic.html
deleted file mode 100644
index ffc88775ad54d7beb7ee0b2026ce1d708767e145..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/w3c/webperf/approved/HighResolutionTime/basic.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8" />
-<title>window.performance.now exists</title>
-<link rel="author" title="W3C" href="http://www.w3.org/" />
-<link rel="help" href="http://www.w3.org/TR/hr-time/#sec-extenstions-performance-interface"/>
-<script src="/w3c/resources/testharness.js"></script>
-<script src="/w3c/resources/testharnessreport.js"></script>
-<link rel="stylesheet" href="/w3c/resources/testharness.css" />
-<script>
-test(function() {
- assert_equals(typeof window.performance, "object");
-}, "window.performance is defined", {assert: "The window.performance attribute provides a hosting area for performance related attributes."});
-
-test(function() {
- assert_not_equals(window.performance.now, undefined, 'window.performance.now is defined');
-}, "High Resolution Time extension to the Performance interface", {assert: "window.performance.now exists"});
-
-test(function() {
- assert_equals(typeof window.performance.now, "function", "window.performance.now is a function");
-}, "window.performance.now() function", {assert: "window.performance.now is a function"});
-
-test(function() {
- assert_equals(typeof window.performance.now(), "number", "window.performance.now() returns a number");
-}, "window.performance.now() returns a number", {assert: "The now method MUST return a DOMHighResTimeStamp"});
-</script>
-</head>
-<body>
-<h1>Description</h1>
-<p>This test validates that window.performance.now() exist and is a function.</p>
-
-<div id="log"></div>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/http/tests/w3c/README ('k') | LayoutTests/http/tests/w3c/webperf/approved/HighResolutionTime/idlharness.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698