mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +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
|
|
@ -312,7 +312,10 @@ function checkChangeIsEnabled(aWindow, aNext)
|
|||
.then(aNext);
|
||||
}
|
||||
|
||||
SpecialPowers.pushPrefEnv({"set": [["dom.disable_window_move_resize", false]]}, function() {
|
||||
SpecialPowers.pushPrefEnv({
|
||||
"set": [["dom.disable_window_move_resize", false],
|
||||
["security.data_uri.block_toplevel_data_uri_navigations", false],]},
|
||||
function() {
|
||||
SimpleTest.waitForFocus(function() {
|
||||
if (screen.width <= 200 || screen.height <= 200) {
|
||||
todo(false, "The screen needs to be bigger than 200px*200px to run this test.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue