<?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>166911</bug_id>
          
          <creation_ts>2017-01-10 17:19:10 -0800</creation_ts>
          <short_desc>REGRESSION: LayoutTest fast/dom/Window/window-properties-performance-resource-timing.html is a flaky failure</short_desc>
          <delta_ts>2017-01-18 17:02:27 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1265597</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-10 17:19:10 -0800</bug_when>
    <thetext>LayoutTest fast/dom/Window/window-properties-performance-resource-timing.html is a flaky failure

https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK2%20(Tests)/r210559%20(1599)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=fast%2Fdom%2FWindow%2Fwindow-properties-performance-resource-timing.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/dom/Window/window-properties-performance-resource-timing-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/dom/Window/window-properties-performance-resource-timing-actual.txt
@@ -42,6 +42,12 @@
 window.performance.timing.unloadEventEnd [number]
 window.performance.timing.unloadEventStart [number]
 window.performance.timing [printed above as window.performance.timing]
-window.performance.navigation [printed above as window.performance.navigation]
+window.performance.navigation [object PerformanceNavigation]
+window.performance.navigation.TYPE_BACK_FORWARD [number]
+window.performance.navigation.TYPE_NAVIGATE [number]
+window.performance.navigation.TYPE_RELOAD [number]
+window.performance.navigation.TYPE_RESERVED [number]
+window.performance.navigation.redirectCount [number]
+window.performance.navigation.type [number]
 window.performance [string]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1265624</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-10 17:36:43 -0800</bug_when>
    <thetext>Also seeing a flaky failure with the same diff with test: fast/dom/Window/window-properties-performance.html

https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK1%20(Tests)/r210566%20(2403)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1266693</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-13 17:21:09 -0800</bug_when>
    <thetext>Alexey mentioned to me that this issue could be related to the GC, and looking at the flakiness dashboard, that theory does seem to line up. The test was flaky around the time the new GC was enabled, but has definitely become much flakier in the past two weeks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1266789</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-01-13 23:46:46 -0800</bug_when>
    <thetext>The symptom means that window.performance.navigation.__visitedByLogValue__ disappears while the test is running, which would mean that JS wrapper for the object gets collected.

The flakiness dashboard only has results since December 12th, and the test was failing in the same way back then. So, I don&apos;t think that we can find out if the test was failing in the same way before concurrent GC (which was enabled on the 11th). It&apos;s possible that concurrent GC is simply more effective at quickly collecting the wrapper, and the bug is in the bindings.

I do not know if one needs to do anything custom to protect the GC wrapper these days. Do we still need to add visitAdditionalChildren() functions everywhere?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1267951</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-18 17:02:27 -0800</bug_when>
    <thetext>Marked the two tests as flaky in https://trac.webkit.org/changeset/210901</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>