DomUtilsAPI

  • Revision slug: Mozmill_Tests/Shared_Modules/DomUtilsAPI
  • Revision title: DomUtilsAPI
  • Revision id: 94160
  • Created:
  • Creator: Adrianer
  • Is current revision? Yes
  • Comment 1 words added, 1 words removed

Revision Content

The DomUtilsAPI adds support for DOM related functions.

Class overview

Class Name Description
DOMWalker The class provides the ability to walk through the DOM nodes of a given window as well as to open sub windows and walk through them as well.
nodeCollector  

Method overview

unwrapNode(in node aNode);

Methods

unwrapNode()

Unwraps a node which is wrapped into a XPCNativeWrapper or XrayWrapper.

unwrapNode(
  in node aNode
);
Parameters
aNode
Wrapped DOM node.

Revision Source

<p>The DomUtilsAPI adds support for DOM related functions.</p>
<h2 id="Class_overview">Class overview</h2>
<table class="standard-table" style=""> <thead> <tr> <th scope="col">Class Name</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td><a href="/en/Mozmill_Tests/Shared_Modules/DomUtilsAPI/DOMWalker" title="en/Mozmill Tests/Shared Modules/DomUtilsAPI/DOMWalker">DOMWalker</a></td> <td>The class provides the ability to walk through the DOM nodes of a given window as well as to open sub windows and walk through them as well.</td> </tr> <tr> <td><a href="/en/Mozmill_Tests/Shared_Modules/DomUtilsAPI/nodeCollector" title="en/Mozmill Tests/Shared Modules/DomUtilsAPI/nodeCollector">nodeCollector</a></td> <td> </td> </tr> </tbody>
</table>
<h2 id="Method_overview">Method overview</h2>
<table class="standard-table"> <tbody> <tr> <td><code><a href="#unwrapNode.28.29" title="#unwrapNode.28.29"><span style="text-decoration: underline;">unwrapNode</span></a>(in node aNode);</code></td> </tr> </tbody>
</table>
<h2 id="Methods">Methods</h2>
<h3 id="unwrapNode.28.29" name="unwrapNode.28.29">unwrapNode()</h3>
<p>Unwraps a node which is wrapped into a XPCNativeWrapper or XrayWrapper.</p>
<pre>unwrapNode(
  in node aNode
);
</pre>
<h6 id="Parameters">Parameters</h6>
<dl> <dt><code>aNode</code></dt> <dd>Wrapped DOM node.</dd>
</dl>
Revert to this revision