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

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

Issue 104503006: Sync DOMImplementation IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 7 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
Index: Source/core/dom/DOMImplementation.idl
diff --git a/Source/core/dom/DOMImplementation.idl b/Source/core/dom/DOMImplementation.idl
index 9c42ec0482b50c9994eee5c8dd2ad53aa376dd3d..7630c5e5fbd267d3c1e1ab8ee8a1d28d5b8812ca 100644
--- a/Source/core/dom/DOMImplementation.idl
+++ b/Source/core/dom/DOMImplementation.idl
@@ -24,25 +24,24 @@
// DOM Level 1
- boolean hasFeature([Default=Undefined] optional DOMString feature,
- [TreatNullAs=NullString,Default=Undefined] optional DOMString version);
+ boolean hasFeature(DOMString feature, [TreatNullAs=NullString] DOMString version);
// DOM Level 2
- [RaisesException] DocumentType createDocumentType([TreatNullAs=NullString] DOMString qualifiedName,
- [TreatNullAs=NullString] DOMString publicId,
- [TreatNullAs=NullString] DOMString systemId);
- [RaisesException] Document createDocument([TreatNullAs=NullString] DOMString namespaceURI,
- [TreatNullAs=NullString] DOMString qualifiedName,
- [Default=Undefined] optional DocumentType doctype);
+ [RaisesException] DocumentType createDocumentType(DOMString qualifiedName,
+ DOMString publicId,
+ DOMString systemId);
+ [RaisesException] Document createDocument([TreatNullAs=NullString] DOMString namespaceURI,
+ [TreatNullAs=NullString] DOMString qualifiedName,
+ [Default=Undefined] optional DocumentType doctype);
// DOMImplementationCSS interface from DOM Level 2 CSS
- CSSStyleSheet createCSSStyleSheet([Default=Undefined] optional DOMString title,
- [Default=Undefined] optional DOMString media);
+ [MeasureAs=DOMImplementationCreateCSSStyleSheet]
+ CSSStyleSheet createCSSStyleSheet([Default=Undefined] optional DOMString title,
+ [Default=Undefined] optional DOMString media);
// HTMLDOMImplementation interface from DOM Level 2 HTML
HTMLDocument createHTMLDocument([Default=NullString] optional DOMString title);
};
-
« no previous file with comments | « LayoutTests/fast/dom/DOMImplementation/missing-arguments-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698