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

Unified Diff: LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash-expected.txt

Issue 225023034: Make sure named item cache is always valid HTMLCollection::updateIdNameCache() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move constructor to cpp Created 6 years, 8 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: LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash-expected.txt
diff --git a/LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash-expected.txt b/LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c45d7b19ddc000ae339547b7639d343afcc905dc
--- /dev/null
+++ b/LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash-expected.txt
@@ -0,0 +1,11 @@
+Makes sure HTMLCollection.namedItem() does not crash for collection of selected options.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+This test passes if it does not crash.
+PASS options.namedItem("test") is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/htmlcollection-selectedOptions-namedItem-crash.html ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698