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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html

Issue 1532103002: Better handling of DocumentOrderedMap same-ID lookups during tree removals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review updates, part2 Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
similarity index 51%
copy from third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html
copy to third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
index 2ad66137ead332ad1ae61e720492e3efd987b003..077f6657410e86b7e0c8b91d19bc1e5473a0821a 100644
--- a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
@@ -1,21 +1,20 @@
<!DOCTYPE html>
<html>
-<head>
+<body>
+<p id="foo">
+<output form="foo" id="foo"></output>
+</p>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
-
-function done()
-{
+window.onload = function () {
+ document.body.removeChild(document.querySelector("p"));
+ document.body.innerHTML = 'PASS; no crash.';
if (window.testRunner)
testRunner.notifyDone();
-}
+};
</script>
-</head>
-<body>
-<iframe sandbox="allow-scripts" src="data:text/html,<script>document.domain='127.0.0.1'</script>" onload="done()">
-</iframe>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698