mozilla

Revision 183106 of XPCNativeWrapper

  • Revision slug: Talk:XPCNativeWrapper
  • Revision title: XPCNativeWrapper
  • Revision id: 183106
  • Created:
  • Creator: Timeless
  • Is current revision? No
  • Comment

Revision Content

importXPCNative is not documented.

0003: zz=XPCNativeWrapper(document.implementation); zz.importXPCNative('hasFeature') Caught exception: “TypeError: zz.importXPCNative is not a function�?

and you can't work around it:

0003: XPCNativeWrapper.prototype.importXPCNative=function(){} Caught exception: “Error: XPCNativeWrapper.prototype.importXPCNative is read-only�?

Revision Source

<p>importXPCNative is not documented.
</p><p>0003: zz=XPCNativeWrapper(document.implementation); zz.importXPCNative('hasFeature')
Caught exception: “TypeError: zz.importXPCNative is not a function�?
</p><p>and you can't work around it:
</p><p>0003: XPCNativeWrapper.prototype.importXPCNative=function(){}
Caught exception: “Error: XPCNativeWrapper.prototype.importXPCNative is read-only�?
</p>
Revert to this revision