<?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>276323</bug_id>
          
          <creation_ts>2024-07-08 10:34:42 -0700</creation_ts>
          <short_desc>[WPE][WebDriver] MiniBrowser: forward display in use for new automated views</short_desc>
          <delta_ts>2024-07-09 03:23:42 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Lauro Moura">lmoura</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2045111</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2024-07-08 10:34:42 -0700</bug_when>
    <thetext>280534@main added support in WPE&apos;s MiniBrowser to create new automated views, but the patch did not set the &quot;display&quot; property, in the view constructor, pointing to the WPEDisplay inherited from the first view created in the app. Without it, new views were falling back to the default display (e.g. the wayland one, if not overriden by WPE_DISPLAY).

This was making running the WebDriver tests in headless mode occasionally show a new window for some tests.

Patch incoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045238</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2024-07-08 20:25:33 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/30593</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045278</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-09 03:23:39 -0700</bug_when>
    <thetext>Committed 280766@main (c14f4ba2a83b): &lt;https://commits.webkit.org/280766@main&gt;

Reviewed commits have been landed. Closing PR #30593 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>