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

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

Issue 10821016: Delete chrome/test/data/workers since it's not used anymore. It was copied in r148205 in preparatio… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/incognito_worker.html
===================================================================
--- chrome/test/data/workers/incognito_worker.html (revision 148361)
+++ chrome/test/data/workers/incognito_worker.html (working copy)
@@ -1,34 +0,0 @@
-<html>
-
-<head>
-<title>Incognito Worker Test</title>
-
-<script src="worker_utils.js"></script>
-
-<script>
-var worker = new SharedWorker("incognito_worker.js");
-// Worker should only get a single connect event.
-worker.port.onmessage = function(evt) {
- if (evt.data != 1) {
- // This instance should not be shared with other pre-existing instances,
- // so the connect count should be 1.
- onFailure();
- return;
- }
- // Make a second worker, make sure it shares this instance
- var worker = new SharedWorker("incognito_worker.js");
- worker.port.onmessage = function(evt) {
- if (evt.data == 2)
- onSuccess();
- else
- onFailure();
- };
-};
-
-</script>
-</head>
-
-<body>
-<div id=statusPanel></div>
-</body>
-</html>
« no previous file with comments | « chrome/test/data/workers/debug_shared_worker_initialization.js ('k') | chrome/test/data/workers/incognito_worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698