mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
Bug 1329288 - Test ContentPolicy blocks opening a new window
This commit is contained in:
parent
18d312235d
commit
79fb0b8506
4 changed files with 104 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ var policy = {
|
|||
"content policy type should TYPESUBDOCUMENT");
|
||||
categoryManager.deleteCategoryEntry("content-policy", POLICYNAME, false);
|
||||
SimpleTest.finish();
|
||||
return Ci.nsIContentPolicy.REJECT_REQUEST;
|
||||
}
|
||||
return Ci.nsIContentPolicy.ACCEPT;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue