RESOLVED FIXED 139688
[iOS] Make it possible to toggle FeatureCounter support at runtime
https://bugs.webkit.org/show_bug.cgi?id=139688
Summary [iOS] Make it possible to toggle FeatureCounter support at runtime
Chris Dumez
Reported 2014-12-16 11:38:40 PST
Make it possible to toggle FeatureCounter support at runtime using a setting. Also disable FeatureCounter support when a private session is used. Radar: <rdar://problem/19266254>
Attachments
Patch (33.05 KB, patch)
2014-12-16 11:46 PST, Chris Dumez
no flags
Patch (33.10 KB, patch)
2014-12-16 14:18 PST, Chris Dumez
no flags
Patch (53.49 KB, patch)
2014-12-17 11:52 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-12-16 11:46:33 PST
mitz
Comment 2 2014-12-16 13:42:21 PST
Comment on attachment 243371 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243371&action=review > Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h:49 > +@property (nonatomic, setter=_setFeatureCounterEnabled:) BOOL _featureCounterEnabled; This new SPI needs an availability annotation such as WK_AVAILABLE(WK_TBD, WK_TBD)
Chris Dumez
Comment 3 2014-12-16 14:18:55 PST
Chris Dumez
Comment 4 2014-12-16 14:19:28 PST
(In reply to comment #2) > Comment on attachment 243371 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=243371&action=review > > > Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h:49 > > +@property (nonatomic, setter=_setFeatureCounterEnabled:) BOOL _featureCounterEnabled; > > This new SPI needs an availability annotation such as WK_AVAILABLE(WK_TBD, > WK_TBD) Thanks, done. I used WK_TBA as it seems to be what is used elsewhere.
Chris Dumez
Comment 5 2014-12-17 11:52:39 PST
Andreas Kling
Comment 6 2014-12-17 12:58:43 PST
Comment on attachment 243447 [details] Patch r=me
Chris Dumez
Comment 7 2014-12-17 13:03:04 PST
Comment on attachment 243447 [details] Patch Clearing flags on attachment: 243447 Committed r177455: <http://trac.webkit.org/changeset/177455>
Chris Dumez
Comment 8 2014-12-17 13:03:10 PST
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.