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

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

Issue 103613005: Make arguments to Node methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/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
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var documentFragment = document.createDocumentFragment();
9 var documentType = document.doctype;
10 var element = document.documentElement;
11 var characterData = document.createTextNode("");
12 [
13 "compareDocumentPosition()",
14 "contains()",
15 "isDefaultNamespace()",
16 "isEqualNode()",
17 "lookupNamespaceURI()",
18 "lookupPrefix()"
19 ].forEach(function(expr)
20 {
21 shouldThrow("document." + expr);
22 shouldThrow("documentFragment." + expr);
23 shouldThrow("documentType." + expr);
24 shouldThrow("element." + expr);
25 shouldThrow("characterData." + expr);
26 });
27 </script>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698