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

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

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 [
9 "adoptNode()",
10 "createComment()",
11 "createElement()",
12 "createElementNS('http://www.w3.org/2000/svg')",
13 "createElementNS()",
14 "createEvent()",
15 "createProcessingInstruction('xml')",
16 "createProcessingInstruction()",
17 "createTextNode()",
18 "getElementById()",
19 "getElementsByClassName()",
20 "getElementsByTagName()",
21 "getElementsByTagNameNS('http://www.w3.org/2000/svg')",
22 "getElementsByTagNameNS()",
23 "importNode()"
24 ].forEach(function(expr)
25 {
26 shouldThrow("document." + expr);
27 });
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698