Bug 76524 - Web Inspector: TextViewer should manage highlight used by JavaScriptSourceFrame when displaying a popover
Summary: Web Inspector: TextViewer should manage highlight used by JavaScriptSourceFra...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 02:14 PST by Andrey Kosyakov
Modified: 2014-12-10 22:51 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.