<?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>265101</bug_id>
          
          <creation_ts>2023-11-18 18:56:17 -0800</creation_ts>
          <short_desc>Make a couple more http/tests/security tests use window.internals.isFullyActive(Document&amp;)</short_desc>
          <delta_ts>2023-12-05 12:41:54 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=263879</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=261889</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="sideshowbarker">mike</reporter>
          <assigned_to name="sideshowbarker">mike</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1993719</commentid>
    <comment_count>0</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-11-18 18:56:17 -0800</bug_when>
    <thetext>https://commits.webkit.org/270737@main added a new window.internals.isFullyActive(Document&amp;) function — intended for tests where it’s necessary to ensure whether or not a particular document is fully active — and used that function to update (fix) the http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html test, which had been flaky since it was last updated in https://commits.webkit.org/269235@main.

And in that https://commits.webkit.org/269235@main change which caused the http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html test to become flaky, its companion tests at LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html and LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html had also been updated in the same way as the http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html had been before it was subsequently fixed.

And while those two other companion tests have not yet been flaky, we should also (re)update them to now use window.internals.isFullyActive(Document&amp;) — in order to ensure they’re actually testing what they’re intended to be testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993720</commentid>
    <comment_count>1</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2023-11-18 19:20:38 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20715</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994775</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-25 18:57:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/118796437&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997189</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-05 12:41:52 -0800</bug_when>
    <thetext>Committed 271565@main (a2d071de9311): &lt;https://commits.webkit.org/271565@main&gt;

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

    </bug>

</bugzilla>