<?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>158750</bug_id>
          
          <creation_ts>2016-06-14 13:25:24 -0700</creation_ts>
          <short_desc>[mac-wk1 debug] LayoutTest userscripts/window-onerror-for-isolated-world-3.html is flaky</short_desc>
          <delta_ts>2016-07-22 15:00: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>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=160101</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Ryan Haddad">ryanhaddad</assigned_to>
          <cc>joepeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1202291</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-06-14 13:25:24 -0700</bug_when>
    <thetext>LayoutTest userscripts/window-onerror-for-isolated-world-3.html is flaky

&lt;https://build.webkit.org/builders/Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/builds/5940&gt;

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

--- /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>1202292</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-06-14 13:25:52 -0700</bug_when>
    <thetext>Let me bump up the timeouts just a tad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202293</commentid>
    <comment_count>2</comment_count>
      <attachid>281275</attachid>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-06-14 13:30:48 -0700</bug_when>
    <thetext>Created attachment 281275
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202294</commentid>
    <comment_count>3</comment_count>
      <attachid>281275</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-06-14 13:32:11 -0700</bug_when>
    <thetext>Comment on attachment 281275
Patch

r=me!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202295</commentid>
    <comment_count>4</comment_count>
      <attachid>281275</attachid>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-06-14 13:33:47 -0700</bug_when>
    <thetext>Comment on attachment 281275
Patch

Clearing flags on attachment: 281275

Committed r202061: &lt;http://trac.webkit.org/changeset/202061&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202296</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-06-14 13:33:52 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202297</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-06-14 13:40:03 -0700</bug_when>
    <thetext>Is there any way to avoid having timeouts in the normal execution path? It is normal for a regression test to stall for a couple seconds, so doubling a timeout is not a reliable fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202304</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-06-14 13:55:17 -0700</bug_when>
    <thetext>Yes, it could be possible with more hardcoding of expected messages.

  Expect 4 messages =&gt; advance()
  Expect 4 messages =&gt; advance()
  Expect 4 messages =&gt; advance() =&gt; end</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>281275</attachid>
            <date>2016-06-14 13:30:48 -0700</date>
            <delta_ts>2016-06-14 13:33:47 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-158750-20160614133224.patch</filename>
            <type>text/plain</type>
            <size>1470</size>
            <attacher name="Ryan Haddad">ryanhaddad</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjAyMDYwCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggZDJhN2Y0NzIxMWU0NWU0NjVhMmR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