Commit 9b0c492d authored by Beth Rennie's avatar Beth Rennie
Browse files

Bug 1783263 - Restore sandbox state after browser_asrouter_remoteimages.js...

Bug 1783263 - Restore sandbox state after browser_asrouter_remoteimages.js test_remoteImages_prefetch r=thecount

The test cleanup was calling the wrong method to restore stubbed functions
(reset instead of restore).

Differential Revision: https://phabricator.services.mozilla.com/D153786
parent 28bccea7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -425,6 +425,6 @@ add_task(async function test_remoteImages_prefetch() {
    await SpecialPowers.popPrefEnv();
    await ASRouter._updateMessageProviders();
    await RemoteImagesTestUtils.wipeCache();
    sandbox.reset();
    sandbox.restore();
  }
});