<?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>327999</bug_id>
          
          <creation_ts>2026-10-18 07:50:02 -0700</creation_ts>
          <short_desc>[WebDriver][BiDi] browsingContext.create should honour the background parameter and place a new tab next to its reference</short_desc>
          <delta_ts>2026-10-18 16:37:46 -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>WebDriver</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>328000</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=286790</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=288324</see_also>
          <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="Timothy Olusanya">seunxplicit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2265756</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Olusanya">seunxplicit</who>
    <bug_when>2026-10-18 07:50:02 -0700</bug_when>
    <thetext>&gt; browsingContext.create ignores the background parameter and does not activate the context it creates. With
&gt; background false (the default) the new context must be visible and focused when the command returns; with
&gt; background true it must be created without taking focus, leaving the current context visible. On the GLib
&gt; ports the new page is never activated because the automation client does not implement
&gt; requestSwitchToPage (bug 288324), which also keeps browsingContext.activate a no-op. A tab created with a
&gt; referenceContext should also open in the reference&apos;s window, after it, rather than wherever the embedder puts it.
&gt; Covered by WPT browsing_context/create/background.py (all six rows) and browsing_context/create/type.py
&gt; (test_type[tab] and test_type[window], which check that the original tab is hidden and unfocused after a tab is
&gt; created and that the original window stays visible but unfocused after a window is created). On GTK the two
&gt; window rows of background.py pass only by accident of Xvfb focus. Last part of bug 286790.
&gt; Spec: https://w3c.github.io/webdriver-bidi/#command-browsingContext-create</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2265842</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2026-10-18 16:37:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 328000 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>