Bug 311266
| Summary: | Web Inspector: REGRESSION(309194@main) Popups for WI.MultipleScopeBarItem don't show up anymore | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | Web Inspector | Assignee: | Razvan Caliman <rcaliman> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | annevk, inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=313155 | ||
Razvan Caliman
`WI.MultipleScopeBarItem` redirects the click event from the container element to an obscured <select> element.
https://github.com/WebKit/WebKit/blob/b271e70e72920454d9760f6e340ff265f4df7501/Source/WebInspectorUI/UserInterface/Views/MultipleScopeBarItem.js#L192-L197
The popover from the select element no longer shows after https://commits.webkit.org/309194@main which explicitly inhibits non-trusted synthetic events.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/173857179>
Razvan Caliman
There's already a patch in https://bugs.webkit.org/show_bug.cgi?id=311262 to revert the behavior in WebCore
But since Web Inspector is relying on non-standard behavior, maybe we can work around it until either custom select elements or `HTMLSelectElement.showPicker()` are enabled in WebKit.
Razvan Caliman
Pull request: https://github.com/WebKit/WebKit/pull/61829
EWS
Committed 310437@main (45bac2bccd71): <https://commits.webkit.org/310437@main>
Reviewed commits have been landed. Closing PR #61829 and removing active labels.
Anne van Kesteren
*** Bug 311262 has been marked as a duplicate of this bug. ***