author | Tanvi Vyas <tvyas@mozilla.com> |
Thu, 04 Apr 2013 14:52:52 -0700 | |
changeset 127701 | 4f1779767e3d7c8b7479e38ae41dd0ad0f98982d |
parent 127700 | 6c636853b5a3bd24171159cdc459fb97e402b51d |
child 127702 | 60b08f643863b6b3733f7d94925e5e58e539ce64 |
push id | 24512 |
push user | ryanvm@gmail.com |
push date | Fri, 05 Apr 2013 20:13:49 +0000 |
treeherder | mozilla-central@139b6ba547fa [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | smaug |
bugs | 834836 |
milestone | 23.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
dom/browser-element/mochitest/browserElementTestHelpers.js | file | annotate | diff | comparison | revisions |
--- a/dom/browser-element/mochitest/browserElementTestHelpers.js +++ b/dom/browser-element/mochitest/browserElementTestHelpers.js @@ -105,25 +105,31 @@ const browserElementTestHelpers = { // dislike that. // // Unfortunately setting network.disable.ipc.security to false before the // child process(es) created by this test have shut down can cause us to // assert and kill the child process. That doesn't cause the tests to fail, // but it's still scary looking. So we just set the pref to true and never // pop that value. We'll rely on the tests which test IPC security to set // it to false. +// +// * security.mixed_content.block_active_content: false +// +// Disable mixed active content blocking, so that tests can confirm that mixed +// content results in a broken security state. (function() { var oop = location.pathname.indexOf('_inproc_') == -1; browserElementTestHelpers.lockTestReady(); SpecialPowers.setBoolPref("network.disable.ipc.security", true); SpecialPowers.pushPrefEnv({set: [["browser.pageThumbs.enabled", false], ["dom.ipc.browser_frames.oop_by_default", oop], - ["dom.ipc.tabs.disabled", false]]}, + ["dom.ipc.tabs.disabled", false], + ["security.mixed_content.block_active_content", false]]}, browserElementTestHelpers.unlockTestReady.bind(browserElementTestHelpers)); })(); addEventListener('unload', function() { browserElementTestHelpers.removeAllTempPermissions(); }); // Wait for the load event before unlocking the test-ready event.