Revert "Bug 1977690 - Remove unused AppRequestInterceptor in androidTests r=aaronmt" for causing fenix-debug failures.
This reverts commit bc9dc5f4296482e17560627acaacd2797e462211.
<!DOCTYPE HTML><html><!--https://bugzilla.mozilla.org/show_bug.cgi?id=552605--><head><title>Test for Bug 552605</title><scriptsrc="/tests/SimpleTest/SimpleTest.js"></script><scriptsrc="/tests/SimpleTest/WindowSnapshot.js"></script><linkrel="stylesheet"type="text/css"href="/tests/SimpleTest/test.css"/></head><body><atarget="_blank"href="https://bugzilla.mozilla.org/show_bug.cgi?id=552605">Mozilla Bug 552605</a><pid="display"></p><preid="test"><scripttype="application/javascript">varfirst,second;SimpleTest.waitForExplicitFinish();functioncheckFirst(){vartestimage=document.getElementById('test-image');first=document.createElement('canvas')varctx=first.getContext('2d');ctx.drawImage(testimage,0,0);varnewimg=newImage();newimg.onload=checkSecond;newimg.src="bug552605.sjs";document.body.appendChild(newimg);}functioncheckSecond(){vartestimage=document.getElementById('test-image');second=document.createElement('canvas')varctx=second.getContext('2d');ctx.drawImage(testimage,0,0);// Check that the images are the same, since they're in the same document.varvalues=compareSnapshots(first,second,true);ok(values[0],"Image should be the same for all loads.");SimpleTest.finish();}</script></pre><divid="content"><!-- style="display: none" --><imgsrc="bug552605.sjs"onload="checkFirst()"id="test-image"></iframe></div></body></html>