WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
102341
Web Inspector: Fix new JS compiler warnings.
https://bugs.webkit.org/show_bug.cgi?id=102341
Summary
Web Inspector: Fix new JS compiler warnings.
eustas.bug
Reported
2012-11-14 23:19:21 PST
New version of compiler finds new inconsistencies. 1) DOMAgent.js:1285: actual parameter 1 of Object.defineProperty does not match formal parameter 2) ElementsPanel.js:81: Property domBreakpointsSidebarPane never defined on WebInspector 3) Script.js:152: actual parameter 4 of DebuggerAgent.setScriptSource does not match formal parameter
Attachments
Patch
(3.68 KB, patch)
2012-11-14 23:22 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(3.57 KB, patch)
2012-11-15 00:17 PST
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
eustas.bug
Comment 1
2012-11-14 23:22:46 PST
Created
attachment 174359
[details]
Patch
Pavel Feldman
Comment 2
2012-11-14 23:31:16 PST
Comment on
attachment 174359
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174359&action=review
> Source/WebCore/inspector/front-end/DOMAgent.js:1284 > + for (var i = 0; i < touchEvents.length; ++i)
{ } around the block
eustas.bug
Comment 3
2012-11-15 00:11:15 PST
Comment on
attachment 174359
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174359&action=review
>> Source/WebCore/inspector/front-end/DOMAgent.js:1284 >> + for (var i = 0; i < touchEvents.length; ++i) > > { } around the block
Fixed.
eustas.bug
Comment 4
2012-11-15 00:17:09 PST
Created
attachment 174364
[details]
Patch
WebKit Review Bot
Comment 5
2012-11-15 00:55:35 PST
Comment on
attachment 174364
[details]
Patch Clearing flags on attachment: 174364 Committed
r134751
: <
http://trac.webkit.org/changeset/134751
>
WebKit Review Bot
Comment 6
2012-11-15 00:55:39 PST
All reviewed patches have been landed. Closing bug.
Andrey Adaikin
Comment 7
2012-11-15 02:25:12 PST
Comment on
attachment 174364
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174364&action=review
> Source/WebCore/inspector/front-end/DOMAgent.js:1285 > + for (var j = 0; j < recepients.length; ++j) {
IMO, now you have more lines of code, and less readable code. BTW, I think JS compiler does not complain because it treats the "recepients" as "@type {?}", now? otherwise I don't see why the new version is more typed then the old one. And one more thing. "recepients" -> "recipients"
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