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

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: 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 PASS: basic properties OK 60 PASS: basic properties OK
61 PASS: one accessor was run 61 PASS: one accessor was run
62 PASS: property was removed 62 PASS: property was removed
63 PASS: property was removed 63 PASS: property was removed
64 PASS: accessor was run 64 PASS: accessor was run
65 PASS: dynamic property not sent 65 PASS: dynamic property not sent
66 PASS: reference equality preserved 66 PASS: reference equality preserved
67 PASS: accessors used 67 PASS: accessors used
68 PASS: reference equality preserved (opposite order) 68 PASS: reference equality preserved (opposite order)
69 PASS: accessors used (opposite order) 69 PASS: accessors used (opposite order)
70 PASS: accessor value was nullified 70 PASS: accessor value was not nullified
71 PASS: non-accessor value was not nullified 71 PASS: non-accessor value was not nullified
72 PASS: accessor value was nullified 72 PASS: accessor value was not nullified
73 PASS: non-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: accessor value was nullified 75 PASS: accessor value was not nullified
76 PASS: non-accessor value was not nullified 76 PASS: non-accessor value was not nullified
77 PASS: 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 nullified 79 PASS: accessor value was not nullified
80 PASS: non-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 is defined 82 PASS: non-accessor value is defined
83 PASS: non-accessor value was not nullified 83 PASS: non-accessor value was not nullified
84 PASS: non-accessor value is defined 84 PASS: non-accessor value is defined
85 PASS: accessor value was nullified 85 PASS: accessor value was not nullified
86 PASS: non-accessor value was not nullified 86 PASS: non-accessor value was not nullified
87 PASS: accessor value was nullified 87 PASS: accessor value was not nullified
88 PASS: window.pcalled === true 88 PASS: window.pcalled === true
89 PASS: window.acalled === true 89 PASS: window.acalled === true
90 PASS: window.bcalled === undefined 90 PASS: window.bcalled === true
91 PASS: Boolean values correct (0) 91 PASS: Boolean values correct (0)
92 PASS: Boolean values correct (3) 92 PASS: Boolean values correct (3)
93 PASS: Boolean values correct (1,2) 93 PASS: Boolean values correct (1,2)
94 PASS: Boolean values correct (4,5) 94 PASS: Boolean values correct (4,5)
95 PASS: References to Booleans correct (0,1) 95 PASS: References to Booleans correct (0,1)
96 PASS: References to Booleans correct (3,4) 96 PASS: References to Booleans correct (3,4)
97 PASS: References to Booleans correct (0,2) 97 PASS: References to Booleans correct (0,2)
98 PASS: References to Booleans correct (3,5) 98 PASS: References to Booleans correct (3,5)
99 PASS: Number values correct (0) 99 PASS: Number values correct (0)
100 PASS: Number values correct (0,2) 100 PASS: Number values correct (0,2)
(...skipping 28 matching lines...) Expand all
129 PASS: FileList respects self-reference equality 129 PASS: FileList respects self-reference equality
130 PASS: FileList length sent correctly 130 PASS: FileList length sent correctly
131 PASS: FileList should not respect reference equality (0) 131 PASS: FileList should not respect reference equality (0)
132 PASS: FileList should not respect reference equality (1) 132 PASS: FileList should not respect reference equality (1)
133 PASS: FileList preserves order and data (name0) 133 PASS: FileList preserves order and data (name0)
134 PASS: FileList preserves order and data (name1) 134 PASS: FileList preserves order and data (name1)
135 PASS: FileList preserves order and data (date0) 135 PASS: FileList preserves order and data (date0)
136 PASS: FileList preserves order and data (date1) 136 PASS: FileList preserves order and data (date1)
137 PASS: eventData is done of type string 137 PASS: eventData is done of type string
138 138
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698