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

Side by Side Diff: LayoutTests/fast/dom/HTMLSelectElement/exceptions.html

Issue 1230763008: The name argument for HTMLSelectElement namedItem() api should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLSelectElement/exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This test should trigger the single exception on HTMLSelect Element, and verify that the message is reasonably helpful."); 8 description("This test should trigger the single exception on HTMLSelect Element, and verify that the message is reasonably helpful.");
9 9
10 var el = document.createElement('select'); 10 var el = document.createElement('select');
11 11
12 shouldThrow("el[1] = 0;"); 12 shouldThrow("el[1] = 0;");
13 shouldThrow("el.namedItem()");
13 </script> 14 </script>
14 </body> 15 </body>
15 </html> 16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLSelectElement/exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698