Bug 1383011 : rewrite test_principalInherit.xul. r=smaug

Use legacy data: URI behavior to make this test simpler.

If we were to use a new document for the iframe, we need to figure out
how to do postMessage from content side to a XUL window
This commit is contained in:
Yoshi Huang 2017-07-21 14:39:28 +08:00
Родитель 03deed6724
Коммит a4f1345f5b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -81,7 +81,8 @@ var tests = [
addLoadEvent(function onLoad() {
ok(Components.stack, "this test must be run with the system principal");
SimpleTest.executeSoon(nextTest);
SpecialPowers.pushPrefEnv({"set": [
["security.data_uri.unique_opaque_origin", false]]}, nextTest);
});
function loadListener(target, func) {