Expose OS to xpcshell tests

NEW
Unassigned

Status

4 years ago
4 years ago

People

(Reporter: gfritzsche, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
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.
(Reporter)

Updated

4 years ago
See Also: → bug 1050205
(Reporter)

Comment 1

4 years ago
See also bug 1050205 for the mochitest incarnation.
Depends on: 1150818
Created attachment 8591960 [details] [diff] [review]
Use mozinfo

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.