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

Unified Diff: LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-shared-basic.html

Issue 111743007: Add the SharedWorker.workerStart property for high resolution timers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code style compliance Created 6 years, 11 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/submission/Google/HighResolutionTime/worker-shared-basic.html
diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-shared-basic.html b/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-shared-basic.html
index 8deff695d89495ec46fcf3811f21a983e6a61d19..f89b1619db5a1e98f3b2f5bc78049751e370f2f6 100644
--- a/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-shared-basic.html
+++ b/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-shared-basic.html
@@ -39,6 +39,8 @@ window.test_iframe = function(event, iframeNow) {
}
function start() {
+ test_true("workerStart" in worker, "workerStart is defined on the SharedWorker object");
+ test_greater_than(worker.workerStart, 0, "Time of worker start was after the navigation start for the document");
worker.port.postMessage(tests);
}

Powered by Google App Engine
This is Rietveld 408576698