<?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>199242</bug_id>
          
          <creation_ts>2019-06-26 16:10:54 -0700</creation_ts>
          <short_desc>Layout Test http/tests/performance/performance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash.html is failing</short_desc>
          <delta_ts>2026-01-05 10:17:26 -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>WONTFIX</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="Russell Epstein">repstein</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ryanhaddad</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1548170</commentid>
    <comment_count>0</comment_count>
    <who name="Russell Epstein">repstein</who>
    <bug_when>2019-06-26 16:10:54 -0700</bug_when>
    <thetext>The following layout test is failing on Debug Mac WK1
http/tests/performance/performance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash.html

Steps to Reproduce:

When attempting to reproduce the issue locally, the output of the tests was fairly variable. Switched to testing on a relevant bot for environmental consistency.

The test is failing at the tip of tree (r246832) all the way back to as early as r228050 with the same layout-test-results diff.

Attempted to test as far back as r227926, where the test was introduced, but no builds were available beyond r228050.


Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fperformance%2Fperformance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash.html

Diff:

--- /Volumes/Data/slave/mojave-debug-tests-wk1/build/layout-test-results/http/tests/performance/performance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash-expected.txt
+++ /Volumes/Data/slave/mojave-debug-tests-wk1/build/layout-test-results/http/tests/performance/performance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash-actual.txt
@@ -7,25 +7,25 @@
 PASS performance.getEntriesByType(&quot;resource&quot;).length is 0
 performance.setResourceTimingBufferSize(2)
 fetchImages(3).then(checkInitialState)
-PASS originalResources = performance.getEntriesByType(&quot;resource&quot;); originalResources.length is 2
+FAIL originalResources = performance.getEntriesByType(&quot;resource&quot;); originalResources.length should be 2. Was 1.
 PASS originalResources[0].initiatorType is &quot;fetch&quot;
-PASS new URL(originalResources[0].name).search is &quot;?resource=0&quot;
-PASS originalResources[1].initiatorType is &quot;fetch&quot;
-PASS new URL(originalResources[1].name).search is &quot;?resource=1&quot;
+FAIL new URL(originalResources[0].name).search should be ?resource=0. Was ?resource=1.
+FAIL originalResources[1].initiatorType should be fetch. Threw exception TypeError: undefined is not an object (evaluating &apos;originalResources[1].initiatorType&apos;)
+FAIL new URL(originalResources[1].name).search should be ?resource=1. Threw exception TypeError: undefined is not an object (evaluating &apos;originalResources[1].name&apos;)
 PASS resourcetimingbufferfullEventCount is 0
 
 Inside resourcetimingbufferfull 1
 performance.setResourceTimingBufferSize(1)
 PASS resourcesAfterShrinkingBuffer = performance.getEntriesByType(&quot;resource&quot;); resourcesAfterShrinkingBuffer.length is 2
 PASS resourcesAfterShrinkingBuffer[0] is originalResources[0]
-PASS resourcesAfterShrinkingBuffer[1] is originalResources[1]
+FAIL resourcesAfterShrinkingBuffer[1] should be undefined (of type undefined). Was [object PerformanceResourceTiming] (of type object).
 PASS performance.clearResourceTimings(); performance.getEntriesByType(&quot;resource&quot;).length is 0
 
 After resourcetimingbufferfull
 PASS resourcetimingbufferfullEventCount is 1
 PASS resourcesAfterClearing = performance.getEntriesByType(&quot;resource&quot;); resourcesAfterClearing.length is 1
 PASS resourcesAfterClearing[0].initiatorType is &quot;fetch&quot;
-PASS new URL(resourcesAfterClearing[0].name).search is &quot;?resource=2&quot;
+FAIL new URL(resourcesAfterClearing[0].name).search should be ?resource=2. Was ?resource=0.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548177</commentid>
    <comment_count>1</comment_count>
      <attachid>372964</attachid>
    <who name="Russell Epstein">repstein</who>
    <bug_when>2019-06-26 16:18:21 -0700</bug_when>
    <thetext>Created attachment 372964
Update TestExpectations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548179</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-26 16:19:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/52217225&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548180</commentid>
    <comment_count>3</comment_count>
      <attachid>372964</attachid>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-06-26 16:20:50 -0700</bug_when>
    <thetext>Comment on attachment 372964
Update TestExpectations

Clearing flags on attachment: 372964

Committed r246854: &lt;https://trac.webkit.org/changeset/246854&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548200</commentid>
    <comment_count>4</comment_count>
    <who name="Russell Epstein">repstein</who>
    <bug_when>2019-06-26 16:30:58 -0700</bug_when>
    <thetext>Marking test as flaky until issue is resolved

(In reply to Truitt Savell from comment #3)
&gt; Comment on attachment 372964 [details]
&gt; Update TestExpectations
&gt; 
&gt; Clearing flags on attachment: 372964
&gt; 
&gt; Committed r246854: &lt;https://trac.webkit.org/changeset/246854&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169344</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-05 10:17:26 -0800</bug_when>
    <thetext>Closing old WebKitLegacy bugs as we cut-back WebKitLegacy testing. See https://bugs.webkit.org/show_bug.cgi?id=304436.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>372964</attachid>
            <date>2019-06-26 16:18:21 -0700</date>
            <delta_ts>2019-06-26 16:20:50 -0700</delta_ts>
            <desc>Update TestExpectations</desc>
            <filename>bug-199242-20190626161820.patch</filename>
            <type>text/plain</type>
            <size>1710</size>
            <attacher name="Russell Epstein">repstein</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ2ODUyCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggY2Q3Y2QwOWJhYzVhY2U5ZWRlZjlm
ZDNjYTg2YmE3Mzg5NjhiZDk5MC4uMzMxNjVjNTU2NmFmMmQ4MWU5YTJhNTQzYWUyZjI1Yjg0MGNh
NjgzOCAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDE5LTA2LTI2ICBSdXNzZWxsIEVwc3RlaW4g
IDxydXNzZWxsX2VAYXBwbGUuY29tPgorCisgICAgICAgIExheW91dCBUZXN0IGh0dHAvdGVzdHMv
cGVyZm9ybWFuY2UvcGVyZm9ybWFuY2UtcmVzb3VyY2UtdGltaW5nLXJlc291cmNldGltaW5nYnVm
ZmVyZnVsbC1zaHJpbmtpbmctYnVmZmVyLWNyYXNoLmh0bWwgaXMgZmFpbGluZy4KKyAgICAgICAg
aHR0cHM6Ly9idWdzLndl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