1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18

android_webview / test / data / verify_bfcache.html [blame]

<script>
  var isPageShowPersisted = false;

  window.addEventListener('pageshow', (event) => {
    isPageShowPersisted = event.persisted;
    // awFullyLoadedFuture is created in AwBackForwardCacheTest.java
    awFullyLoadedFuture.done();
  });
</script>
<html>
  <head>
    <title>Hello, World!</title>
  </head>
  <body>
    Hello, World!
    This is the first page.
  </body>
</html>