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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html

Issue 2273143002: Update web-platform-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update baseline Created 4 years, 3 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 <!doctype html> 1 <!doctype html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>DOM IDL tests</title> 3 <title>DOM IDL tests</title>
4 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharness.js></script>
5 <script src=/resources/testharnessreport.js></script> 5 <script src=/resources/testharnessreport.js></script>
6 <script src=/resources/WebIDLParser.js></script> 6 <script src=/resources/WebIDLParser.js></script>
7 <script src=/resources/idlharness.js></script> 7 <script src=/resources/idlharness.js></script>
8 8
9 <h1>DOM IDL tests</h1> 9 <h1>DOM IDL tests</h1>
10 <div id=log></div> 10 <div id=log></div>
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 getter Attr? getNamedItem(DOMString qualifiedName); 388 getter Attr? getNamedItem(DOMString qualifiedName);
389 Attr? getNamedItemNS(DOMString? namespace, DOMString localName); 389 Attr? getNamedItemNS(DOMString? namespace, DOMString localName);
390 Attr? setNamedItem(Attr attr); 390 Attr? setNamedItem(Attr attr);
391 Attr? setNamedItemNS(Attr attr); 391 Attr? setNamedItemNS(Attr attr);
392 Attr removeNamedItem(DOMString qualifiedName); 392 Attr removeNamedItem(DOMString qualifiedName);
393 Attr removeNamedItemNS(DOMString? namespace, DOMString localName); 393 Attr removeNamedItemNS(DOMString? namespace, DOMString localName);
394 }; 394 };
395 395
396 396
397 [Exposed=Window] 397 [Exposed=Window]
398 interface Attr { 398 interface Attr : Node {
399 readonly attribute DOMString? namespaceURI; 399 readonly attribute DOMString? namespaceURI;
400 readonly attribute DOMString? prefix; 400 readonly attribute DOMString? prefix;
401 readonly attribute DOMString localName; 401 readonly attribute DOMString localName;
402 readonly attribute DOMString name; 402 readonly attribute DOMString name;
403 readonly attribute DOMString nodeName; // historical alias of .name
404 attribute DOMString value; 403 attribute DOMString value;
405 [TreatNullAs=EmptyString] attribute DOMString nodeValue; // historical alias o f .value
406 [TreatNullAs=EmptyString] attribute DOMString textContent; // historical alias of .value
407 404
408 readonly attribute Element? ownerElement; 405 readonly attribute Element? ownerElement;
409 406
410 readonly attribute boolean specified; // useless; always returns true 407 readonly attribute boolean specified; // useless; always returns true
411 }; 408 };
412 409
413 [Exposed=Window] 410 [Exposed=Window]
414 interface CharacterData : Node { 411 interface CharacterData : Node {
415 [TreatNullAs=EmptyString] attribute DOMString data; 412 [TreatNullAs=EmptyString] attribute DOMString data;
416 readonly attribute unsigned long length; 413 readonly attribute unsigned long length;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 Range: ['document.createRange()', 'detachedRange'], 581 Range: ['document.createRange()', 'detachedRange'],
585 NodeIterator: ['document.createNodeIterator(document.body, NodeFilter.SHOW_A LL, null, false)'], 582 NodeIterator: ['document.createNodeIterator(document.body, NodeFilter.SHOW_A LL, null, false)'],
586 TreeWalker: ['document.createTreeWalker(document.body, NodeFilter.SHOW_ALL, null, false)'], 583 TreeWalker: ['document.createTreeWalker(document.body, NodeFilter.SHOW_ALL, null, false)'],
587 NodeList: ['document.querySelectorAll("script")'], 584 NodeList: ['document.querySelectorAll("script")'],
588 HTMLCollection: ['document.body.children'], 585 HTMLCollection: ['document.body.children'],
589 DOMTokenList: ['document.body.classList'], 586 DOMTokenList: ['document.body.classList'],
590 }); 587 });
591 }); 588 });
592 idlArray.test(); 589 idlArray.test();
593 </script> 590 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698