wpt __dir__.ini prefs apply to sub-directories on linux/mac, but not windows

NEW
Unassigned

Status

3 years ago
3 years ago

People

(Reporter: bkelly, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
We have some SW prefs set in this file:

  service-workers/service-workers/__dir__.ini

On mac and linux these prefs are applied to the tests in these two directories:

  service-workers/service-workers
  service-workers/service-workers/ServiceWorkerGlobalScope

On windows, though, I had to add a separate __dir__.ini for the prefs to be applied.  See bug 1220014.

What is the actual desired behavior?  Seems like at least one platform has an issue with in the testharness.
Windows is wrong here; it's a path seperator problem.
I think this will also be solved by https://github.com/w3c/wpt-tools/pull/39 which ensures that the test paths are always stored on disk with / as the separator and in memory using the os.path.sep (the code here splits on the latter so is broken using a manifest generated on Linux under Windows).
You need to log in before you can comment on or make changes to this bug.