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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 Tests that we clone object hierarchies 1 Tests that we clone object hierarchies
2 2
3 PASS: 'postMessage((function(){}))' threw Error: DataCloneError: DOM Exception 2 5 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 Error: DataCloneError: DOM Exception 25 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 Error: DataCloneError: DOM Exception 25 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
11 PASS: eventData is null of type object 11 PASS: eventData is null of type object
12 PASS: eventData is undefined of type undefined 12 PASS: eventData is undefined of type undefined
13 PASS: eventData is 1 of type number 13 PASS: eventData is 1 of type number
14 PASS: eventData is true of type boolean 14 PASS: eventData is true of type boolean
15 PASS: eventData is 1 of type string 15 PASS: eventData is 1 of type string
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 PASS: eventData is 2 of type number 125 PASS: eventData is 2 of type number
126 PASS: file references transfer 126 PASS: file references transfer
127 PASS: FileList should not respect reference equality 127 PASS: FileList should not respect reference equality
128 PASS: FileList should not respect reference equality 128 PASS: FileList should not respect reference equality
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 FAIL: 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