Bug 567950 - fix intermittent browser_keyevents_during_autoscrolling.js timeout by properly cleaning up in browser_default_image_filename.js; r=gavin

This commit is contained in:
Nathan Froyd 2012-10-24 12:33:10 -04:00
parent c5dd31bd5f
commit 006ac8fb9c

View File

@ -15,7 +15,7 @@ function test() {
gBrowser.loadURI("data:image/gif;base64,R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub//ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExKcppV0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7");
registerCleanupFunction(function () {
gBrowser.addTab();
gBrowser.addTab().linkedBrowser.stop();
gBrowser.removeCurrentTab();
});