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

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

Issue 1990683002: [DevTools] Capture call stacks for deprecation console messages. (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
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 CONSOLE WARNING: line 31: 'window.postMessage(message, transferables, targetOrig in)' is deprecated and will be removed in M54, around October 2016. Please use ' window.postMessage(message, targetOrigin, transferables)' instead. See https://w ww.chromestatus.com/features/5719033043222528 for more details.
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 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.
3 3
4 4
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 ('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.
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 ('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.
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 ('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.
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 ('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.
9 PASS Posting message ('4', [object Window]) did not throw an exception 9 PASS Posting message ('4', [object Window]) did not throw an exception
10 PASS Posting message ('4a', *) did not throw an exception 10 PASS Posting message ('4a', *) did not throw an exception
11 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
44 Received message '2147483648' with 0 ports. 44 Received message '2147483648' with 0 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]' with 2 ports.
47 Received message '[object MessagePort],[object MessagePort]' with 2 ports. 47 Received message '[object MessagePort],[object MessagePort]' with 2 ports.
48 Received message '[object ArrayBuffer]' with 0 ports. 48 Received message '[object ArrayBuffer]' with 0 ports.
49 Received message 'done' with 0 ports. 49 Received message 'done' with 0 ports.
50 PASS successfullyParsed is true 50 PASS successfullyParsed is true
51 51
52 TEST COMPLETE 52 TEST COMPLETE
53 53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698