Bug 1261002 - Part 1: Implement node.isConnected. r=smaug
authorHoPang Hsu <hopang.hsu@gmail.com>
Fri, 20 May 2016 16:31:29 +0800
changeset 337906 a5aea694837ade56d7686f74dbd0ad60b13b1cce
parent 337905 445f4347135cd17ff0ce60ffc157a9be3ed5e3a3
child 337907 1cc416ae06a0779e7f5069644e4d4c06a5cf0855
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1261002
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1261002 - Part 1: Implement node.isConnected. r=smaug
dom/webidl/Node.webidl
--- a/dom/webidl/Node.webidl
+++ b/dom/webidl/Node.webidl
@@ -29,16 +29,18 @@ interface Node : EventTarget {
   [Constant]
   readonly attribute unsigned short nodeType;
   [Pure]
   readonly attribute DOMString nodeName;
 
   [Pure]
   readonly attribute DOMString? baseURI;
 
+  [Pure, BinaryName=getComposedDoc]
+  readonly attribute boolean isConnected;
   [Pure]
   readonly attribute Document? ownerDocument;
   [Pure, Pref="dom.node.rootNode.enabled"]
   readonly attribute Node rootNode;
   [Pure]
   readonly attribute Node? parentNode;
   [Pure]
   readonly attribute Element? parentElement;