Bug 97346

Summary: Web Inspector: don't allow exception in front-end when expanding function scope
Product: WebKit Reporter: Peter Rybin <prybin>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Peter Rybin
Reported 2012-09-21 10:10:46 PDT
Add watch expression that results in bound function: "Number.bind(5)" Expand its properties and farther expand its <function scope> node. See TypeError exception logged to stdout. I fails in ObjectPropertiesSection.js@r129238 line 441 when scopeChain is undefined. This exception is not a huge problem though.
Attachments
Patch (1.62 KB, patch)
2012-09-21 10:14 PDT, Peter Rybin
no flags
Peter Rybin
Comment 1 2012-09-21 10:14:36 PDT
Yury Semikhatsky
Comment 2 2012-09-24 07:05:39 PDT
Comment on attachment 165150 [details] Patch Would be nice to have a test for this.
WebKit Review Bot
Comment 3 2012-09-24 07:09:51 PDT
Comment on attachment 165150 [details] Patch Clearing flags on attachment: 165150 Committed r129361: <http://trac.webkit.org/changeset/129361>
WebKit Review Bot
Comment 4 2012-09-24 07:09:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.