Chromium Code Reviews| 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"); |