summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/general/file_mixedContentFromOnunload.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/general/file_mixedContentFromOnunload.html')
-rw-r--r--browser/base/content/test/general/file_mixedContentFromOnunload.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/browser/base/content/test/general/file_mixedContentFromOnunload.html b/browser/base/content/test/general/file_mixedContentFromOnunload.html
new file mode 100644
index 000000000..fb28a2889
--- /dev/null
+++ b/browser/base/content/test/general/file_mixedContentFromOnunload.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+Test for https://bugzilla.mozilla.org/show_bug.cgi?id=947079
+-->
+<head>
+ <meta charset="utf-8">
+ <title>Test for Bug 947079</title>
+</head>
+<body>
+ <p>Test for Bug 947079</p>
+ <script>
+ window.addEventListener('unload', function() {
+ new Image().src = 'http://mochi.test:8888/tests/image/test/mochitest/blue.png';
+ });
+ </script>
+</body>
+</html>