Bug 76524

Summary: Web Inspector: TextViewer should manage highlight used by JavaScriptSourceFrame when displaying a popover
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: apavlov, burg, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, vsevik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Andrey Kosyakov 2012-01-18 02:14:55 PST
Currently, JavaScriptSourceFrame._highlightExpression() directly modifiers DOM owned by TextViewer in order to highlight an expression that is used by the Popover. Occasionally, TextViewer may re-create DOM elements used by the highlight, leading to highlight being detached from the DOM tree. The correct approach would be for TextViewer to create and own the highlight.
See also bug 71363.