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

Side by Side Diff: LayoutTests/fast/dom/attribute-downcast-right.html

Issue 133683004: Make arguments to Element methods non-optional (except setAttribute) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <SCRIPT> 1 <SCRIPT>
2 if (window.testRunner) 2 if (window.testRunner)
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 4
5 var oElement = document.createElement("s") 5 var oElement = document.createElement("s")
6 var oElementNS = document.createElementNS("http://example.com/", "example"); 6 var oElementNS = document.createElementNS("http://example.com/", "example");
7 oElementNS.setAttributeNS(); 7 oElementNS.setAttributeNS("http://example.com/", "example", "");
8 var oAttributeNS = oElementNS.getAttributeNodeNS(); 8 var oAttributeNS = oElementNS.getAttributeNodeNS("http://example.com/", "example ");
9 var oAttributeNSClone = oAttributeNS.cloneNode(); 9 var oAttributeNSClone = oAttributeNS.cloneNode();
10 oElement.setAttributeNode(oAttributeNSClone); 10 oElement.setAttributeNode(oAttributeNSClone);
11 </SCRIPT> 11 </SCRIPT>
12 <BODY> 12 <BODY>
13 This tests that an Attribute object is not downcasted to a MappedAttribute. 13 This tests that an Attribute object is not downcasted to a MappedAttribute.
14 See http://bugs.webkit.org/show_bug.cgi?id=21032 . 14 See http://bugs.webkit.org/show_bug.cgi?id=21032 .
15 </BODY> 15 </BODY>
16 16
17 17
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698