Bug 258956 - Web Inspector: Have a small toggle into the Sources tab to enable/disable Sourcemaps
Summary: Web Inspector: Have a small toggle into the Sources tab to enable/disable Sou...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 17
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-06 17:37 PDT by Karl Dubost
Modified: 2023-07-06 17:37 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-07-06 17:37:20 PDT
1. Go to music.amazon.com
2. Open Web Inspector
3. Check Enable Source Maps is on.
4. Go to the Sources tab
5. Set a breakpoint on     const { onPlaybackNotSupported } = store.getState().Media;
6. Reload 
7. Play 
8. The page is activating the breakpoint
9. hover the store or getState()


Expected: 
Get the information about the variable or functions

Actual:
Nothing

The sourcemap is not useful, probably wrong version reference. 
It would be practical this circumstance to be able to quickly deactivate the sourcemap to show the js used by Web inspector and make the hover working. 


Probably related to 257944 if not a duplicate.
Comment 1 Radar WebKit Bug Importer 2023-07-06 17:37:33 PDT
<rdar://problem/111879437>