Bug 194459

Summary: Web Inspector: Debugger Popover should work with value in template string `${identifier}`
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2019-02-08 15:38:31 PST
Debugger Popover should work with value in template string `${identifier}` Steps to Reproduce: 1. Pause on a line like: let foo = `${window}`; 2. Hover over "window" => Expected debugger popover, but did not get one.
Attachments
[PATCH] Proposed Fix (2.38 KB, patch)
2019-02-08 15:56 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2019-02-08 15:39:46 PST
Joseph Pecoraro
Comment 2 2019-02-08 15:56:31 PST
Created attachment 361550 [details] [PATCH] Proposed Fix Tested with: <script> setTimeout(() => { document.body.onclick = () => { let before = "test"; let array = [1, 2, 3]; console.log(`before ${array} after ${array.length}`); debugger; }; }); </script> • Was able to hover and get popovers inside of these: ${array} and ${array.length} • Did not get a popover when hovering the "before" in `before ...`.
Devin Rousso
Comment 3 2019-02-08 17:01:53 PST
Comment on attachment 361550 [details] [PATCH] Proposed Fix rs=me, I like it!
WebKit Commit Bot
Comment 4 2019-02-08 17:30:22 PST
Comment on attachment 361550 [details] [PATCH] Proposed Fix Clearing flags on attachment: 361550 Committed r241225: <https://trac.webkit.org/changeset/241225>
WebKit Commit Bot
Comment 5 2019-02-08 17:30:24 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.