mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1433903 - Skip parts of test_nonascii_path.js for Thunderbird. r=emk
This commit is contained in:
parent
8d9f63fff6
commit
4c1552631d
@ -19,7 +19,9 @@ env.set("XPCSHELL_TEST_PROFILE_DIR", file.path);
|
||||
|
||||
file = do_get_profile(); // must be called before getting nsIX509CertDB
|
||||
Assert.ok(/[^\x20-\x7f]/.test(file.path), "the profile path should contain a non-ASCII character");
|
||||
if (mozinfo.os == "win") {
|
||||
// Due to 8.3 names being enabled on Thunderbird's Buildbot, this will fail. It passes
|
||||
// on TaskCluster, so this check can be removed when Buildbot is dropped.
|
||||
if (mozinfo.os == "win" && AppConstants.MOZ_APP_NAME != "thunderbird") {
|
||||
file.QueryInterface(Components.interfaces.nsILocalFileWin);
|
||||
Assert.ok(/[^\x20-\x7f]/.test(file.canonicalPath), "the profile short path should contain a non-ASCII character");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user