diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js b/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js index 5acbc65e1b81..7c00602a0799 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js @@ -21,6 +21,8 @@ var ssm = Components.classes["@mozilla.org/scriptsecuritymanager;1"] const XUL_PRINCIPAL = ssm.createCodebasePrincipal(XUL_URI, {}); add_task(function*() { + requestLongerTimeout(2); + info("Checking stylesheets on HTML document"); yield addTab(TEST_URI_HTML); let target = getNode("#target"); diff --git a/layout/style/test/mochitest.ini b/layout/style/test/mochitest.ini index b92e590950f5..1e5e7d53bc22 100644 --- a/layout/style/test/mochitest.ini +++ b/layout/style/test/mochitest.ini @@ -293,3 +293,4 @@ skip-if = buildapp == 'b2g' || toolkit == 'android' #TIMED_OUT # b2g(bug 870262, skip-if = buildapp == 'b2g' || toolkit == 'android' #TIMED_OUT # b2g(bug 870262, :visited support) b2g-debug(bug 870262, :visited support) b2g-desktop(bug 870262, :visited support) [test_webkit_box_orient.html] [test_webkit_device_pixel_ratio.html] +[test_asyncopen2.html] diff --git a/layout/style/test/test_asyncopen2.html b/layout/style/test/test_asyncopen2.html new file mode 100644 index 000000000000..6dda6848a6c2 --- /dev/null +++ b/layout/style/test/test_asyncopen2.html @@ -0,0 +1,54 @@ + + + + + Bug 1195173 - Test asyncOpen2 security exception + + + + + + + + +Mozilla Bug 1195173 +

+ + + + + diff --git a/testing/web-platform/mozilla/tests/service-workers/service-worker/fetch-request-resources.https.html b/testing/web-platform/mozilla/tests/service-workers/service-worker/fetch-request-resources.https.html index 6affec97619a..1ae5172294a5 100644 --- a/testing/web-platform/mozilla/tests/service-workers/service-worker/fetch-request-resources.https.html +++ b/testing/web-platform/mozilla/tests/service-workers/service-worker/fetch-request-resources.https.html @@ -109,12 +109,12 @@ async_test(function(t) { .then(function(f) { frame = f; - // TODO: Disable 'no-cors' tests for image and stylesheet until + // TODO: Disable 'no-cors' tests for image until // AsyncOpen2 and cookie policy is supported. // image_test(f, LOCAL_URL, '', 'no-cors', 'include'); // image_test(f, REMOTE_URL, '', 'no-cors', 'include'); - // css_test(f, LOCAL_URL, '', 'no-cors', 'include'); - // css_test(f, REMOTE_URL, '', 'no-cors', 'include'); + css_test(f, LOCAL_URL, '', 'no-cors', 'include'); + css_test(f, REMOTE_URL, '', 'no-cors', 'include'); image_test(f, LOCAL_URL, 'anonymous', 'cors', 'same-origin'); image_test(f, LOCAL_URL, 'use-credentials', 'cors', 'include'); @@ -130,7 +130,7 @@ async_test(function(t) { css_test(f, LOCAL_URL, 'anonymous', 'cors', 'same-origin'); css_test(f, LOCAL_URL, 'use-credentials', 'cors', 'include'); - css_test(f, REMOTE_URL, 'anonymous', 'cors', 'omit'); + css_test(f, REMOTE_URL, 'anonymous', 'cors', 'same-origin'); css_test(f, REMOTE_URL, 'use-credentials', 'cors', 'include'); font_face_test(f, LOCAL_URL, 'cors', 'same-origin');