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

Unified Diff: LayoutTests/http/tests/workers/shared-worker-invalid-url.html

Issue 84423002: Correctly resolve empty script URLs in Worker constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/http/tests/workers/shared-worker-invalid-url.html
diff --git a/LayoutTests/http/tests/workers/shared-worker-invalid-url.html b/LayoutTests/http/tests/workers/shared-worker-invalid-url.html
index 0f390bd2ac92131a9ac206c6499af0ad864e2576..010e6fbb5d056af5662066dbfd46fb6319ade465 100644
--- a/LayoutTests/http/tests/workers/shared-worker-invalid-url.html
+++ b/LayoutTests/http/tests/workers/shared-worker-invalid-url.html
@@ -22,7 +22,7 @@ try {
}
try {
- new SharedWorker("");
+ new SharedWorker("http://invalid:123$");
log("FAIL: No exception throw when accessing an invalid url.");
} catch (error) {
if (error.code == 12)
« no previous file with comments | « LayoutTests/fast/workers/worker-constructor-expected.txt ('k') | LayoutTests/http/tests/workers/worker-invalid-url.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698