Changeset 179828 in webkit
- Timestamp:
- Feb 9, 2015 8:37:41 AM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r179823 r179828 1 2015-02-09 Brian J. Burg <burg@cs.washington.edu> 2 3 REGRESSION(r179705): 2nd-level inspector availability no longer controlled by DeveloperExtrasEnabled user default 4 https://bugs.webkit.org/show_bug.cgi?id=141343 5 6 Reviewed by Timothy Hatcher. 7 8 The regression was caused by the switch to using WKWebViewConfiguration and 9 its default WebPreferences object, which is used to populate the inspector page's 10 Settings object. This WebPreferences is initialized with no identifier, so 11 only preferences in the FOR_EACH_WEBKIT_DEBUG_*_PREFERENCE macros are populated 12 from NSUserDefaults. 13 14 The simplest fix is to move DeveloperExtrasEnabled into the DEBUG group. 15 16 Previously, each inspector level had a unique identifier such as 17 __WebInspectorPageGroupLevelN__, and the n+1 level inspector was enabled 18 by toggling __WebInspectorPageGroupLevelN__.WebKit2DeveloperExrasEnabled. 19 With the move to the DEBUG group, the preference becomes simply 20 WebKitDeveloperExtrasEnabled, which enables any level of inspector. 21 (This does not clash with Safari's "Show Develop Menu" preference, which uses 22 the key "WebKitDeveloperExtrasEnabledPreferenceKey") 23 24 * Shared/WebPreferencesDefinitions.h: 25 1 26 2015-02-08 Antti Koivisto <antti@apple.com> 2 27 -
trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h
r179380 r179828 96 96 macro(XSSAuditorEnabled, xssAuditorEnabled, Bool, bool, true) \ 97 97 macro(FrameFlatteningEnabled, frameFlatteningEnabled, Bool, bool, DEFAULT_FRAME_FLATTENING_ENABLED) \ 98 macro(DeveloperExtrasEnabled, developerExtrasEnabled, Bool, bool, false) \99 98 macro(JavaScriptExperimentsEnabled, javaScriptExperimentsEnabled, Bool, bool, false) \ 100 99 macro(PrivateBrowsingEnabled, privateBrowsingEnabled, Bool, bool, false) \ … … 227 226 macro(TiledScrollingIndicatorVisible, tiledScrollingIndicatorVisible, Bool, bool, false) \ 228 227 macro(SimpleLineLayoutDebugBordersEnabled, simpleLineLayoutDebugBordersEnabled, Bool, bool, false) \ 228 macro(DeveloperExtrasEnabled, developerExtrasEnabled, Bool, bool, false) \ 229 229 macro(LogsPageMessagesToSystemConsoleEnabled, logsPageMessagesToSystemConsoleEnabled, Bool, bool, false) \ 230 230 macro(IgnoreViewportScalingConstraints, ignoreViewportScalingConstraints, Bool, bool, false) \
Note: See TracChangeset
for help on using the changeset viewer.