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

Unified Diff: Source/core/dom/DOMImplementation.idl

Issue 762383004: Sync DOMImplementation.createDocument() IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/MutationObserver/observe-attributes.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMImplementation.idl
diff --git a/Source/core/dom/DOMImplementation.idl b/Source/core/dom/DOMImplementation.idl
index d210529988b3d61554dfd7ed7a953699b0ea9b3c..327543a03d4e729cc9ff63ff164f170db8fcb66a 100644
--- a/Source/core/dom/DOMImplementation.idl
+++ b/Source/core/dom/DOMImplementation.idl
@@ -20,6 +20,7 @@
[
SetWrapperReferenceFrom=document,
+ TypeChecking=Interface,
WillBeGarbageCollected,
] interface DOMImplementation {
@@ -34,8 +35,8 @@
DOMString publicId,
DOMString systemId);
[RaisesException] XMLDocument createDocument(DOMString? namespaceURI,
- DOMString? qualifiedName,
- [Default=Undefined] optional DocumentType doctype);
+ [TreatNullAs=EmptyString] DOMString qualifiedName,
+ optional DocumentType? doctype = null);
// HTMLDOMImplementation interface from DOM Level 2 HTML
« no previous file with comments | « LayoutTests/fast/dom/MutationObserver/observe-attributes.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698