Revision 140878 of element.baseURIObject

  • Revision slug: DOM/element.baseURIObject
  • Revision title: element.baseURIObject
  • Revision id: 140878
  • Created:
  • Creator: Potappo
  • Is current revision? No
  • Comment +fx_minversion_header

Revision Content

{{ Fx_minversion_header("3") }} {{ DomRef() }} {{ Non-standard_header() }}

Summary

baseURIObject returns the {{ Interface("nsIURI") }} object representing the node's URI.

{{ Note("This property exists on all nodes (HTML, XUL, SVG, MathML, etc.), but only if the script trying to use it has UniversalXPConnect privileges.") }}

Syntax

uriObj = element.baseURIObject

Notes

This property is read-only; attempting to write to it will throw an exception. In addition, this property may only be accessed from privileged code.

Specification

Not in any specification.

Revision Source

<p>
{{ Fx_minversion_header("3") }}
{{ DomRef() }}
{{ Non-standard_header() }}
</p>
<h3 name="Summary"> Summary </h3>
<p><code>baseURIObject</code> returns the {{ Interface("nsIURI") }} object representing the node's URI.
</p><p>{{ Note("This property exists on all nodes (HTML, XUL, SVG, MathML, etc.), but only if the script trying to use it has UniversalXPConnect privileges.") }}
</p>
<h3 name="Syntax"> Syntax </h3>
<pre class="eval"><i>uriObj</i> = element.baseURIObject
</pre>
<h3 name="Notes"> Notes </h3>
<p>This property is read-only; attempting to write to it will throw an exception. In addition, this property may only be accessed from privileged code.
</p>
<h3 name="Specification"> Specification </h3>
<p>Not in any specification.
</p>
Revert to this revision