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

Side by Side Diff: LayoutTests/fast/dom/Document/missing-arguments.html

Issue 756053004: Make Document.getElementsByName() argument non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/missing-arguments-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 [ 8 [
9 "adoptNode()", 9 "adoptNode()",
10 "createAttribute()", 10 "createAttribute()",
11 "createAttributeNS('http://www.w3.org/2000/svg')", 11 "createAttributeNS('http://www.w3.org/2000/svg')",
12 "createAttributeNS()", 12 "createAttributeNS()",
13 "createCDATASection()", 13 "createCDATASection()",
14 "createComment()", 14 "createComment()",
15 "createElement()", 15 "createElement()",
16 "createElementNS('http://www.w3.org/2000/svg')", 16 "createElementNS('http://www.w3.org/2000/svg')",
17 "createElementNS()", 17 "createElementNS()",
18 "createEvent()", 18 "createEvent()",
19 "createProcessingInstruction('xml')", 19 "createProcessingInstruction('xml')",
20 "createProcessingInstruction()", 20 "createProcessingInstruction()",
21 "createTextNode()", 21 "createTextNode()",
22 "getElementById()", 22 "getElementById()",
23 "getElementsByClassName()", 23 "getElementsByClassName()",
24 "getElementsByName()",
24 "getElementsByTagName()", 25 "getElementsByTagName()",
25 "getElementsByTagNameNS('http://www.w3.org/2000/svg')", 26 "getElementsByTagNameNS('http://www.w3.org/2000/svg')",
26 "getElementsByTagNameNS()", 27 "getElementsByTagNameNS()",
27 "importNode()" 28 "importNode()"
28 ].forEach(function(expr) 29 ].forEach(function(expr)
29 { 30 {
30 shouldThrow("document." + expr); 31 shouldThrow("document." + expr);
31 }); 32 });
32 </script> 33 </script>
33 </body> 34 </body>
34 </html> 35 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698