Bug 229053

Summary: Web Inspector: Adding execution contexts after page load doesn't show a hidden execution selector
Product: WebKit Reporter: Patrick Angle <pangle>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1.0 none

Description Patrick Angle 2021-08-12 14:57:19 PDT
Steps to reproduce:
1. Have an extension enabled that injects a frame or other execution context into the page.
1. Go to https://books.apple.com/us/audiobook/winning-unabridged/id1561431722
2. Open Web Inspector after the page has loaded.
4. Go to the Console tab.
5. Notice that in the bottom-right corner there is a dropdown to select execution context.
6. Refresh the page.
7. The execution context list is no longer shown, even after the page finishes loading.
Comment 1 Radar WebKit Bug Importer 2021-08-12 14:57:42 PDT
<rdar://problem/81869731>
Comment 2 Patrick Angle 2021-08-12 15:02:40 PDT
Created attachment 435451 [details]
Patch v1.0
Comment 3 Devin Rousso 2021-08-12 15:05:01 PDT
Comment on attachment 435451 [details]
Patch v1.0

r=me, 🤦‍♂️ no idea how i missed this lol
Comment 4 EWS 2021-08-12 15:50:51 PDT
Committed r280989 (240488@main): <https://commits.webkit.org/240488@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435451 [details].