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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the various use cases around sending multiple ports through Wor ker.postMessage 1 This test checks the various use cases around sending multiple ports through Wor ker.postMessage
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) thr ew exception Error: InvalidStateError: DOM Exception 11. 6 PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) thr ew exception InvalidStateError: An attempt was made to use an object that is not , or is no longer, usable..
7 PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error. 7 PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error.
8 PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error. 8 PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error.
9 PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError : Type error. 9 PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError : Type error.
10 PASS event.ports is non-null and zero length when no port sent 10 PASS event.ports is non-null and zero length when no port sent
11 PASS event.ports is non-null and zero length when empty array sent 11 PASS event.ports is non-null and zero length when empty array sent
12 PASS event.ports contains two ports when two ports sent 12 PASS event.ports contains two ports when two ports sent
13 PASS event.ports contains two ports when two ports re-sent after error 13 PASS event.ports contains two ports when two ports re-sent after error
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698