Title: [109233] trunk/LayoutTests
Revision
109233
Author
dslo...@google.com
Date
2012-02-29 11:08:24 -0800 (Wed, 29 Feb 2012)

Log Message

Unreviewed: updating expectations for chromium (error messages)

* platform/chromium/fast/events/message-port-multi-expected.txt: Added.
* platform/chromium/test_expectations.txt:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (109232 => 109233)


--- trunk/LayoutTests/ChangeLog	2012-02-29 18:56:11 UTC (rev 109232)
+++ trunk/LayoutTests/ChangeLog	2012-02-29 19:08:24 UTC (rev 109233)
@@ -1,3 +1,10 @@
+2012-02-29  Dmitry Lomov  <dslo...@google.com>
+
+        Unreviewed: updating expectations for chrmium (error messages)
+
+        * platform/chromium/fast/events/message-port-multi-expected.txt: Added.
+        * platform/chromium/test_expectations.txt:
+
 2012-02-29  Parag Radke  <pa...@motorola.com>
 
         Crash in WebCore::CompositeEditCommand::insertNodeAt

Added: trunk/LayoutTests/platform/chromium/fast/events/message-port-multi-expected.txt (0 => 109233)


--- trunk/LayoutTests/platform/chromium/fast/events/message-port-multi-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/events/message-port-multi-expected.txt	2012-02-29 19:08:24 UTC (rev 109233)
@@ -0,0 +1,23 @@
+This test checks the various use cases around sending multiple ports through MessagePort.postMessage
+
+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: DATA_CLONE_ERR: DOM Exception 25.
+PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
+PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
+PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: TransferArray argument must contain only Transferables.
+PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception TypeError: TransferArray argument has no length attribute.
+PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception TypeError: TransferArray argument must contain only Transferables.
+PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
+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: DATA_CLONE_ERR: DOM Exception 25
+PASS send-port: transferred one port
+PASS send-port-twice: transferred one port twice
+PASS send-two-ports: transferred two ports
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (109232 => 109233)


--- trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-02-29 18:56:11 UTC (rev 109232)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt	2012-02-29 19:08:24 UTC (rev 109233)
@@ -237,7 +237,6 @@
 WONTFIX SKIP : fast/events/message-port-inactive-document.html = FAIL
 WONTFIX SKIP : fast/events/message-port-no-wrapper.html = FAIL
 WONTFIX SKIP : fast/events/message-port.html = FAIL
-WONTFIX SKIP : fast/events/message-port-multi.html = FAIL
 WONTFIX SKIP : http/tests/security/MessagePort/event-listener-context.html = FAIL
 
 // Chrome does not support Java LiveConnect.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to