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

Side by Side Diff: Source/core/dom/Document.idl

Issue 1164123003: Make createAttributeNS's qualifiedName argument non-nullable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 5 years, 6 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
« no previous file with comments | « LayoutTests/fast/dom/Document/script-tests/createAttributeNS-namespace-err.js ('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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 [NewObject, CustomElementCallbacks, RaisesException] Element createElementNS (DOMString? namespaceURI, DOMString qualifiedName); 54 [NewObject, CustomElementCallbacks, RaisesException] Element createElementNS (DOMString? namespaceURI, DOMString qualifiedName);
55 [NewObject] DocumentFragment createDocumentFragment(); 55 [NewObject] DocumentFragment createDocumentFragment();
56 [NewObject] Text createTextNode(DOMString data); 56 [NewObject] Text createTextNode(DOMString data);
57 [NewObject] Comment createComment(DOMString data); 57 [NewObject] Comment createComment(DOMString data);
58 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data); 58 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data);
59 59
60 [NewObject, CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node importNode(Node node, optional boolean deep = false); 60 [NewObject, CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node importNode(Node node, optional boolean deep = false);
61 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node); 61 [RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adopt Node(Node node);
62 62
63 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName); 63 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName);
64 // FIXME: qualifiedName should not be nullable. 64 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
65 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString? qualifiedName);
66 65
67 [NewObject, RaisesException] Event createEvent(DOMString eventType); 66 [NewObject, RaisesException] Event createEvent(DOMString eventType);
68 67
69 [NewObject] Range createRange(); 68 [NewObject] Range createRange();
70 69
71 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 70 // NodeFilter.SHOW_ALL = 0xFFFFFFFF
72 [NewObject, RaisesException, TypeChecking=Interface] NodeIterator createNode Iterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional Nod eFilter? filter = null); 71 [NewObject, RaisesException, TypeChecking=Interface] NodeIterator createNode Iterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional Nod eFilter? filter = null);
73 [NewObject, RaisesException, TypeChecking=Interface] TreeWalker createTreeWa lker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFil ter? filter = null); 72 [NewObject, RaisesException, TypeChecking=Interface] TreeWalker createTreeWa lker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFil ter? filter = null);
74 73
75 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 74 // FIXME: CDATASection has been removed from the spec. crbug.com/437205
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 attribute EventHandler onsearch; 217 attribute EventHandler onsearch;
219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
220 attribute EventHandler onselectionchange; 219 attribute EventHandler onselectionchange;
221 attribute EventHandler onselectstart; 220 attribute EventHandler onselectstart;
222 attribute EventHandler onwheel; 221 attribute EventHandler onwheel;
223 }; 222 };
224 223
225 Document implements GlobalEventHandlers; 224 Document implements GlobalEventHandlers;
226 Document implements ParentNode; 225 Document implements ParentNode;
227 Document implements NonElementParentNode; 226 Document implements NonElementParentNode;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/script-tests/createAttributeNS-namespace-err.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698