Fix transparent-text-* LCP Web Platform Tests
Categories
(Core :: DOM: Performance APIs, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: jlink, Assigned: jlink)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
Both of these tests have similar, questionable behavior - they wait until the "larger_text" element is added to the LCP entries list, and then assert that there is exactly one item in that list. This doesn't really make sense, as there are two LCP-eligible elements on the page and there is no guarantee on the order, in time, in which they will get added.
To fix this, we should wait until both elements get added to the list and then confirm that the correct one is in the last position in that list.
| Assignee | ||
Comment 1•1 year ago
|
||
rather than look at count r=sfeng
| Assignee | ||
Comment 2•1 year ago
|
||
rather than once the tested one is there. r=sfeng
Depends on D241892
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The severity field is not set for this bug.
:bas.schouten, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
https://github.com/web-platform-tests/interop/issues/948 has been created to facilitate any potential discussion on this topic.
Comment 7•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•