diff --git a/content/base/test/test_CrossSiteXHR.html b/content/base/test/test_CrossSiteXHR.html index a1ab090a6e14..679feb348f11 100644 --- a/content/base/test/test_CrossSiteXHR.html +++ b/content/base/test/test_CrossSiteXHR.html @@ -40,6 +40,12 @@ window.addEventListener("message", function(e) { gen = runTest(); function runTest() { + if (navigator.platform == "MacIntel") { + todo(false, "httpd.js fails on Mac"); + SimpleTest.finish(); + yield; + } + var loader = document.getElementById('loader'); var loaderWindow = loader.contentWindow; loader.onload = function () { gen.next() }; @@ -402,10 +408,6 @@ function runTest() { "wrong responseText in test for " + test.toSource()); } - /*SimpleTest.finish(); - - yield;*/ - for each(test in failTests) { req = { url: baseURL + "allowOrigin=" + escape(origin), diff --git a/content/base/test/test_CrossSiteXHR_cache.html b/content/base/test/test_CrossSiteXHR_cache.html index ffd61d5664eb..662f1ecb6aa9 100644 --- a/content/base/test/test_CrossSiteXHR_cache.html +++ b/content/base/test/test_CrossSiteXHR_cache.html @@ -26,6 +26,12 @@ window.addEventListener("message", function(e) { gen = runTest(); function runTest() { + if (navigator.platform == "MacIntel") { + todo(false, "httpd.js fails on Mac"); + SimpleTest.finish(); + yield; + } + var loader = document.getElementById('loader'); var loaderWindow = loader.contentWindow; loader.onload = function () { gen.next() };