Index: core/html/HTMLDocument.idl |
diff --git a/core/html/HTMLDocument.idl b/core/html/HTMLDocument.idl |
index 2b2eb03e5d55716a3c7ab97f989c524b7514b8f0..04ba97f3187cee75943a5b7efb1527e29f900b10 100644 |
--- a/core/html/HTMLDocument.idl |
+++ b/core/html/HTMLDocument.idl |
@@ -18,31 +18,28 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-interface HTMLDocument : Document { |
+[ |
+ // FIXME: Oilpan: remove this once Node specifies WillBeGarbageCollected. |
+ WillBeGarbageCollected |
+] interface HTMLDocument : Document { |
[Custom, CustomElementCallbacks] void open(); |
- void close(); |
+ [RaisesException] void close(); |
// 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; |
- [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; |
- readonly attribute HTMLCollection scripts; |
+ [CallWith=ActiveWindow,LogActivity, CustomElementCallbacks, RaisesException] void write(DOMString... text); |
+ [CallWith=ActiveWindow, LogActivity, CustomElementCallbacks, RaisesException] void writeln(DOMString... text); |
// Extensions |
[Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollection all; |
- [DeprecateAs=DocumentClear] void clear(); |
+ [MeasureAs=DocumentClear] void clear(); |
- [DeprecateAs=CaptureEvents] void captureEvents(); |
- [DeprecateAs=ReleaseEvents] void releaseEvents(); |
+ [MeasureAs=DocumentCaptureEvents] void captureEvents(); |
+ [MeasureAs=DocumentReleaseEvents] void releaseEvents(); |
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir; |
- [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designMode; |
readonly attribute DOMString compatMode; |
// Deprecated attributes |