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

Unified Diff: LayoutTests/fast/html/insert-selected-option-crash.html

Issue 791533004: Don't updateRenderTree in the middle of a DOM insertion. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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 | LayoutTests/fast/html/insert-selected-option-crash-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/html/insert-selected-option-crash.html
diff --git a/LayoutTests/fast/html/insert-selected-option-crash.html b/LayoutTests/fast/html/insert-selected-option-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..f394d2876662136172e72e3cffa0cc864265e455
--- /dev/null
+++ b/LayoutTests/fast/html/insert-selected-option-crash.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<p>You should see the word PASS below, and no crash.</p>
+<p id="p">FAIL</p>
+<script>
+ p.offsetTop;
+ p.innerHTML = "&nbsp;<form><select multiple><option selected></option></select><input max=1 min=1 type=number></form>";
+ p.innerHTML = "PASS";
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/html/insert-selected-option-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698