[wpt-sync] Sync PR 62224 - [Extensions] Support Windows paths in WPT runner
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox157 fixed)
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62224 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62224
Details from upstream follow.
justinlulejian <justinlulejian@users.noreply.github.com> wrote:
[Extensions] Support Windows paths in WPT runner
Before this CL, web-extension WPT tests (such as browser.alarms, browser.bookmarks, browser.browsingData, browser.idle, browser.runtime, and browser.storage), when running these tests on Windows, had
executorwebdriver._resolve_pathfail because it splittest_pathon "/" while Windows paths use backslashes.This caused invalid concatenated extension paths like "web-extensions\browser.alarms.extension.html/resources/alarms/", leading to unhandled promise rejections during extension installation. After this CL, web-extension WPT tests resolve paths correctly across all platforms.
To accomplish this, executorwebdriver._resolve_path now normalizes Windows backslashes to forward slashes with posixpath.dirname and strips leading slashes before joining.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 6•3 months ago
|
||
| Assignee | ||
Comment 7•3 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 8•3 months ago
|
||
| Assignee | ||
Comment 9•3 months ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 10•3 months ago
|
||
Comment 11•2 months ago
|
||
| Assignee | ||
Comment 12•2 months ago
|
||
Test result changes from PR not available.
Comment 13•2 months ago
|
||
| bugherder | ||
Description
•