Thunderbird/Add-ons Guide 57: Difference between revisions

Minor additions re. import and nsIURI attributes.
(→‎Removed and changed in mozilla60: Components.utils.importGlobalProperties(["XMLHttpRequest"]))
(Minor additions re. import and nsIURI attributes.)
Line 112: Line 112:
== Removed and changed in mozilla60 ==
== Removed and changed in mozilla60 ==
* Removed interfaces: nsIDOMXPathResult, nsIDOMNodeFilter, many methods of nsIDOMNode, nsIDOMElement::{Get|Set}Attribute(), nsIDOMHTMLElement, nsIDOMHTMLDocument, nsIDOMHTMLMediaElement, nsIDOMFormData. Some of the removed interfaces only affect C++ in Thunderbird internally but are listed here for completeness.
* Removed interfaces: nsIDOMXPathResult, nsIDOMNodeFilter, many methods of nsIDOMNode, nsIDOMElement::{Get|Set}Attribute(), nsIDOMHTMLElement, nsIDOMHTMLDocument, nsIDOMHTMLMediaElement, nsIDOMFormData. Some of the removed interfaces only affect C++ in Thunderbird internally but are listed here for completeness.
* All attributes of nsIURI.spec are read-only, use for example url.mutate().setQuery(aQuery).finalize();
* All attributes of nsIURI.spec are read-only, use for example url.mutate().setQuery(aQuery).finalize(); More examples in {{bug|1440693}}.
* Components.utils.import() has changed to ChromeUtils.import().
* Components.utils.import() has changed to ChromeUtils.import(). The old form still works.
* removed (no need to invoke it anymore) : Components.utils.importGlobalProperties(["XMLHttpRequest"]);
* removed (no need to invoke it anymore) : Components.utils.importGlobalProperties(["XMLHttpRequest"]);


316

edits