| Summary: | REGRESSION(r267402): [ macOS iOS Release ] imported/w3c/web-platform-tests/user-timing/measure-l3.any.worker.html is a flaky failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Hector Lopez <hector_i_lopez> | ||||
| Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | achristensen, clopez, ews-watchlist, sam, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Hector Lopez
2020-09-29 19:40:02 PDT
Test expectation while investigated: https://trac.webkit.org/changeset/267778/webkit Created attachment 417279 [details]
Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Comment on attachment 417279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417279&action=review > LayoutTests/imported/w3c/web-platform-tests/user-timing/measure-l3.any.js:25 > + assert_greater_than_equal(Number(endTime(measureEntry).toFixed(2)), endMin); > + assert_greater_than_equal(endMax, Number(endTime(measureEntry).toFixed(2))); Would it be better to do this by subtraction and picking a maximum delta instead? Comment on attachment 417279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417279&action=review >> LayoutTests/imported/w3c/web-platform-tests/user-timing/measure-l3.any.js:25 >> + assert_greater_than_equal(endMax, Number(endTime(measureEntry).toFixed(2))); > > Would it be better to do this by subtraction and picking a maximum delta instead? Probably, but this is consistent with what is already done elsewhere in this test. Committed r271320: <https://trac.webkit.org/changeset/271320> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417279 [details]. |