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

Side by Side Diff: LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt

Issue 114363002: Structured cloning: improve DataCloneError reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + reset V8TestInterfaceConstructor.cpp result Created 7 years 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 Tests that we clone object hierarchies 1 Tests that we clone object hierarchies
2 2
3 PASS: 'postMessage((function(){}))' threw DataCloneError: An object could not be cloned. 3 PASS: 'postMessage((function(){}))' threw DataCloneError: Failed to execute 'pos tMessage' on 'Window': An object could not be cloned.
4 PASS: 'postMessage(var x = 0; try { eval("badref"); } catch(e) { x = e; } x)' th rew DataCloneError: An object could not be cloned. 4 PASS: 'postMessage(var x = 0; try { eval("badref"); } catch(e) { x = e; } x)' th rew DataCloneError: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
5 PASS: 'postMessage(window)' threw DataCloneError: An object could not be cloned. 5 PASS: 'postMessage(arrayBuffer)' threw DataCloneError: Failed to execute 'postMe ssage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
6 PASS: 'postMessage(uint8Array)' threw DataCloneError: Failed to execute 'postMes sage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
7 PASS: 'postMessage(window)' threw DataCloneError: Failed to execute 'postMessage ' on 'Window': An object could not be cloned.
6 PASS: 'postMessage(({get a() { throw "x" }}))' threw x 8 PASS: 'postMessage(({get a() { throw "x" }}))' threw x
7 PASS: 'postMessage((function() {return {get a() { throw "accessor-exn"; }};})()) ' threw accessor-exn 9 PASS: 'postMessage((function() {return {get a() { throw "accessor-exn"; }};})()) ' threw accessor-exn
8 PASS: 'postMessage((function() {var obja = {get p() { throw "accessor-exn"; }}; return {get a() { return obja; }};})())' threw accessor-exn 10 PASS: 'postMessage((function() {var obja = {get p() { throw "accessor-exn"; }}; return {get a() { return obja; }};})())' threw accessor-exn
9 PASS: lastIndex initially correct: was 3 11 PASS: lastIndex initially correct: was 3
10 PASS: sanity on file reference equality 12 PASS: sanity on file reference equality
11 PASS: eventData is null of type object 13 PASS: eventData is null of type object
12 PASS: eventData is undefined of type undefined 14 PASS: eventData is undefined of type undefined
13 PASS: eventData is 1 of type number 15 PASS: eventData is 1 of type number
14 PASS: eventData is true of type boolean 16 PASS: eventData is true of type boolean
15 PASS: eventData is 1 of type string 17 PASS: eventData is 1 of type string
16 PASS: eventData is [object Object] of type object 18 PASS: eventData is [object Object] of type object
17 PASS: eventData is [object Object] of type object 19 PASS: eventData is [object Object] of type object
18 PASS: eventData is [object Object] of type object 20 PASS: eventData is [object Object] of type object
19 PASS: eventData is [object Object] of type object 21 PASS: eventData is [object Object] of type object
20 PASS: eventData is [object Object] of type object 22 PASS: eventData is [object Object] of type object
21 PASS: eventData is [object Object] of type object 23 PASS: eventData is [object Object] of type object
22 PASS: eventData is [object Object] of type object 24 PASS: eventData is [object Object] of type object
23 PASS: eventData is [object Object] of type object 25 PASS: eventData is [object Object] of type object
24 PASS: eventData is [object Object] of type object 26 PASS: eventData is [object Object] of type object
25 PASS: eventData is of type object 27 PASS: eventData is of type object
26 PASS: eventData is a,a,b,a,b of type object 28 PASS: eventData is a,a,b,a,b of type object
27 PASS: eventData is a,a,b,[object Object] of type object 29 PASS: eventData is a,a,b,[object Object] of type object
28 PASS: eventData is 1,2,3 of type object 30 PASS: eventData is 1,2,3 of type object
29 PASS: eventData is ,,1 of type object 31 PASS: eventData is ,,1 of type object
32 PASS: eventData is data of type string
33 PASS: eventData is data of type string
30 PASS: eventData is 2009-02-13T23:31:30.000Z of type object 34 PASS: eventData is 2009-02-13T23:31:30.000Z of type object
31 PASS: eventData is [object Object] of type object 35 PASS: eventData is [object Object] of type object
32 PASS: eventData is true of type object 36 PASS: eventData is true of type object
33 PASS: eventData is false of type object 37 PASS: eventData is false of type object
34 PASS: eventData is gnirts of type object 38 PASS: eventData is gnirts of type object
35 PASS: eventData is 42 of type object 39 PASS: eventData is 42 of type object
36 PASS: eventData is === to eventData.self 40 PASS: eventData is === to eventData.self
37 PASS: eventData is === to eventData[0] 41 PASS: eventData is === to eventData[0]
38 PASS: eventData is === to eventData.self 42 PASS: eventData is === to eventData.self
39 PASS: eventData.graph1 is === to eventData.graph2 43 PASS: eventData.graph1 is === to eventData.graph2
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PASS: FileList respects self-reference equality 134 PASS: FileList respects self-reference equality
131 PASS: FileList length sent correctly 135 PASS: FileList length sent correctly
132 PASS: FileList should not respect reference equality (0) 136 PASS: FileList should not respect reference equality (0)
133 PASS: FileList should not respect reference equality (1) 137 PASS: FileList should not respect reference equality (1)
134 PASS: FileList preserves order and data (name0) 138 PASS: FileList preserves order and data (name0)
135 PASS: FileList preserves order and data (name1) 139 PASS: FileList preserves order and data (name1)
136 PASS: FileList preserves order and data (date0) 140 PASS: FileList preserves order and data (date0)
137 PASS: FileList preserves order and data (date1) 141 PASS: FileList preserves order and data (date1)
138 PASS: eventData is done of type string 142 PASS: eventData is done of type string
139 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698