mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
bug 705047 - re-enable OOP crashreporter tests on mac. r=philor
This commit is contained in:
parent
8366731c85
commit
b666926039
@ -17,13 +17,6 @@
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
function runTests() {
|
function runTests() {
|
||||||
if (!SimpleTest.testPluginIsOOP()) {
|
if (!SimpleTest.testPluginIsOOP()) {
|
||||||
ok(true, "Skipping this test when test plugin is not OOP.");
|
ok(true, "Skipping this test when test plugin is not OOP.");
|
||||||
|
@ -15,13 +15,6 @@
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
var success = false;
|
var success = false;
|
||||||
|
|
||||||
var observerFired = false;
|
var observerFired = false;
|
||||||
|
@ -15,13 +15,6 @@
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
var success = false;
|
var success = false;
|
||||||
|
|
||||||
var observerFired = false;
|
var observerFired = false;
|
||||||
|
@ -18,13 +18,6 @@
|
|||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
SimpleTest.ignoreAllUncaughtExceptions();
|
SimpleTest.ignoreAllUncaughtExceptions();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
Components.utils.import("resource://gre/modules/NetUtil.jsm");
|
Components.utils.import("resource://gre/modules/NetUtil.jsm");
|
||||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||||
|
|
||||||
|
@ -7,15 +7,7 @@
|
|||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
window.frameLoaded = function frameLoaded_toCrash() {
|
window.frameLoaded = function frameLoaded_toCrash() {
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
if (!SimpleTest.testPluginIsOOP()) {
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!SimpleTest.testPluginIsOOP()) {
|
|
||||||
ok(true, "Skipping this test when test plugin is not OOP.");
|
ok(true, "Skipping this test when test plugin is not OOP.");
|
||||||
SimpleTest.finish();
|
SimpleTest.finish();
|
||||||
return;
|
return;
|
||||||
|
@ -6,13 +6,6 @@
|
|||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
window.frameLoaded = function frameLoaded_toCrash() {
|
window.frameLoaded = function frameLoaded_toCrash() {
|
||||||
if (!SimpleTest.testPluginIsOOP()) {
|
if (!SimpleTest.testPluginIsOOP()) {
|
||||||
ok(true, "Skipping this test when test plugin is not OOP.");
|
ok(true, "Skipping this test when test plugin is not OOP.");
|
||||||
|
@ -17,13 +17,6 @@
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
if (isOSXLion || isOSXMtnLion) {
|
|
||||||
todo(false, "Can't test plugin crash notification on OS X 10.7 or 10.8, see bug 705047");
|
|
||||||
SimpleTest.finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
function runTests() {
|
function runTests() {
|
||||||
if (!SimpleTest.testPluginIsOOP()) {
|
if (!SimpleTest.testPluginIsOOP()) {
|
||||||
ok(true, "Skipping this test when test plugin is not OOP.");
|
ok(true, "Skipping this test when test plugin is not OOP.");
|
||||||
|
@ -3,5 +3,3 @@ head =
|
|||||||
tail =
|
tail =
|
||||||
|
|
||||||
[test_content_annotation.js]
|
[test_content_annotation.js]
|
||||||
# Bug 706751: test fails on 10.7 and 10.8
|
|
||||||
skip-if = os == "mac"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user