<?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>279099</bug_id>
          
          <creation_ts>2024-09-03 18:00:25 -0700</creation_ts>
          <short_desc>[WebDriver] imported/w3c/webdriver/tests/classic/switch_to_frame/switch.py::test_frame_id_null is failing</short_desc>
          <delta_ts>2025-06-10 13:10:24 -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>230612</dup_id>
          
          <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="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2057425</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2024-09-03 18:00:25 -0700</bug_when>
    <thetext>https://wpt.fyi/results/webdriver/tests/classic/switch_to_frame/switch.py?label=experimental&amp;label=master&amp;aligned

imported/w3c/webdriver/tests/classic/switch_to_frame/switch.py::test_frame_id_null

Failure:

    ...
            with pytest.raises(NoSuchElementException):                                                                                                            
    &gt;           element2.text
    ...
    &gt;           raise err                                                                                                                                                                                                                         
    E           webdriver.error.StaleElementReferenceException: stale element reference (404): Node with identifier &apos;node-A596F74D-D118-456D-B540-E1741C4A6D0B&apos; was not found 

Changed in WPT by https://phabricator.services.mozilla.com/D101065 (Bug 1684827 - [wdspec] Fix switch to frame tests for &quot;no such element&quot; error instead of &quot;stale element reference&quot;.)

&gt; Element references are per browsing context. As such elements as found within a frame are not existent in any parent browsing context, and when retrieving these a &quot;no such element&quot; error has to be returned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059146</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-10 18:01:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/135765217&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122812</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-06-10 13:10:24 -0700</bug_when>
    <thetext>Closed in favor of original bug230612

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

    </bug>

</bugzilla>