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

Unified Diff: core/html/HTMLDocument.idl

Issue 155973006: Roll IDL to 1750 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 10 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
« no previous file with comments | « core/html/HTMLDivElement.idl ('k') | core/html/HTMLElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLDocument.idl
diff --git a/core/html/HTMLDocument.idl b/core/html/HTMLDocument.idl
index 764f1af8c62173e11eb88e114f80dde003647dac..84328c8565f1257694a9976120f0bbb097ae2607 100644
--- a/core/html/HTMLDocument.idl
+++ b/core/html/HTMLDocument.idl
@@ -21,11 +21,15 @@
interface HTMLDocument : Document {
[Custom, CustomElementCallbacks] void open();
void close();
- [Custom, PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, CustomElementCallbacks] void write([Default=Undefined] optional DOMString text);
- [Custom, PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, CustomElementCallbacks] void writeln([Default=Undefined] optional DOMString text);
+
+ // We support multiple DOMString arguments to match FF / IE, e.g.:
+ // document.write("a", "b", "c") --> document.write("abc")
+ // document.write() --> document.write("")
+ [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, CustomElementCallbacks] void write(DOMString... text);
+ [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, CustomElementCallbacks] void writeln(DOMString... text);
readonly attribute HTMLCollection embeds;
- readonly attribute HTMLCollection plugins;
+ [ImplementedAs=embeds] readonly attribute HTMLCollection plugins;
readonly attribute HTMLCollection scripts;
// Extensions
« no previous file with comments | « core/html/HTMLDivElement.idl ('k') | core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698