Skip to content

Commit

Permalink
bug 447999 - test_punycodeURIs.js fails on (SeaMonkey and Thunderbird…
Browse files Browse the repository at this point in the history
…) Mac 10.4 tinderbox, don't run test on 10.4, based on a comment by bz, r=ted
  • Loading branch information
mstange committed Sep 23, 2008
1 parent 018a3e3 commit 3f9b2f5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions uriloader/exthandler/tests/unit/test_punycodeURIs.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ function checkFile() {
}

function run_test() {
// don't run the test on Mac OS 10.4 - see bug 447999
const httpHandler =
Components.classes["@mozilla.org/network/protocol;1?name=http"]
.getService(Components.interfaces.nsIHttpProtocolHandler);
const oscpu = httpHandler.oscpu;
if (oscpu.match(/Mac OS X 10.4/)) {
dump("This test is not run on Mac OS 10.4 because it fails for unknown " +
"reasons. See bug 447999.\n");
return;
}

// set up the uri to test with
var ioService = Components.classes["@mozilla.org/network/io-service;1"].
getService(Components.interfaces.nsIIOService);
Expand Down

0 comments on commit 3f9b2f5

Please sign in to comment.