Closed Bug 1217579 Opened 10 years ago Closed 10 years ago

[e10s] dom/security/test/mixedcontentblocker mochitests that are turned off in e10s

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1237726
Tracking Status
e10s + ---

People

(Reporter: tanvi, Unassigned)

References

(Blocks 1 open bug)

Details

These tests are all skip if e10s: http://mxr.mozilla.org/mozilla-central/source/dom/security/test/mixedcontentblocker/mochitest.ini#16 Running them locally without the flag: * test_frameNavigation.html Passes; we can probably remove skip if e10s for this test. * test_main.html 2 failures relating to objects. If I click the plugin icon, allow the plugin, and refresh the page the test passes. Is there something special about e10s tests and plugins? The plugin is allowed by default in regular mode. Maybe tests run in e10s mode block all plugins by default? http://mxr.mozilla.org/mozilla-central/source/dom/security/test/mixedcontentblocker/file_main.html?force=1#51 See [1] * test_bug803225.html Timesout. See [2]. [1] 25 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_main.html | object did not follow block_active_content pref receiveMessage@dom/security/test/mixedcontentblocker/test_main.html:116:9 EventListener.handleEvent*@dom/security/test/mixedcontentblocker/test_main.html:96:3 49 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_main.html | object did not follow block_active_content pref receiveMessage@dom/security/test/mixedcontentblocker/test_main.html:116:9 EventListener.handleEvent*@dom/security/test/mixedcontentblocker/test_main.html:96:3 50 INFO TEST-OK | dom/security/test/mixedcontentblocker/test_main.html | took 42174ms 51 INFO TEST-START | Shutdown 52 INFO Passed: 46 53 INFO Failed: 2 54 INFO Todo: 0 55 INFO Slowest: 42174ms - /tests/dom/security/test/mixedcontentblocker/test_main.html 56 INFO SimpleTest FINISHED 57 INFO TEST-INFO | Ran 1 Loops 58 INFO SimpleTest FINISHED [2] 1 INFO TEST-START | dom/security/test/mixedcontentblocker/test_bug803225.html JavaScript error: file:///home/mozilla/dev/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/nsWebHandlerApp.js, line 111: TypeError: windowMediator.getMostRecentWindow(...) is null JavaScript error: chrome://specialpowers/content/specialpowersAPI.js, line 162: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "windowMediator.getMostRecentWindow(...) is null" {file: "file:///home/mozilla/dev/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/nsWebHandlerApp.js" line: 111}]'[JavaScript Error: "windowMediator.getMostRecentWindow(...) is null" {file: "file:///home/mozilla/dev/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/nsWebHandlerApp.js" line: 111}]' when calling method: [nsIWebHandlerApp::launchWithURI] JavaScript error: resource://gre/modules/XPCOMUtils.jsm, line 110: SyntaxError: missing ; before statement 2 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with unsafe about protocol loaded 3 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with data protocol did not load 4 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with resource protocol did not load 5 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with about protocol did not load 6 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with javascript protocol did not load 7 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_bug803225.html | resource with mozicon protocol did not load Failed to retrieve MOZ_UPLOAD_DIR env var 8 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_bug803225.html | Test timed out.
Blocks: e10s-tests
tracking-e10s: --- → +
test_frameNavigation.html has been enabled at some point, but the other two are still disabled.
Blocks: 1218958
This is now a dup of bug https://bugzilla.mozilla.org/show_bug.cgi?id=1237726, which has a patch in review to fix the remaining mixed content blocker tests for e10s.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
The patches in there aren't sufficient to fix test_bug803225.html. But maybe it'll work after your suggested changes.
You need to log in before you can comment on or make changes to this bug.