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

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

Issue 97883002: Remove structured cloning restriction over accessor properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test for cyclic-via-accessor-property object 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: 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: An object could not be cloned.
5 PASS: 'postMessage(window)' threw DataCloneError: An object could not be cloned. 5 PASS: 'postMessage(window)' threw DataCloneError: An object could not be cloned.
6 PASS: 'postMessage(({get a() { throw "x" }}))' threw x 6 PASS: 'postMessage(({get a() { throw "x" }}))' threw x
7 PASS: 'postMessage((function() {return {get a() { throw "accessor-exn"; }};})()) ' threw accessor-exn 7 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 8 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 9 PASS: lastIndex initially correct: was 3
10 PASS: sanity on file reference equality 10 PASS: sanity on file reference equality
(...skipping 17 matching lines...) Expand all
28 PASS: eventData is 1,2,3 of type object 28 PASS: eventData is 1,2,3 of type object
29 PASS: eventData is ,,1 of type object 29 PASS: eventData is ,,1 of type object
30 PASS: eventData is 2009-02-13T23:31:30.000Z of type object 30 PASS: eventData is 2009-02-13T23:31:30.000Z of type object
31 PASS: eventData is [object Object] of type object 31 PASS: eventData is [object Object] of type object
32 PASS: eventData is true of type object 32 PASS: eventData is true of type object
33 PASS: eventData is false of type object 33 PASS: eventData is false of type object
34 PASS: eventData is gnirts of type object 34 PASS: eventData is gnirts of type object
35 PASS: eventData is 42 of type object 35 PASS: eventData is 42 of type object
36 PASS: eventData is === to eventData.self 36 PASS: eventData is === to eventData.self
37 PASS: eventData is === to eventData[0] 37 PASS: eventData is === to eventData[0]
38 PASS: eventData is === to eventData.self
38 PASS: eventData.graph1 is === to eventData.graph2 39 PASS: eventData.graph1 is === to eventData.graph2
39 PASS: eventData[0] is === to eventData[1] 40 PASS: eventData[0] is === to eventData[1]
40 PASS: eventData is [object ImageData] of type object 41 PASS: eventData is [object ImageData] of type object
41 PASS: eventData is [object Uint8ClampedArray] of type object 42 PASS: eventData is [object Uint8ClampedArray] of type object
42 PASS: eventData is [object ImageData] of type object 43 PASS: eventData is [object ImageData] of type object
43 PASS: eventData is [object Uint8ClampedArray] of type object 44 PASS: eventData is [object Uint8ClampedArray] of type object
44 PASS: eventData is 42 of type number 45 PASS: eventData is 42 of type number
45 PASS: eventData is 42 of type number 46 PASS: eventData is 42 of type number
46 PASS: evalThunk OK 47 PASS: evalThunk OK
47 PASS: eventData is [object Object] of type object 48 PASS: eventData is [object Object] of type object
(...skipping 12 matching lines...) Expand all
60 PASS: basic properties OK 61 PASS: basic properties OK
61 PASS: one accessor was run 62 PASS: one accessor was run
62 PASS: property was removed 63 PASS: property was removed
63 PASS: property was removed 64 PASS: property was removed
64 PASS: accessor was run 65 PASS: accessor was run
65 PASS: dynamic property not sent 66 PASS: dynamic property not sent
66 PASS: reference equality preserved 67 PASS: reference equality preserved
67 PASS: accessors used 68 PASS: accessors used
68 PASS: reference equality preserved (opposite order) 69 PASS: reference equality preserved (opposite order)
69 PASS: accessors used (opposite order) 70 PASS: accessors used (opposite order)
70 PASS: accessor value was nullified 71 PASS: accessor value was not nullified
71 PASS: non-accessor value was not nullified 72 PASS: non-accessor value was not nullified
72 PASS: accessor value was nullified 73 PASS: accessor value was not nullified
73 PASS: non-accessor value was not nullified 74 PASS: non-accessor value was not nullified
74 PASS: non-accessor value was not nullified 75 PASS: non-accessor value was not nullified
75 PASS: accessor value was nullified 76 PASS: accessor value was not nullified
76 PASS: non-accessor value was not nullified 77 PASS: non-accessor value was not nullified
77 PASS: accessor value was not nullified 78 PASS: accessor value was not nullified
78 PASS: accessor value was not nullified 79 PASS: accessor value was not nullified
79 PASS: accessor value was nullified 80 PASS: accessor value was not nullified
80 PASS: non-accessor value was not nullified 81 PASS: non-accessor value was not nullified
81 PASS: non-accessor value was not nullified 82 PASS: non-accessor value was not nullified
82 PASS: non-accessor value is defined 83 PASS: non-accessor value is defined
83 PASS: non-accessor value was not nullified 84 PASS: non-accessor value was not nullified
84 PASS: non-accessor value is defined 85 PASS: non-accessor value is defined
85 PASS: accessor value was nullified 86 PASS: accessor value was not nullified
86 PASS: non-accessor value was not nullified 87 PASS: non-accessor value was not nullified
87 PASS: accessor value was nullified 88 PASS: accessor value was not nullified
88 PASS: window.pcalled === true 89 PASS: window.pcalled === true
89 PASS: window.acalled === true 90 PASS: window.acalled === true
90 PASS: window.bcalled === undefined 91 PASS: window.bcalled === true
91 PASS: Boolean values correct (0) 92 PASS: Boolean values correct (0)
92 PASS: Boolean values correct (3) 93 PASS: Boolean values correct (3)
93 PASS: Boolean values correct (1,2) 94 PASS: Boolean values correct (1,2)
94 PASS: Boolean values correct (4,5) 95 PASS: Boolean values correct (4,5)
95 PASS: References to Booleans correct (0,1) 96 PASS: References to Booleans correct (0,1)
96 PASS: References to Booleans correct (3,4) 97 PASS: References to Booleans correct (3,4)
97 PASS: References to Booleans correct (0,2) 98 PASS: References to Booleans correct (0,2)
98 PASS: References to Booleans correct (3,5) 99 PASS: References to Booleans correct (3,5)
99 PASS: Number values correct (0) 100 PASS: Number values correct (0)
100 PASS: Number values correct (0,2) 101 PASS: Number values correct (0,2)
(...skipping 28 matching lines...) Expand all
129 PASS: FileList respects self-reference equality 130 PASS: FileList respects self-reference equality
130 PASS: FileList length sent correctly 131 PASS: FileList length sent correctly
131 PASS: FileList should not respect reference equality (0) 132 PASS: FileList should not respect reference equality (0)
132 PASS: FileList should not respect reference equality (1) 133 PASS: FileList should not respect reference equality (1)
133 PASS: FileList preserves order and data (name0) 134 PASS: FileList preserves order and data (name0)
134 PASS: FileList preserves order and data (name1) 135 PASS: FileList preserves order and data (name1)
135 PASS: FileList preserves order and data (date0) 136 PASS: FileList preserves order and data (date0)
136 PASS: FileList preserves order and data (date1) 137 PASS: FileList preserves order and data (date1)
137 PASS: eventData is done of type string 138 PASS: eventData is done of type string
138 139
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js ('k') | Source/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698