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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js b/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js
index 8fb6096e6ba2e1e1479f4d2dbfa531972e9ca6e6..a2bbb65a363634893ba904bdf7bc1ebcac97a471 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/postmessage-clone-really-deep-array.js
@@ -2,5 +2,5 @@ document.getElementById("description").innerHTML = "Tests that we abort cloning
reallyDeepArray=[];
for (var i = 0; i < 100000; i++)
reallyDeepArray=[reallyDeepArray];
-tryPostMessage('reallyDeepArray', true, null, DOMException.DATA_CLONE_ERR);
+tryPostMessage('reallyDeepArray', true, null, RangeError);
esprehn 2016/11/21 22:58:50 So this does mean there's a web compat change here
tryPostMessage('"done"');

Powered by Google App Engine
This is Rietveld 408576698