WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87120
Web Inspector: annotate InjectedScriptSource.js for closure compiler
https://bugs.webkit.org/show_bug.cgi?id=87120
Summary
Web Inspector: annotate InjectedScriptSource.js for closure compiler
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yury Semikhatsky
Comment 1
2012-05-22 05:40:24 PDT
Created
attachment 143284
[details]
Patch
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
Committed
r117961
: <
http://trac.webkit.org/changeset/117961
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug