WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135741
Web Inspector: Fix accidental always true comparison
https://bugs.webkit.org/show_bug.cgi?id=135741
Summary
Web Inspector: Fix accidental always true comparison
Joseph Pecoraro
Reported
2014-08-07 20:57:40 PDT
* SUMMARY There is what looks like a typo in a comparison in OverviewTimelineView.js.
> if (!this.currentTime !== oldCurrentTime) { > ^ -- why?
This looks like an accident causing the comparison to always be false. Removing it, things still behave as expected. I know of no user impact from this change. Possible performance improvement?
Attachments
[PATCH] Proposed Fix
(1.48 KB, patch)
2014-08-07 21:00 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-08-07 20:57:49 PDT
<
rdar://problem/17955491
>
Joseph Pecoraro
Comment 2
2014-08-07 20:58:55 PDT
Err, this would cause the comparison to always be true*
Joseph Pecoraro
Comment 3
2014-08-07 21:00:17 PDT
Created
attachment 236261
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 4
2014-08-07 23:23:37 PDT
Comment on
attachment 236261
[details]
[PATCH] Proposed Fix Did my TreeOutline fix inspire you to search for this needle in a haystack?
Timothy Hatcher
Comment 5
2014-08-07 23:24:45 PDT
Yes, this would be a performance improvement.
WebKit Commit Bot
Comment 6
2014-08-07 23:57:49 PDT
Comment on
attachment 236261
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 236261 Committed
r172336
: <
http://trac.webkit.org/changeset/172336
>
WebKit Commit Bot
Comment 7
2014-08-07 23:57:51 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.
Top of Page
Format For Printing
XML
Clone This Bug