<?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>186077</bug_id>
          
          <creation_ts>2018-05-29 18:19:12 -0700</creation_ts>
          <short_desc>Update default Resource Timing buffer size from 150 to 250</short_desc>
          <delta_ts>2024-03-12 16:25:14 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Nic Jansma">nic</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1428313</commentid>
    <comment_count>0</comment_count>
    <who name="Nic Jansma">nic</who>
    <bug_when>2018-05-29 18:19:12 -0700</bug_when>
    <thetext>Per https://github.com/w3c/resource-timing/pull/155, the ResourceTiming default buffer size should be increased from 150 to 250.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020006</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-10 19:41:21 -0700</bug_when>
    <thetext>We have this function - setResourceTimingBufferSize

https://searchfox.org/wubkat/rev/c67bb750f2c1083399f0dbe7d08b416cd45eee34/Source/WebCore/page/Performance.cpp#247

Although looking into WPT: https://wpt.fyi/results/resource-timing?label=master&amp;label=experimental&amp;aligned&amp;q=buffer

Safari seems to pass all tests, do we need to do anything here?

@Ryosuke - any input or whom might be right person to comment on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020354</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-03-11 20:40:29 -0700</bug_when>
    <thetext>We still have 150 hard-coded in Performance.h. We need to update it to 250 per spec: https://w3c.github.io/resource-timing/#sec-extensions-performance-interface</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020357</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-11 20:45:54 -0700</bug_when>
    <thetext>(In reply to Ryosuke Niwa from comment #2)
&gt; We still have 150 hard-coded in Performance.h. We need to update it to 250
&gt; per spec:
&gt; https://w3c.github.io/resource-timing/#sec-extensions-performance-interface

Is it just to update this?

https://searchfox.org/wubkat/rev/711120e7edec012527620d07bf63d85713a180fd/Source/WebCore/page/Performance.h#146

unsigned m_resourceTimingBufferSize { 150 };

Can do PR to update it to 250 with reference to web-spec, do I need to adjust any tests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020358</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-11 20:52:03 -0700</bug_when>
    <thetext>Draft PR - https://github.com/WebKit/WebKit/pull/25757

Let&apos;s see what happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020360</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-03-11 21:00:12 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25758</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020591</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-12 16:24:19 -0700</bug_when>
    <thetext>Committed 276007@main (94cf8a4a86fc): &lt;https://commits.webkit.org/276007@main&gt;

Reviewed commits have been landed. Closing PR #25758 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020592</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-12 16:25:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/124487568&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>