Index: core/html/HTMLDocument.idl |
diff --git a/core/html/HTMLDocument.idl b/core/html/HTMLDocument.idl |
index 860900fa9efe8dd7053f4bd68d5808b7e713f57b..e44baeeb678a45728286ba8d594fb6df21532a63 100644 |
--- a/core/html/HTMLDocument.idl |
+++ b/core/html/HTMLDocument.idl |
@@ -21,10 +21,10 @@ |
[ |
CustomToV8 |
] interface HTMLDocument : Document { |
- [Custom] void open(); |
+ [Custom, CustomElementCallbacks=Enable] void open(); |
void close(); |
- [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] void write([Default=Undefined] optional DOMString text); |
- [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] void writeln([Default=Undefined] optional DOMString text); |
+ [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElementCallbacks=Enable] void write([Default=Undefined] optional DOMString text); |
+ [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, CustomElementCallbacks=Enable] void writeln([Default=Undefined] optional DOMString text); |
readonly attribute HTMLCollection embeds; |
readonly attribute HTMLCollection plugins; |
@@ -36,18 +36,21 @@ |
[DeprecateAs=DocumentClear] void clear(); |
- [TreatNullAs=NullString] attribute DOMString dir; |
- [TreatNullAs=NullString] attribute DOMString designMode; |
+ [DeprecateAs=CaptureEvents] void captureEvents(); |
+ [DeprecateAs=ReleaseEvents] void releaseEvents(); |
+ |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString dir; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString designMode; |
readonly attribute DOMString compatMode; |
readonly attribute Element activeElement; |
boolean hasFocus(); |
// Deprecated attributes |
- [TreatNullAs=NullString] attribute DOMString bgColor; |
- [TreatNullAs=NullString] attribute DOMString fgColor; |
- [TreatNullAs=NullString] attribute DOMString alinkColor; |
- [TreatNullAs=NullString] attribute DOMString linkColor; |
- [TreatNullAs=NullString] attribute DOMString vlinkColor; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString bgColor; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString fgColor; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString alinkColor; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString linkColor; |
+ [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString vlinkColor; |
}; |