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

Unified Diff: chrome/test/data/workers/many_shared_workers.html

Issue 9802025: Rewrite HTML5 workers ui_tests to browser_tests. Compared to ui_tests, browser_tests are faster, le… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add directory create call needed on linux Created 8 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: chrome/test/data/workers/many_shared_workers.html
===================================================================
--- chrome/test/data/workers/many_shared_workers.html (revision 129415)
+++ chrome/test/data/workers/many_shared_workers.html (working copy)
@@ -1,4 +1,7 @@
<html>
+<head>
+<script src="worker_utils.js"></script>
+</head>
<body>
<div id=result></div>
<script>
@@ -28,9 +31,9 @@
workers_created++;
log("worker " + worker_id + " started - num_clients = " + event.data);
if (workers_created == num_workers) {
- // created the last worker
- log("SUCCESS: all workers created");
- document.cookie = "status=OK";
+ // created the last worker
+ log("SUCCESS: all workers created");
+ onSuccess();
}
}
}

Powered by Google App Engine
This is Rietveld 408576698