summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 20:37:09 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 20:37:09 +0200
commita38e87d455f6ad3637deeae20d2ddc57430b498d (patch)
tree8321602cb9e8508d94b806a753f70b1575d48da1 /dom
parent660d01438a6a29ebd43f592ac7d6df2dad6a6962 (diff)
downloadUXP-a38e87d455f6ad3637deeae20d2ddc57430b498d.tar
UXP-a38e87d455f6ad3637deeae20d2ddc57430b498d.tar.gz
UXP-a38e87d455f6ad3637deeae20d2ddc57430b498d.tar.lz
UXP-a38e87d455f6ad3637deeae20d2ddc57430b498d.tar.xz
UXP-a38e87d455f6ad3637deeae20d2ddc57430b498d.zip
Bug 1329288 - Test ContentPolicy blocks opening a new window
Diffstat (limited to 'dom')
-rw-r--r--dom/security/test/general/test_contentpolicytype_targeted_link_iframe.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/security/test/general/test_contentpolicytype_targeted_link_iframe.html b/dom/security/test/general/test_contentpolicytype_targeted_link_iframe.html
index 7b1ab72dc..3ef243824 100644
--- a/dom/security/test/general/test_contentpolicytype_targeted_link_iframe.html
+++ b/dom/security/test/general/test_contentpolicytype_targeted_link_iframe.html
@@ -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;
},