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

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.idl

Issue 2831753002: Node.prototype.baseURI should not be nullable (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 20 matching lines...) Expand all
31 const unsigned short ENTITY_NODE = 6; // historical 31 const unsigned short ENTITY_NODE = 6; // historical
32 const unsigned short PROCESSING_INSTRUCTION_NODE = 7; 32 const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
33 const unsigned short COMMENT_NODE = 8; 33 const unsigned short COMMENT_NODE = 8;
34 const unsigned short DOCUMENT_NODE = 9; 34 const unsigned short DOCUMENT_NODE = 9;
35 const unsigned short DOCUMENT_TYPE_NODE = 10; 35 const unsigned short DOCUMENT_TYPE_NODE = 10;
36 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; 36 const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
37 const unsigned short NOTATION_NODE = 12; // historical 37 const unsigned short NOTATION_NODE = 12; // historical
38 [ImplementedAs=getNodeType] readonly attribute unsigned short nodeType; 38 [ImplementedAs=getNodeType] readonly attribute unsigned short nodeType;
39 readonly attribute DOMString nodeName; 39 readonly attribute DOMString nodeName;
40 40
41 readonly attribute DOMString? baseURI; 41 readonly attribute USVString baseURI;
42 42
43 [Measure] readonly attribute boolean isConnected; 43 [Measure] readonly attribute boolean isConnected;
44 [PerWorldBindings] readonly attribute Document? ownerDocument; 44 [PerWorldBindings] readonly attribute Document? ownerDocument;
45 [PerWorldBindings] readonly attribute Node? parentNode; 45 [PerWorldBindings] readonly attribute Node? parentNode;
46 [PerWorldBindings] readonly attribute Element? parentElement; 46 [PerWorldBindings] readonly attribute Element? parentElement;
47 [ImplementedAs=hasChildren] boolean hasChildNodes(); 47 [ImplementedAs=hasChildren] boolean hasChildNodes();
48 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes; 48 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes;
49 [PerWorldBindings] readonly attribute Node? firstChild; 49 [PerWorldBindings] readonly attribute Node? firstChild;
50 [PerWorldBindings] readonly attribute Node? lastChild; 50 [PerWorldBindings] readonly attribute Node? lastChild;
51 [PerWorldBindings] readonly attribute Node? previousSibling; 51 [PerWorldBindings] readonly attribute Node? previousSibling;
(...skipping 20 matching lines...) Expand all
72 72
73 DOMString? lookupPrefix(DOMString? namespaceURI); 73 DOMString? lookupPrefix(DOMString? namespaceURI);
74 DOMString? lookupNamespaceURI(DOMString? prefix); 74 DOMString? lookupNamespaceURI(DOMString? prefix);
75 boolean isDefaultNamespace(DOMString? namespaceURI); 75 boolean isDefaultNamespace(DOMString? namespaceURI);
76 76
77 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e insertBefore(Node node, Node? child); 77 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e insertBefore(Node node, Node? child);
78 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e appendChild(Node node); 78 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e appendChild(Node node);
79 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e replaceChild(Node node, Node child); 79 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e replaceChild(Node node, Node child);
80 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node child); 80 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node child);
81 }; 81 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698