Bug 193006 - infinite resourcetimingbufferfull loop
Summary: infinite resourcetimingbufferfull loop
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-12-21 21:22 PST by cvazac
Modified: 2018-12-23 17:36 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cvazac 2018-12-21 21:22:18 PST
During a `resourcetimingbufferfull` handler, a web-platform-test [0] fetches a resource. Per spec [1] the entry for that resource should land in the secondary buffer ("add a PerformanceResourceTiming entry" step 4) and then ultimately dropped ("fire a buffer full event" step 5). Instead, another `resourcetimingbufferfull` is firing, and we end up in an infinite loop

[0] https://wpt.fyi/results/resource-timing/buffer-full-add-entries-during-callback-that-drop.html?label=experimental
[1] https://w3c.github.io/resource-timing/
Comment 1 Radar WebKit Bug Importer 2018-12-23 17:36:25 PST
<rdar://problem/46926610>