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

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

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Created 6 years, 9 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-dedicated-basic.html
diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-dedicated-basic.html b/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-dedicated-basic.html
index 22cf6ea9ff90e8e5332133dc00dc09187407ab41..a87d93f554f71cc6a957d0285edc7d7c063558fe 100644
--- a/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-dedicated-basic.html
+++ b/LayoutTests/http/tests/w3c/webperf/submission/Google/HighResolutionTime/worker-dedicated-basic.html
@@ -22,7 +22,7 @@ var startTime = window.performance.now();
var worker = new Worker("/w3c/webperf/resources/worker.js");
worker.onmessage = function(event) {
- var results = event.data;
+ var results = JSON.parse(event.data);
sof 2014/03/24 07:54:44 No longer needed.
assert_true(results.length == 3);
test_true(results[0], "self.performance is defined");
test_true(results[1], "self.performance.now is defined");

Powered by Google App Engine
This is Rietveld 408576698