Remote Debugging Protocol: Difference between revisions

(Thread Pauses: Fix "Grip Lifetimes" link.)
(→‎Finding Descriptors For Single Properties: Don't omit the property name.)
Line 217: Line 217:
To obtain a descriptor for a particular property of an object, a client can send the object's grip's actor a request of the form:
To obtain a descriptor for a particular property of an object, a client can send the object's grip's actor a request of the form:


   { "to":<i>gripActor</i>, "type":"property" }
   { "to":<i>gripActor</i>, "type":"property", "name":<i>name</i> }


to which the grip actor replies:
to which the grip actor replies:
Line 223: Line 223:
   { "from":<i>gripActor</i>, "descriptor":<i>descriptor</i> }
   { "from":<i>gripActor</i>, "descriptor":<i>descriptor</i> }


where <i>descriptor</i> is a descriptor for the given property, or <tt>null</tt> if there is no such property on the object.
where <i>descriptor</i> is a descriptor for the own property of the object named <i>name</i>, or <tt>null</tt> if the object has no such own property.


<i>TODO: assign to value property</i>
<i>TODO: assign to value property</i>
Confirmed users
496

edits