[Webkit-unassigned] [Bug 193004] New: resourcetimingbufferfull fired prematurely
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 21 20:16:42 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=193004
Bug ID: 193004
Summary: resourcetimingbufferfull fired prematurely
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cvazac at gmail.com
A web-platform-test test [0] overflows the buffer, but then immediately increases the size of the buffer to make room for the new entries. In that case, a `resourcetimingbufferfull` event should never actually fire.
In the test, resources/empty.js?xhr2 and resources/empty.js?xhr3 overflow the buffer. Which queues a task (async) to run the "fire a buffer full event" steps. Then the developer calls `setResourceTimingBufferSize()` to make more room. When the "fire a buffer full event" steps do run, "can add resource timing entry" will return true (which means we don't fire `resourcetimingbufferfull`). At that point, both entries of the secondary buffer fit into the primary buffer.
[0] https://wpt.fyi/results/resource-timing/buffer-full-then-increased.html?label=experimental
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181222/6493ef2d/attachment.html>
More information about the webkit-unassigned
mailing list