Bug 99164

Summary: Web Inspector: relies on current Function.prototype.bind in the frame
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Description Pavel Feldman 2012-10-12 05:01:14 PDT
InjectedScriptSource should not depend on the bind override.
Comment 1 Pavel Feldman 2012-10-12 05:03:31 PDT
Created attachment 168397 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-10-12 05:27:20 PDT
Comment on attachment 168397 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=168397&action=review

> Source/WebCore/inspector/InjectedScriptSource.js:58
> +    function bound()

Could you please add var_args here?
Comment 3 Yury Semikhatsky 2012-10-12 05:27:41 PDT
Comment on attachment 168397 [details]
Patch

Let's use closure instead in the two places where the bind is used.
Comment 4 Pavel Feldman 2012-10-12 05:36:06 PDT
Committed r131178: <http://trac.webkit.org/changeset/131178>