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

Unified Diff: LayoutTests/fast/events/constructors/message-event-constructor-expected.txt

Issue 555133003: Use ExceptionState to throw exceptions when converting arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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/constructors/message-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
index d131b3b58e314696e7a68e11b6516f85bbc70ba1..a11ac015e0a39a974b80a7ffb68d301a06a005ce 100644
--- a/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
@@ -83,19 +83,19 @@ PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
PASS new MessageEvent('eventType', { ports: [] }).ports is []
PASS new MessageEvent('eventType', { ports: undefined }).ports is []
PASS new MessageEvent('eventType', { ports: null }).ports is []
-PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exception TypeError: Invalid Array element type.
-PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: document }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
-PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exception TypeError: Failed to construct 'MessageEvent': Invalid Array element type.
+PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: document }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
-PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [channel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties..
+PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [channel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties..
PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [channel.port1, channel.port2, channel2.port1] }).bubbles is true
PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [channel.port1, channel.port2, channel2.port1] }).cancelable is true
PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [channel.port1, channel.port2, channel2.port1] }).data is test_object
« no previous file with comments | « LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt ('k') | LayoutTests/fast/events/init-message-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698