<?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>207847</bug_id>
          
          <creation_ts>2020-02-17 10:29:07 -0800</creation_ts>
          <short_desc>REGRESSION: (r256232) [ Mac wk1 Release ] resize-observer/delete-observers-in-callbacks.html is flaky failing.</short_desc>
          <delta_ts>2020-03-13 15:35:15 -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>Mac</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Jason Lawrence">Lawrence.j</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>jacob_uphoff</cc>
    
    <cc>simon.fraser</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>1619714</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-17 10:29:07 -0800</bug_when>
    <thetext>resize-observer/delete-observers-in-callbacks.html

Description:
This test is flaky failing on Mac wk1 Release. The first recorded failure appears to be at r256232.

History:
https://results.webkit.org/?limit=50000&amp;suite=layout-tests&amp;test=resize-observer%2Fdelete-observers-in-callbacks.html&amp;platform=mac


Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/resize-observer/delete-observers-in-callbacks-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/resize-observer/delete-observers-in-callbacks-actual.txt
@@ -1,5 +1,5 @@
 t1
 
-PASS ResizeObserver implemented 
-PASS Test deleting observer in callbacks 
+FAIL ResizeObserver implemented assert_own_property: expected property &quot;ResizeObserver&quot; missing
+FAIL Test deleting observer in callbacks promise_test: Unhandled rejection with value: object &quot;ReferenceError: Can&apos;t find variable: ResizeObserver&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619716</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-17 10:29:29 -0800</bug_when>
    <thetext>&lt;rdar://problem/59516099&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619719</commentid>
    <comment_count>2</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-17 10:34:07 -0800</bug_when>
    <thetext>I have marked this test as failing while this issue is investigated.
https://trac.webkit.org/changeset/256744/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619957</commentid>
    <comment_count>3</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-02-17 15:52:05 -0800</bug_when>
    <thetext>Reproducible by running the test in iterations. Ran this command: &apos;run-webkit-tests --root release-256766 resize-observer/delete-observers-in-callbacks.html -1 -f --iterations 5000&apos; and failed 8 times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619958</commentid>
    <comment_count>4</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-02-17 16:03:51 -0800</bug_when>
    <thetext>Looks like it might not be a recent regression, I have run the test back to commit 256422 and am seeing the failure there. It is curious because the failures will happen pretty early on in the iteration runs then pass for the rest of them.


Results:

[8/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[8/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[10/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[11/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[12/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[18/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[22/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
[24/5002] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)
No handlers could be found for logger &quot;webkitpy.common.interrupt_debugging&quot;

Retrying 1 unexpected failure ...

Running 1 DumpRenderTree.

[1/1] resize-observer/delete-observers-in-callbacks.html failed unexpectedly (text diff)

4994 tests ran as expected, 8 didn&apos;t:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619976</commentid>
    <comment_count>5</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-17 16:46:59 -0800</bug_when>
    <thetext>I am able to reproduce this issue with r256232, but not with r256231 using this command:

run-webkit-tests resize-observer/delete-observers-in-callbacks.html --force -f --iterations 5000 --exit-after-n-failures 5 -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629805</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-03-13 13:37:26 -0700</bug_when>
    <thetext>Looks like ResizeObserver is enabled by a setting:
EnabledBySetting=ResizeObserver</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629807</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-03-13 13:40:18 -0700</bug_when>
    <thetext>The test also uses the following header:
&lt;!DOCTYPE html&gt;&lt;!-- webkit-test-runner [ experimental:ResizeObserverEnabled=true ] --&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629824</commentid>
    <comment_count>8</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-03-13 13:59:29 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #7)
&gt; The test also uses the following header:
&gt; &lt;!DOCTYPE html&gt;&lt;!-- webkit-test-runner [
&gt; experimental:ResizeObserverEnabled=true ] --&gt;

The issue is that some settings can be set either via internals JS API or via &lt;!-- webkit-test-runner --&gt;. Depending on which order you do these things, you&apos;ll end up with a different results. Also, to make things more complicated, once the window object has been created, changes to the ResizeObserverEnabled setting are no longer reflected on that Window object. It is important that ResizeObserverEnabled setting be enabled *before* we construct the window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629889</commentid>
    <comment_count>9</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-03-13 15:32:54 -0700</bug_when>
    <thetext>Reverted guilty patch in &lt;https://trac.webkit.org/changeset/258438&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629890</commentid>
    <comment_count>10</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2020-03-13 15:35:15 -0700</bug_when>
    <thetext>Committed r258440: &lt;https://trac.webkit.org/changeset/258440&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>