Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLDocument.idl
index 9066ca2..08c07bb 100644 (file)
 
 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, PerWorldBindings, LogActivity, CustomElementCallbacks, RaisesException] void write(DOMString... text);
+    [CallWith=ActiveWindow, PerWorldBindings, LogActivity, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
 
     // Extensions
 
@@ -41,8 +37,6 @@ interface HTMLDocument : Document {
     [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