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

Unified Diff: LayoutTests/http/tests/workers/worker-importScriptsOnError.html

Issue 19514006: Explicitly test same/cross-origin importScripts() effect on worker.onerror. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 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
« no previous file with comments | « LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/workers/worker-importScriptsOnError.html
diff --git a/LayoutTests/http/tests/workers/worker-importScriptsOnError.html b/LayoutTests/http/tests/workers/worker-importScriptsOnError.html
deleted file mode 100644
index c516082e53673e5a889799e5e2c215d2fbd61546..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/workers/worker-importScriptsOnError.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<body>
-<p>Test importScripts with error.</p>
-<div id=result></div>
-<script>
-function log(message)
-{
- document.getElementById("result").innerHTML += message + "<br>";
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-var worker = new Worker('resources/worker-importScripts-error.js');
-
-worker.onerror = function(error)
-{
- var properties = [];
- for (property in error) {
- if (property == 'timeStamp')
- continue;
- properties.push('<br/>' + property + ': ' + error[property]);
- }
- properties.sort();
- log(properties);
-
- if (window.testRunner) {
- // Allow the console message to be dumped out.
- setTimeout(function() {
- testRunner.notifyDone();
- }, 0);
- }
-}
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698