summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/workers
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-23 00:25:04 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-23 00:25:04 +0000
commitcb5b58c021e7fbcf3f377697870401cdd159ff6d (patch)
tree48e4845d5c8f984765a869f085eefd1d2fc5d2ed /chrome/test/data/workers
parent4225cbbd34cb72a87dc24be6e87537ba8c1b8505 (diff)
downloadchromium_src-cb5b58c021e7fbcf3f377697870401cdd159ff6d.zip
chromium_src-cb5b58c021e7fbcf3f377697870401cdd159ff6d.tar.gz
chromium_src-cb5b58c021e7fbcf3f377697870401cdd159ff6d.tar.bz2
Revert 36888 - Refactored code to allow associating workers with multiple renderers.
SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Review URL: http://codereview.chromium.org/509016 TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/549138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/workers')
-rw-r--r--chrome/test/data/workers/shared_worker_auth.html18
-rw-r--r--chrome/test/data/workers/worker_auth.html18
-rw-r--r--chrome/test/data/workers/worker_common.js2
3 files changed, 0 insertions, 38 deletions
diff --git a/chrome/test/data/workers/shared_worker_auth.html b/chrome/test/data/workers/shared_worker_auth.html
deleted file mode 100644
index fbe4ad2..0000000
--- a/chrome/test/data/workers/shared_worker_auth.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-
-<head>
-<title>SharedWorker HTTP Auth Test</title>
-
-<script src="worker_utils.js"></script>
-
-<script>
-
-var worker = new SharedWorker("worker_common.js");
-worker.port.postMessage("auth");
-</script>
-</head>
-
-<body>
-<div id=statusPanel></div>
-</body>
-</html>
diff --git a/chrome/test/data/workers/worker_auth.html b/chrome/test/data/workers/worker_auth.html
deleted file mode 100644
index e452155..0000000
--- a/chrome/test/data/workers/worker_auth.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-
-<head>
-<title>Worker HTTP Auth Test</title>
-
-<script src="worker_utils.js"></script>
-
-<script>
-
-var worker = getWorker("worker_common.js");
-worker.postMessage("auth");
-</script>
-</head>
-
-<body>
-<div id=statusPanel></div>
-</body>
-</html>
diff --git a/chrome/test/data/workers/worker_common.js b/chrome/test/data/workers/worker_common.js
index 664da58..8caa622 100644
--- a/chrome/test/data/workers/worker_common.js
+++ b/chrome/test/data/workers/worker_common.js
@@ -12,8 +12,6 @@ if (!self.postMessage) {
onmessage = function(evt) {
if (evt.data == "ping")
postMessage("pong");
- else if (evt.data == "auth")
- importScripts("/auth-basic");
else if (/eval.+/.test(evt.data)) {
try {
postMessage(eval(evt.data.substr(5)));