Open Bug 1050207 Opened 5 years ago Updated 4 years ago

Expose OS to xpcshell tests

Categories

(Testing :: XPCShell Harness, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

People

(Reporter: gfritzsche, Unassigned)

References

Details

Attachments

(1 file)

We have custom tests for the operating system spread across our tests, e.g.:
http://dxr.mozilla.org/mozilla-central/search?q=iswindows+path%3Atest&case=false

isWindows, gIsWindows, isOSX, gIsOsx, ...

We should just expose a property for that to the tests from a single location.
See Also: → 1050205
See also bug 1050205 for the mochitest incarnation.
Attached patch Use mozinfoSplinter Review
For the reference, this is a patch to use mozinfo in xpcshell tests.
You need to log in before you can comment on or make changes to this bug.