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

Side by Side Diff: LayoutTests/fast/workers/worker-constructor-expected.txt

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 unified diff | Download patch
OLDNEW
1 Test Worker constructor functionality. Should print a series of PASS messages, f ollowed with DONE. 1 Test Worker constructor functionality. Should print a series of PASS messages, f ollowed with DONE.
2 2
3 PASS: toString exception propagated correctly. 3 PASS: toString exception propagated correctly.
4 PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded) 4 PASS: trying to create workers recursively resulted in an exception (RangeError: Maximum call stack size exceeded)
5 PASS: invoking Worker constructor without arguments resulted in an exception (Ty peError: Failed to execute 'Constructor' on 'Worker': 1 argument required, but o nly 0 present.) 5 PASS: invoking Worker constructor without arguments resulted in an exception (Ty peError: Failed to execute 'Constructor' on 'Worker': 1 argument required, but o nly 0 present.)
6 PASS: invoking Worker constructor with empty script URL resulted in an exception (SyntaxError: Failed to create a worker: an empty URL was provided.) 6 PASS: onerror invoked for an empty script URL, resolving to this HTML document's URL.
7 PASS: invoking Worker constructor with invalid script URL resulted in an excepti on (SyntaxError: Failed to create a worker: 'http://invalid:123$' is not a valid URL.) 7 PASS: invoking Worker constructor with invalid script URL resulted in an excepti on (SyntaxError: Failed to create a worker: 'http://invalid:123$' is not a valid URL.)
8 PASS: onerror invoked for a script that could not be loaded. 8 PASS: onerror invoked for a script that could not be loaded.
9 PASS: Successfully created worker. 9 PASS: Successfully created worker.
10 DONE 10 DONE
11 11
OLDNEW
« no previous file with comments | « LayoutTests/fast/workers/worker-constructor.html ('k') | LayoutTests/http/tests/workers/shared-worker-invalid-url.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698