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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js

Issue 2517813002: Enable V8BasedStructuredClone by default. (Closed)
Patch Set: . Created 4 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 document.getElementById("description").innerHTML = "Tests that we abort cloning overdeep arrays."; 1 document.getElementById("description").innerHTML = "Tests that we abort cloning overdeep arrays.";
2 reallyDeepArray=[]; 2 reallyDeepArray=[];
3 for (var i = 0; i < 100000; i++) 3 for (var i = 0; i < 100000; i++)
4 reallyDeepArray=[reallyDeepArray]; 4 reallyDeepArray=[reallyDeepArray];
5 tryPostMessage('reallyDeepArray', true, null, DOMException.DATA_CLONE_ERR); 5 tryPostMessage('reallyDeepArray', true, null, RangeError);
esprehn 2016/11/21 22:58:50 So this does mean there's a web compat change here
6 tryPostMessage('"done"'); 6 tryPostMessage('"done"');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698