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

This commit is contained in:
janekptacijarabaci 2018-04-30 22:12:53 +02:00 committed by Roy Tam
commit b7a396d49d
2 changed files with 18 additions and 5 deletions

View file

@ -39,7 +39,6 @@ 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;
}