[Webkit-unassigned] [Bug 59474] New: Web Inspector: [protocol] evaluate* methods should accept 'additional context' param

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 11:33:00 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59474

           Summary: Web Inspector: [protocol] evaluate* methods should
                    accept 'additional context' param
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peter.rybin at gmail.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


When evaluating expression client should be able to refer to a particular remote object that cannot be accessed by name. Additional binding objectID -> name in local scope should be provided.
Protocol commands "evaluate*" should accept 'additional context' parameter in form
[
  {
    "name": <name>,
    "objectID": <objectID>
  }
]

The expression should be evaluated with additional names/values binded to a local scope.

E.g.
user expression "nextRandomColor()" evaluated to object with id 5.
Protocol let explore its properties. Protocol should also let evaluate string representation of the object:
  non-user expression "String(val)" with additional context [ { "name":"val", "objectID": 5 } ].

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list