<?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>160101</bug_id>
          
          <creation_ts>2016-07-22 14:50:17 -0700</creation_ts>
          <short_desc>[mac-wk1] LayoutTest userscripts/window-onerror-for-isolated-world-3.html is a flaky failure</short_desc>
          <delta_ts>2023-10-10 11:41:35 -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>New Bugs</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=158750</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>joepeck</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1213747</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-07-22 14:50:17 -0700</bug_when>
    <thetext>LayoutTest userscripts/window-onerror-for-isolated-world-3.html is a flaky failure

https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/r203611%20(6878)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=userscripts%2Fwindow-onerror-for-isolated-world-3.html

--- /Volumes/Data/slave/elcapitan-debug-tests-wk1/build/layout-test-results/userscripts/window-onerror-for-isolated-world-3-expected.txt
+++ /Volumes/Data/slave/elcapitan-debug-tests-wk1/build/layout-test-results/userscripts/window-onerror-for-isolated-world-3-actual.txt
@@ -8,12 +8,11 @@
 Main world error event listener: [object Window] at undefined:0:0 null
 
 Main World
+Isolated World
 Main world window.onerror: SerializableError from (main world) at window-onerror-for-isolated-world-3.html:49:59 SerializableError from (main world)
 Main world error event listener: SerializableError from (main world) at window-onerror-for-isolated-world-3.html:49:59 SerializableError from (main world)
 Main world window.onerror: [object Window] at window-onerror-for-isolated-world-3.html:55:27 [object Window]
 Main world error event listener: [object Window] at window-onerror-for-isolated-world-3.html:55:27 [object Window]
-
-Isolated World
 Main world window.onerror: SerializableError from (isolated script) at window-onerror-for-isolated-world-3.html:5:59 SerializableError from (isolated script)
 Main world error event listener: SerializableError from (isolated script) at window-onerror-for-isolated-world-3.html:5:59 SerializableError from (isolated script)
 Main world window.onerror: [object Window] at window-onerror-for-isolated-world-3.html:11:27 null</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1213754</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-07-22 15:02:46 -0700</bug_when>
    <thetext>Marked as flaky in https://trac.webkit.org/r203617

Prior attempt at fixing this can be seen in https://bugs.webkit.org/show_bug.cgi?id=158750</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977448</commentid>
    <comment_count>2</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-09-13 22:37:37 -0700</bug_when>
    <thetext>This test appears to have further regressed into a constant failure.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=userscripts%2Fwindow-onerror-for-isolated-world-3.html

TEXT DIFF:

 User Script
 Main world window.onerror: SerializableError from (user script) at :5:59 SerializableError from (user script)
 Main world error event listener: SerializableError from (user script) at :5:59 SerializableError from (user script)
-Main world window.onerror: [object Window] at undefined:0:0 null
-Main world error event listener: [object Window] at undefined:0:0 null
+Main world window.onerror: [object Window] at :11:27 null
+Main world error event listener: [object Window] at :11:27 null
 
 Main World
 Main world window.onerror: SerializableError from (main world) at window-onerror-for-isolated-world-3.html:49:59 SerializableError from (main world)

DIFF URL:

https://build.webkit.org/results/Apple-Monterey-Debug-AppleSilicon-WK1-Tests/267976@main%20(8521)/userscripts/window-onerror-for-isolated-world-3-pretty-diff.html

REPRODUCTION:

I was able to reproduce this issue on macOS Ventura (13.5, 22G74/arm64) ToT using the following command:

run-webkit-tests -1 --verbose --clobber-old-results userscripts/window-onerror-for-isolated-world-3.html

REGRESSION:

I was unable to locate a regression point, as the issue began before the earliest entry in the flakiness dashboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977449</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-13 22:38:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/115472137&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984007</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-10-10 09:09:41 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18894</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984082</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-10 11:41:32 -0700</bug_when>
    <thetext>Committed 269158@main (036e5c39e5e1): &lt;https://commits.webkit.org/269158@main&gt;

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

    </bug>

</bugzilla>