function unwrapNode(aNode) {
  var node = aNode;

  if (node) {
    // unwrap is not available on older branches (3.5 and 3.6) - Bug 533596
    if ("unwrap" in XPCNativeWrapper) {
      node = XPCNativeWrapper.unwrap(node);
    }
    else if ("wrappedJSObject" in node) {
      node = node.wrappedJSObject;
    }
  }

  return node;
}
function unwrapNode(aNode) {
  var node = aNode;

  if (node) {
    // unwrap is not available on older branches (3.5 and 3.6) - Bug 533596
    if ("unwrap" in XPCNativeWrapper) {
      node = XPCNativeWrapper.unwrap(node);
    }
    else if ("wrappedJSObject" in node) {
      node = node.wrappedJSObject;
    }
  }

  return node;
}
function unwrapNode ( aNode ) { var node = aNode ; if ( node ) { // unwrap is not available on older branches (3.5 and 3.6) - Bug 533596 if ( "unwrap" in XPCNativeWrapper ) { node = XPCNativeWrapper . unwrap ( node ) ; } else if ( "wrappedJSObject" in node ) { node = node . wrappedJSObject ; } } return node ; }
Unwraps a node which is wrapped into a XPCNativeWrapper or XrayWrapper

@param {DOMnode} Wrapped DOM node
@returns {DOMNode} Unwrapped DOM node
Unwraps a node which is wrapped into a XPCNativeWrapper or XrayWrapper
Unwraps a node