summaryrefslogtreecommitdiff
path: root/dom/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:16:35 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:16:35 +0200
commit3a4978b880bb30911cd401368903c3773e925e72 (patch)
treef4e2982b0d8f0484e2f261aebf0cccfc7b5ce9f5 /dom/base
parent0851d05d7adbd71a76d2c0232b22c7aa86f0d87e (diff)
downloaduxp-3a4978b880bb30911cd401368903c3773e925e72.tar.gz
Revert "Bug 1182569: Update tests when converting docshell loads to use AynscOpen2"
This reverts commit b73225e886f84182384a2b5b09f83e51501bdc38.
Diffstat (limited to 'dom/base')
-rw-r--r--dom/base/test/file_simplecontentpolicy.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/test/file_simplecontentpolicy.js b/dom/base/test/file_simplecontentpolicy.js
index 2727b95306..1f9606c49d 100644
--- a/dom/base/test/file_simplecontentpolicy.js
+++ b/dom/base/test/file_simplecontentpolicy.js
@@ -39,6 +39,7 @@ var policy = {
{
// Remember last content type seen for the test url
if (contentLocation.spec.endsWith(urlSuffix)) {
+ assert.ok(frame === browserElement, "correct <browser> element");
sendAsyncMessage("shouldLoad", {contentType: contentType, isTopLevel: isTopLevel});
return Ci.nsIContentPolicy.REJECT_REQUEST;
}