Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit a5cff84

Browse files
author
Tanvi Vyas
committed
Bug 855730 - Remove failing test so that we can re-enable the rest of the tests here. r=smaug
1 parent 58a9e6f commit a5cff84

3 files changed

Lines changed: 2 additions & 19 deletions

File tree

content/base/test/Makefile.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ MOCHITEST_FILES_C= \
599599
file_mixed_content_main_bug803225.html \
600600
file_mixed_content_main_bug803225_websocket_wsh.py \
601601
bug803225_test_mailto.html \
602+
test_mixed_content_blocker_frameNavigation.html \
602603
file_mixed_content_frameNavigation.html \
603604
file_mixed_content_frameNavigation_innermost.html \
604605
file_mixed_content_frameNavigation_grandchild.html \
@@ -664,9 +665,6 @@ MOCHITEST_FILES_PARTS = $(foreach s,A B C,MOCHITEST_FILES_$(s))
664665
# test_XHR_timeout.js \
665666
# file_XHR_timeout.sjs \
666667
667-
# Disabled for frequent failures (bug 855730).
668-
# test_mixed_content_blocker_frameNavigation.html \
669-
670668
MOCHITEST_BROWSER_FILES = \
671669
browser_bug593387.js \
672670
$(NULL)

content/base/test/file_mixed_content_frameNavigation_secure.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,7 @@
6060

6161
setTimeout(navigationStatus, TIMEOUT_INTERVAL, iframe_test1);
6262

63-
// Test 2: Navigate secure grandchild iframe to insecure grandchild iframe on a page that has at least one secure parent (in this example, both the parent and grandparent are https)
64-
65-
var iframe_test2 = document.createElement("iframe");
66-
iframe_test2.src = "https://example.com/tests/content/base/test/file_mixed_content_frameNavigation_secure_grandchild.html";
67-
iframe_test2.onerror = function() {
68-
parent.postMessage({"test": "securePage_navigate_grandchild", "msg": "got an onerror event when loading or navigating testing iframe"}, "http://mochi.test:8888");
69-
};
70-
testContent.appendChild(iframe_test2);
71-
72-
// Test 3: Open an http page in a new tab from a link click with target=_blank.
63+
// Test 2: Open an http page in a new tab from a link click with target=_blank.
7364
var iframe_test3 = document.createElement("iframe");
7465
iframe_test3.src = "https://example.com/tests/content/base/test/file_mixed_content_frameNavigation_blankTarget.html";
7566
iframe_test3.onerror = function() {

content/base/test/test_mixed_content_blocker_frameNavigation.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
var testsToRunSecure = {
2727
securePage_navigate_child: false,
28-
securePage_navigate_grandchild: false,
2928
blankTarget: false,
3029
};
3130

@@ -105,11 +104,6 @@
105104
testsToRunSecure["securePage_navigate_child"] = true;
106105
break;
107106

108-
case "securePage_navigate_grandchild":
109-
ok(blockActive == (event.data.msg == "navigating to insecure grandchild iframe blocked on secure page"), "navigated to insecure granchild iframe on secure page");
110-
testsToRunSecure["securePage_navigate_grandchild"] = true;
111-
break;
112-
113107
case "blankTarget":
114108
ok((event.data.msg == "opened an http link with target=_blank from a secure page"), "couldn't open an http link in a new window from a secure page");
115109
testsToRunSecure["blankTarget"] = true;

0 commit comments

Comments
 (0)