<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>311266</bug_id>
          
          <creation_ts>2026-04-01 07:39:04 -0700</creation_ts>
          <short_desc>Web Inspector: REGRESSION(309194@main) Popups for WI.MultipleScopeBarItem don&apos;t show up anymore</short_desc>
          <delta_ts>2026-04-23 14:40:34 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=313155</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Razvan Caliman">rcaliman</reporter>
          <assigned_to name="Razvan Caliman">rcaliman</assigned_to>
          <cc>annevk</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2195897</commentid>
    <comment_count>0</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2026-04-01 07:39:04 -0700</bug_when>
    <thetext>`WI.MultipleScopeBarItem` redirects the click event from the container element to an obscured &lt;select&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195898</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-01 07:39:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/173857179&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195900</commentid>
    <comment_count>2</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2026-04-01 07:42:21 -0700</bug_when>
    <thetext>There&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195904</commentid>
    <comment_count>3</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2026-04-01 07:52:44 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61829</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196279</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-02 06:05:59 -0700</bug_when>
    <thetext>Committed 310437@main (45bac2bccd71): &lt;https://commits.webkit.org/310437@main&gt;

Reviewed commits have been landed. Closing PR #61829 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196288</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2026-04-02 07:31:31 -0700</bug_when>
    <thetext>*** Bug 311262 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>