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

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

Issue 138273013: Check for duplicate ArrayBuffer transferables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test to current Created 6 years, 11 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 Tests that we clone object hierarchies 1 Tests that we clone object hierarchies
2 2
3 PASS: 'postMessage((function(){}))' threw DataCloneError: Failed to execute 'pos tMessage' on 'Window': 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: Failed to execute 'postMessage' 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: Failed to execute 'postMessage' on 'Window': 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. 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("data")' threw DataCloneError: Failed to execute 'postMessage ' on 'Window': ArrayBuffer at index 1 is a duplicate of an earlier ArrayBuffer.
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(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. 8 PASS: 'postMessage(window)' threw DataCloneError: Failed to execute 'postMessage ' on 'Window': An object could not be cloned.
8 PASS: 'postMessage(({get a() { throw "x" }}))' threw x 9 PASS: 'postMessage(({get a() { throw "x" }}))' threw x
9 PASS: 'postMessage((function() {return {get a() { throw "accessor-exn"; }};})()) ' threw accessor-exn 10 PASS: 'postMessage((function() {return {get a() { throw "accessor-exn"; }};})()) ' threw accessor-exn
10 PASS: 'postMessage((function() {var obja = {get p() { throw "accessor-exn"; }}; return {get a() { return obja; }};})())' threw accessor-exn 11 PASS: 'postMessage((function() {var obja = {get p() { throw "accessor-exn"; }}; return {get a() { return obja; }};})())' threw accessor-exn
11 PASS: lastIndex initially correct: was 3 12 PASS: lastIndex initially correct: was 3
12 PASS: sanity on file reference equality 13 PASS: sanity on file reference equality
13 PASS: eventData is null of type object 14 PASS: eventData is null of type object
14 PASS: eventData is undefined of type undefined 15 PASS: eventData is undefined of type undefined
15 PASS: eventData is 1 of type number 16 PASS: eventData is 1 of type number
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 PASS: FileList respects self-reference equality 135 PASS: FileList respects self-reference equality
135 PASS: FileList length sent correctly 136 PASS: FileList length sent correctly
136 PASS: FileList should not respect reference equality (0) 137 PASS: FileList should not respect reference equality (0)
137 PASS: FileList should not respect reference equality (1) 138 PASS: FileList should not respect reference equality (1)
138 PASS: FileList preserves order and data (name0) 139 PASS: FileList preserves order and data (name0)
139 PASS: FileList preserves order and data (name1) 140 PASS: FileList preserves order and data (name1)
140 PASS: FileList preserves order and data (date0) 141 PASS: FileList preserves order and data (date0)
141 PASS: FileList preserves order and data (date1) 142 PASS: FileList preserves order and data (date1)
142 PASS: eventData is done of type string 143 PASS: eventData is done of type string
143 144
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js ('k') | LayoutTests/fast/events/message-port-multi-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698