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

Unified Diff: LayoutTests/fast/workers/worker-navigator-cores.html

Issue 262723002: Implement navigator.hardwareConcurrency (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/fast/workers/worker-navigator-cores.html
diff --git a/LayoutTests/fast/workers/worker-domurl.html b/LayoutTests/fast/workers/worker-navigator-cores.html
similarity index 54%
copy from LayoutTests/fast/workers/worker-domurl.html
copy to LayoutTests/fast/workers/worker-navigator-cores.html
index 7a1d3355071a325fed8fce493f16e43008a2dbe3..a0f7aa27c0f9507ce598dff309c149e2f8b0f3b9 100644
--- a/LayoutTests/fast/workers/worker-domurl.html
+++ b/LayoutTests/fast/workers/worker-navigator-cores.html
@@ -10,32 +10,17 @@ function log(message)
}
function runTest() {
- var worker = new Worker('resources/worker-domurl.js');
+ var worker = new Worker('resources/worker-navigator-cores.js');
worker.onmessage = function(event) {
if (event.data == 'DONE') {
- testDOMURL();
if (window.testRunner)
testRunner.notifyDone();
} else
log(event.data);
}
- testDOMURL();
worker.postMessage('');
}
-function testDOMURL()
-{
- if (window.URL.createObjectURL == undefined)
- log('FAIL: window.URL.createObjectURL undefined');
- else
- log('PASS: window.URL.createObjectURL defined');
-
- if (window.URL.revokeObjectURL == undefined)
- log('FAIL: window.URL.revokeObjectURL undefined');
- else
- log('PASS: window.URL.revokeObjectURL defined');
-}
-
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();

Powered by Google App Engine
This is Rietveld 408576698