Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / htmlcollection-selectedOptions-namedItem-crash.html
blobc8ffd36e9f343c7d1fdf43dafddbfa3644797acf
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Makes sure HTMLCollection.namedItem() does not crash for collection of selected options.");
9 debug("This test passes if it does not crash.");
11 var select = document.createElement("select");
12 var options = select.selectedOptions;
13 select.length = 10;
14 shouldBeNull('options.namedItem("test")');
15 </script>
16 </body>
17 </html>