summaryrefslogtreecommitdiffstats
path: root/docshell/test/navigation/file_bug1326251_evict_cache.html
blob: d81f948d89f9ef469f0a2ba9d87ca7cb6c5dfa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Bug 1326251</title>
    <script>
      // Evict bfcache and then go back.
      async function evictCache() {
        await SpecialPowers.evictAllDocumentViewers();

        history.back();
      }
    </script>
  </head>
  <body onload="setTimeout(evictCache, 0);">
  </body>
</html>