Revert "Bug 1182569: Update tests when converting docshell loads to use AynscOpen2"

This reverts commit b73225e886f84182384a2b5b09f83e51501bdc38.
This commit is contained in:
janekptacijarabaci 2018-04-22 22:16:35 +02:00 committed by Roy Tam
commit 9faac1b961
2 changed files with 5 additions and 18 deletions

View file

@ -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;
}