Bug 94647

Summary: Web Inspector: [regression] Settings panel fails to open
Product: WebKit Reporter: johnjbarton <johnjbarton>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

johnjbarton
Reported 2012-08-21 16:39:16 PDT
After Bug 94416 - Web Inspector: load scripts panel lazily the Settings fails to open unless the user happens to open the Sources panel first. SettingScreen.js uses WebInspector.settings.searchInContentScripts p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Search in content scripts"), WebInspector.settings.searchInContentScripts)); But the value is not define until ScriptsPanel.js imports ScriptsSearchScope.js Source/WebCore/inspector/front-end/ScriptsPanel.js:importScript("ScriptsSearchScope.js"); which creates the setting: WebInspector.settings.searchInContentScripts = WebInspector.settings.createSetting("searchInContentScripts", false);
Attachments
Patch (2.21 KB, patch)
2012-08-21 19:37 PDT, Pavel Feldman
no flags
Pavel Feldman
Comment 1 2012-08-21 19:20:10 PDT
I'l fix it right away. Now that it squeezed into the Canary, the workaround is to open Sources tab first. Then settings will open.
Pavel Feldman
Comment 2 2012-08-21 19:37:49 PDT
Pavel Feldman
Comment 3 2012-08-21 19:39:44 PDT
Note You need to log in before you can comment on or make changes to this bug.