Bug 1027940 - Disable the toolkit/webapprt test using manifests. r=tabraldes

This commit is contained in:
Marco Castelluccio 2014-06-22 23:33:38 +02:00
parent a8a162ead7
commit aca5132f77
12 changed files with 31 additions and 101 deletions

View File

@ -1,4 +1,5 @@
[DEFAULT]
skip-if = os == "mac" && os_version == "10.6" # see bug 993690
support-files =
head.js
app.sjs

View File

@ -11,7 +11,6 @@ Cu.import("resource://gre/modules/WebappOSUtils.jsm");
const LINUX = navigator.platform.startsWith("Linux");
const MAC = navigator.platform.startsWith("Mac");
const WIN = navigator.platform.startsWith("Win");
const MAC_106 = navigator.userAgent.contains("Mac OS X 10.6");
const PR_RDWR = 0x04;
const PR_CREATE_FILE = 0x08;

View File

@ -139,17 +139,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -142,17 +142,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -94,17 +94,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -94,17 +94,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -111,17 +111,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -156,17 +156,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -155,17 +155,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -102,17 +102,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -102,17 +102,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>

View File

@ -125,17 +125,10 @@ let runTest = Task.async(function*() {
SimpleTest.finish();
});
// The test doesn't work yet on Mac OS X 10.6 machines.
// See bug 993690.
if (MAC_106) {
todo(false, "The test doesn't work on Mac OS X 10.6 machines");
runTest().catch((e) => {
ok(false, "Error during test: " + e);
SimpleTest.finish();
} else {
runTest().then(null, function(e) {
ok(false, "Error during test: " + e);
SimpleTest.finish();
});
}
});
]]>
</script>