Bug 126236 - Web Inspector: Clean up dead/useless code
Summary: Web Inspector: Clean up dead/useless code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 126149 126312 126369 126374 126377 126607 126614 126630
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-25 15:43 PST by Seokju Kwon
Modified: 2016-12-14 11:42 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seokju Kwon 2013-12-25 15:43:21 PST
Master bug.
There are so many dead codes in WebInspectorUI.
Comment 1 Radar WebKit Bug Importer 2013-12-25 15:43:31 PST
<rdar://problem/15725242>
Comment 2 Seokju Kwon 2014-01-07 21:50:47 PST
I will try to get rid of unused overriding protocols.
Any opinions welcome on this. And I will file bugs if there is no objection.

-Page.setGeolocationOverride
-Page.clearGeolocationOverride
-Page.canOverrideGeolocation
-Page.setDeviceOrientationOverride
-Page.clearDeviceOrientationOverride
-Page.canOverrideGeolocation
-Network.setUserAgentOverride
Comment 3 Timothy Hatcher 2014-01-07 21:58:48 PST
(In reply to comment #2)
> I will try to get rid of unused overriding protocols.
> Any opinions welcome on this. And I will file bugs if there is no objection.
> 
> -Page.setGeolocationOverride
> -Page.clearGeolocationOverride
> -Page.canOverrideGeolocation
> -Page.setDeviceOrientationOverride
> -Page.clearDeviceOrientationOverride
> -Page.canOverrideGeolocation
> -Network.setUserAgentOverride

Those are all fine to remove.
Comment 4 Seokju Kwon 2014-01-10 00:52:59 PST
Another attempt to remove protocols. Please let me know what you think.

Page.setShowPaintRects
Page.canShowDebugBorders
Page.setShowDebugBorders
Page.canShowFPSCounter
Page.setShowFPSCounter
Page.canContinuouslyPaint
PAge.setContinuousPaintingEnabled
Comment 5 Timothy Hatcher 2014-01-10 05:46:53 PST
(In reply to comment #4)
> Another attempt to remove protocols. Please let me know what you think.
> 
> Page.setShowPaintRects
> Page.canShowDebugBorders
> Page.setShowDebugBorders
> Page.canShowFPSCounter
> Page.setShowFPSCounter
> Page.canContinuouslyPaint
> PAge.setContinuousPaintingEnabled

Lets keep setShowPaintRects.
Comment 6 Joseph Pecoraro 2016-12-14 10:34:11 PST
I am pretty sure these have all been deleted by now.
Comment 7 BJ Burg 2016-12-14 11:42:11 PST
Thanks Joe!