Test failed: wpt/resource-timing/buffer-full-add-then-clear
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: noam.helfman, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4261.0 Safari/537.36 Edg/87.0.640.0
Steps to reproduce:
Follow https://github.com/web-platform-tests/wpt steps to setup test env
wpt serve
Open:
http://web-platform.test:8000/resource-timing/buffer-full-add-then-clear.html
Actual results:
Test failure with the following message:
Fail Test that if the buffer is cleared after entries were added to the secondary buffer, those entries make it into the primary one assert_equals: the last 3 resources should be in the buffer, since the first one was cleared expected 3 but got 0
testThatBufferContainsTheRightResources@http://web-platform.test:8000/resource-timing/buffer-full-add-then-clear.html:33:18
@http://web-platform.test:8000/resource-timing/buffer-full-add-then-clear.html:45:5
Expected results:
Test pass:
Pass Test that if the buffer is cleared after entries were added to the secondary buffer, those entries make it into the primary one
Comment 1•5 years ago
|
||
Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.
Emilio, it seems you are the last person that introduced non-refactoring code change in dom/performance/Performance.cpp. I don't think it's directly related, but mind taking a look?
Comment 4•5 years ago
|
||
I think the test is bogus. It is relying on xhrScript inserting a performance entry synchronously and I don't think that's guaranteed. I filed https://github.com/web-platform-tests/wpt/issues/25650
Description
•