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

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

Issue 758173002: Make arguments to NamedNodeMap methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests 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/NamedNodeMap-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 "getNamedItem()",
10 "getNamedItemNS()",
11 "getNamedItemNS('http://www.w3.org/2000/svg')",
12 "item()",
13 "removeNamedItem()",
14 "removeNamedItemNS()",
15 "removeNamedItemNS('http://www.w3.org/2000/svg')",
9 "setNamedItem()", 16 "setNamedItem()",
10 "setNamedItemNS()", 17 "setNamedItemNS()",
11 ].forEach(function(expr) 18 ].forEach(function(expr)
12 { 19 {
13 window.attributes = document.body.attributes; 20 window.attributes = document.body.attributes;
14 shouldThrow("attributes." + expr); 21 shouldThrow("attributes." + expr);
15 }); 22 });
16 </script> 23 </script>
17 </body> 24 </body>
18 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/NamedNodeMap-missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698