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

Side by Side Diff: LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.js

Issue 143173003: Remove unused feature ElementSetAttributeNodeNS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test case expectation Created 6 years, 10 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
OLDNEW
1 1
2 /* 2 /*
3 Copyright © 2001-2004 World Wide Web Consortium, 3 Copyright © 2001-2004 World Wide Web Consortium,
4 (Massachusetts Institute of Technology, European Research Consortium 4 (Massachusetts Institute of Technology, European Research Consortium
5 for Informatics and Mathematics, Keio University). All 5 for Informatics and Mathematics, Keio University). All
6 Rights Reserved. This work is distributed under the W3C® Software License [1] i n the 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i n the
7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 9
10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 var prefix; 91 var prefix;
92 var attNode; 92 var attNode;
93 93
94 var docRef = null; 94 var docRef = null;
95 if (typeof(this.doc) != 'undefined') { 95 if (typeof(this.doc) != 'undefined') {
96 docRef = this.doc; 96 docRef = this.doc;
97 } 97 }
98 doc = load(docRef, "doc", "barfoo"); 98 doc = load(docRef, "doc", "barfoo");
99 elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p"); 99 elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
100 attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:l ang"); 100 attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:l ang");
101 attNode = elem.setAttributeNodeNS(attr); 101 attNode = elem.setAttributeNode(attr);
102 prefix = attr.lookupPrefix("http://www.w3.org/XML/1998/namespace"); 102 prefix = attr.lookupPrefix("http://www.w3.org/XML/1998/namespace");
103 assertNull("nodelookupprefix16",prefix); 103 assertNull("nodelookupprefix16",prefix);
104 104
105 } 105 }
106 106
107 107
108 108
109 109
110 function runTest() { 110 function runTest() {
111 nodelookupprefix16(); 111 nodelookupprefix16();
112 } 112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698