Closed Bug 1666648 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25683 - Fix #23969: Use inexact test type for DUPLICATE-BASENAME-PATH

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25683 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25683
Details from upstream follow.

b'Sam Sneddon <me@gsnedders.com>' wrote:

Fix #23969: Use inexact test type for DUPLICATE-BASENAME-PATH

The introduction of the DUPLICATE-BASENAME-PATH lint caused a significant performance regression which this now reverses. That is (and this fixes) #23969.

This introduces a function that determines possible test types without actually reading the file, based purely on the file name. This provides a significant increase in performance for the lint without a significant change in accuracy.

Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9f210c4b65b
[wpt PR 25683] - Fix #23969: Use inexact test type for DUPLICATE-BASENAME-PATH, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.