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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/hr-time/basic.worker.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/hr-time/basic.worker.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/hr-time/basic.worker.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/hr-time/basic.worker.js
deleted file mode 100644
index 6a9f7a3932a7822cc062c172b301a4a131dc2ade..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/hr-time/basic.worker.js
+++ /dev/null
@@ -1,18 +0,0 @@
-importScripts("/resources/testharness.js");
-
-test(function() {
- assert_true((performance !== undefined), "WorkerGlobalScope.performance exists");
- assert_equals((typeof performance.now), "function");
-}, "WorkerGlobalScope.performance.now() is a function");
-
-test(function() {
- assert_true(performance.now() > 0);
-}, "WorkerGlobalScope.performance.now() returns a positive number");
-
-test(function() {
- var now1 = performance.now();
- var now2 = performance.now();
- assert_true((now2-now1) >= 0);
- }, "WorkerGlobalScope.performance.now() difference is not negative");
-
-done();

Powered by Google App Engine
This is Rietveld 408576698