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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt

Issue 1903873004: Deprecate window.postMessage(m, transferables, origin) overload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/message-port.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: 'window.postMessage(message, transferables, targetOrigin)' is d eprecated and will be removed in M54, around October 2016. Please use 'window.po stMessage(message, targetOrigin, transferables)' instead. See https://www.chrome status.com/features/5719033043222528 for more details.
1 Test that the second argument of window.postMessage is ignored or triggers an er ror if it is not a message port. You should see PASS message '1' through '7', fo llowed by 'done', with messages 4-7 received below. 2 Test that the second argument of window.postMessage is ignored or triggers an er ror if it is not a message port. You should see PASS message '1' through '7', fo llowed by 'done', with messages 4-7 received below.
2 3
3 4
4 PASS Posting message ('1', 1): threw exception TypeError: Failed to execute 'pos tMessage' on 'Window': The 3rd argument is neither an array, nor does it have in dexed properties. 5 PASS Posting message ('1', 1): threw exception TypeError: Failed to execute 'pos tMessage' on 'Window': The 3rd argument is neither an array, nor does it have in dexed properties.
5 PASS Posting message ('2', c): threw exception TypeError: Failed to execute 'pos tMessage' on 'Window': The 2nd argument is neither an array, nor does it have in dexed properties. 6 PASS Posting message ('2', c): threw exception TypeError: Failed to execute 'pos tMessage' on 'Window': The 2nd argument is neither an array, nor does it have in dexed properties.
6 PASS Posting message ('3', [object Object]): threw exception TypeError: Failed t o execute 'postMessage' on 'Window': The 3rd argument is neither an array, nor d oes it have indexed properties. 7 PASS Posting message ('3', [object Object]): threw exception TypeError: Failed t o execute 'postMessage' on 'Window': The 3rd argument is neither an array, nor d oes it have indexed properties.
7 PASS Posting message ('3a', *): threw exception TypeError: Failed to execute 'po stMessage' on 'Window': The 2nd argument is neither an array, nor does it have i ndexed properties. 8 PASS Posting message ('3a', *): threw exception TypeError: Failed to execute 'po stMessage' on 'Window': The 2nd argument is neither an array, nor does it have i ndexed properties.
8 PASS Posting message ('4', [object Window]) did not throw an exception 9 PASS Posting message ('4', [object Window]) did not throw an exception
9 PASS Posting message ('4a', *) did not throw an exception 10 PASS Posting message ('4a', *) did not throw an exception
10 PASS Posting message ('5', undefined) did not throw an exception 11 PASS Posting message ('5', undefined) did not throw an exception
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 Received message '2147483648' with 0 ports. 44 Received message '2147483648' with 0 ports.
44 Received message '[object MessagePort]' with 2 ports. 45 Received message '[object MessagePort]' with 2 ports.
45 Received message '[object MessagePort]' with 2 ports. 46 Received message '[object MessagePort]' with 2 ports.
46 Received message '[object MessagePort],[object MessagePort]' with 2 ports. 47 Received message '[object MessagePort],[object MessagePort]' with 2 ports.
47 Received message '[object ArrayBuffer]' with 0 ports. 48 Received message '[object ArrayBuffer]' with 0 ports.
48 Received message 'done' with 0 ports. 49 Received message 'done' with 0 ports.
49 PASS successfullyParsed is true 50 PASS successfullyParsed is true
50 51
51 TEST COMPLETE 52 TEST COMPLETE
52 53
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/message-port.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698