Bug 87120

Summary: Web Inspector: annotate InjectedScriptSource.js for closure compiler
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: aandrey, alph, apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Yury Semikhatsky
Reported 2012-05-22 05:30:48 PDT
As Andrey Adaikin pointed out there is call of undefined function this._isPrimitiveValue in InjectedScript.wrapObject. Errors like this can be easily caught with the compiler.
Attachments
Patch (11.72 KB, patch)
2012-05-22 05:40 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2012-05-22 05:40:24 PDT
Pavel Feldman
Comment 2 2012-05-22 05:46:18 PDT
Comment on attachment 143284 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=143284&action=review > Source/WebCore/inspector/InjectedScriptExterns.js:40 > +InjectedScriptHost.prototype.storageId = function(object) {} { } > Source/WebCore/inspector/compile-injected-script.sh:32 > +java -jar ~/closure/compiler.jar\ could you merge it with the main compiler script instead?
Yury Semikhatsky
Comment 3 2012-05-22 05:56:52 PDT
(In reply to comment #2) > (From update of attachment 143284 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=143284&action=review > > > Source/WebCore/inspector/InjectedScriptExterns.js:40 > > +InjectedScriptHost.prototype.storageId = function(object) {} > > { } > Done. > > Source/WebCore/inspector/compile-injected-script.sh:32 > > +java -jar ~/closure/compiler.jar\ > > could you merge it with the main compiler script instead? Done.
Yury Semikhatsky
Comment 4 2012-05-22 06:06:33 PDT
Note You need to log in before you can comment on or make changes to this bug.