mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57:34 +09:00
moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
This commit is contained in:
parent
b6f0383b26
commit
745e1809b0
63 changed files with 157 additions and 83 deletions
|
|
@ -13,7 +13,7 @@ Tests for plugin stream error conditions.
|
|||
<link rel="stylesheet" type="text/css"
|
||||
href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body onload="runNextTest()">
|
||||
<body onload="startTests()">
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=517078">
|
||||
Mozilla Bug 517078</a> - Plugin Stream Error Tests
|
||||
<p id="display"></p>
|
||||
|
|
@ -158,6 +158,12 @@ function continueTest() {
|
|||
index++;
|
||||
}
|
||||
|
||||
function startTests() {
|
||||
SpecialPowers.pushPrefEnv({"set": [
|
||||
["security.data_uri.block_toplevel_data_uri_navigations", false],
|
||||
]}, runNextTest);
|
||||
}
|
||||
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue