Bug 169059

Summary: Web Inspector: Annotators should not be enabled if the TextEditor is not visible
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/
Attachments:
Description Flags
Patch none

Description Devin Rousso 2017-03-01 14:36:38 PST
-------
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/604.1.8+ (KHTML, like Gecko)

Uncaught Exceptions:
 - Annotators should not be enabled if the TextEditor is not visible (at SourceCodeTextEditor.js:2090:27)
    _basicBlockAnnotatorEnabled @ SourceCodeTextEditor.js:2090:27
    _proceedPopulateWithContent @ SourceCodeTextEditor.js:471:17
    _populateWithContent @ SourceCodeTextEditor.js:460:41
    _contentAvailable @ SourceCodeTextEditor.js:548:34
    _contentAvailable @ [native code]
    promiseReactionJob @ [native code]

Additional Details:
-------

* STEPS TO REPRODUCE
1. Navigate to a page with scripts
2. Open WebInspector
Comment 1 Devin Rousso 2017-03-01 14:47:43 PST
Created attachment 303126 [details]
Patch
Comment 2 Joseph Pecoraro 2017-03-01 15:12:33 PST
Comment on attachment 303126 [details]
Patch

r=me, sounds reasonable to me.
Comment 3 WebKit Commit Bot 2017-03-01 15:58:51 PST
Comment on attachment 303126 [details]
Patch

Clearing flags on attachment: 303126

Committed r213251: <http://trac.webkit.org/changeset/213251>
Comment 4 WebKit Commit Bot 2017-03-01 15:58:55 PST
All reviewed patches have been landed.  Closing bug.