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

Unified Diff: LayoutTests/http/tests/workers/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/worker-invalid-url.html
diff --git a/LayoutTests/http/tests/workers/worker-invalid-url.html b/LayoutTests/http/tests/workers/worker-invalid-url.html
index b4249b832de4841b951bb94cf73deb205daaf3a7..cb54a695b20f9f8f73d11d8a28c408743e58b911 100644
--- a/LayoutTests/http/tests/workers/worker-invalid-url.html
+++ b/LayoutTests/http/tests/workers/worker-invalid-url.html
@@ -22,7 +22,7 @@ try {
}
try {
- new Worker("");
+ new Worker("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/http/tests/workers/shared-worker-invalid-url.html ('k') | Source/core/workers/AbstractWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698