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

Unified Diff: LayoutTests/fast/events/message-port-multi-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/message-port-multi-expected.txt
diff --git a/LayoutTests/fast/events/message-port-multi-expected.txt b/LayoutTests/fast/events/message-port-multi-expected.txt
index f7b5d5a24afd57f5023c7a2b0a5b6947f6db388f..e522833a200288c30a11582e410c68ec8a93b864 100644
--- a/LayoutTests/fast/events/message-port-multi-expected.txt
+++ b/LayoutTests/fast/events/message-port-multi-expected.txt
@@ -3,22 +3,22 @@ This test checks the various use cases around sending multiple ports through Mes
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS channel.port1.postMessage("same port", [channel.port1]) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS channel.port1.postMessage("same port", [channel.port1]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error.
-PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1]) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error.
PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception TypeError: Type error.
-PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS event.ports is non-null and zero length when no port sent
PASS event.ports is non-null and zero length when empty array sent
PASS event.ports contains two ports when two ports sent
PASS event.ports contains two ports when two ports re-sent after error
-PASS Sending host object has thrown Error: DataCloneError: DOM Exception 25
-PASS Sending host object has thrown Error: DataCloneError: DOM Exception 25
-PASS Sending Function object has thrown Error: DataCloneError: DOM Exception 25
-PASS Sending Error object has thrown Error: DataCloneError: DOM Exception 25
+PASS Sending host object has thrown DataCloneError: An object could not be cloned.
+PASS Sending host object has thrown DataCloneError: An object could not be cloned.
+PASS Sending Function object has thrown DataCloneError: An object could not be cloned.
+PASS Sending Error object has thrown DataCloneError: An object could not be cloned.
PASS send-port: transferred one port
PASS send-port-twice: transferred one port twice
PASS send-two-ports: transferred two ports
« no previous file with comments | « LayoutTests/fast/events/message-port-clone-expected.txt ('k') | LayoutTests/fast/events/mutation-during-append-child.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698