third_party/gecko-15/win32/bin/chrome/toolkit/content/global/devtools/dbg-script-actors.js
/**
   * A helper method that creates a property descriptor for the provided object,
   * properly formatted for sending in a protocol response.
   *
   * @param aObject object
   *        The object that the descriptor is generated for.
   */
A helper method that creates a property descriptor for the provided object,
properly formatted for sending in a protocol response.

@param aObject object
The object that the descriptor is generated for.
A helper method that creates a property descriptor for the provided object properly formatted for sending in a protocol response . @param aObject object The object that the descriptor is generated for .
function OA_propertyDescriptor(aObject) {
    let descriptor = {};
    descriptor.configurable = aObject.configurable;
    descriptor.enumerable = aObject.enumerable;
    if (aObject.value !== undefined) {
      descriptor.writable = aObject.writable;
      descriptor.value = this.threadActor.createValueGrip(aObject.value);
    } else {
      descriptor.get = this.threadActor.createValueGrip(aObject.get);
      descriptor.set = this.threadActor.createValueGrip(aObject.set);
    }
    return descriptor;
  }
function OA_propertyDescriptor ( aObject ) { let descriptor = { } ; descriptor . configurable = aObject . configurable ; descriptor . enumerable = aObject . enumerable ; if ( aObject . value !== undefined ) { descriptor . writable = aObject . writable ; descriptor . value = this . threadActor . createValueGrip ( aObject . value ) ; } else { descriptor . get = this . threadActor . createValueGrip ( aObject . get ) ; descriptor . set = this . threadActor . createValueGrip ( aObject . set ) ; } return descriptor ; }
A helper method that creates a property descriptor for the provided object,
 properly formatted for sending in a protocol response.
A helper method that creates a property descriptor for the provided object properly formatted for sending in a protocol response .