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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html
index 1c3d1a11552bc9aaa1003de95028095158754003..fbe2220cd0820893aacc45fbe0fe6a46c238d6b9 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-clone-deep-array.html
@@ -4,7 +4,14 @@
<div id="description"></div>
<input type="file" id="fileInput" multiple></input>
<div id="console"></div>
-<script src="script-tests/postmessage-test.js"></script>
-<script src="script-tests/postmessage-clone-deep-array.js"></script>
+<script src="resources/postmessage-test.js"></script>
+<script>
+document.getElementById("description").innerHTML = "Tests that we support cloning deep(ish) arrays.";
+deepArray=[];
+for (var i = 0; i < 10000; i++)
+ deepArray=[deepArray];
+tryPostMessage('deepArray');
+tryPostMessage('"done"');
+</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698