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

Unified Diff: Source/core/xml/XMLSerializer.idl

Issue 534583002: Implemented XMLSerializer in PrivateScript. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed backdoors added to Document. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/xml/XMLSerializer.idl
diff --git a/Source/core/xml/XMLSerializer.idl b/Source/core/xml/XMLSerializer.idl
index 1a7b6279dba8f46db31cd54994b0786295794a33..791afe5d9e73d0ab1d3fcf6ee596ecdc867d636f 100644
--- a/Source/core/xml/XMLSerializer.idl
+++ b/Source/core/xml/XMLSerializer.idl
@@ -20,8 +20,11 @@
[
WillBeGarbageCollected,
- Constructor
+ Constructor,
+ ConstructorCallWith=Document
] interface XMLSerializer {
[RaisesException] DOMString serializeToString([Default=Undefined] optional Node node);
Jens Widell 2014/09/03 10:29:33 Unrelated to this CL: We could add [TypeChecking=I
tasak 2014/09/03 11:40:46 Done.
+
+ [OnlyExposedToPrivateScript, ImplementedInPrivateScript] DOMString serializeToStringInternal(Node node, [Default=Undefined] optional DOMString xmlDeclaration);
Jens Widell 2014/09/03 10:29:33 Make this "xmlDeclaration = ''" instead of [Defaul
tasak 2014/09/03 11:40:46 Done.
};

Powered by Google App Engine
This is Rietveld 408576698