browser/base/content/test/trackingUI/trackingPage_onunload.html
author Johann Hofmann <jhofmann@mozilla.com>
Thu, 19 Apr 2018 22:37:49 +0200
changeset 471611 be0a9b78c2242fcc4eb2545d7fe5b58fecd250e7
permissions -rw-r--r--
Bug 1451307 - Part 3 - Add a test for showing the TP UI for iframes and unloaded documents. r=francois MozReview-Commit-ID: FrcwyIbBTFL

<!DOCTYPE HTML>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<html dir="ltr" xml:lang="en-US" lang="en-US">
  <head>
    <meta charset="utf8">
    <script>
      window.onunload = function() {
        var img = new Image();
        img.src = "http://tracking.example.com/";
        document.body.appendChild(img);
      };
    </script>
  </head>
  <body>
    Testing tracking requests onunload.
  </body>
</html>