summaryrefslogtreecommitdiff
path: root/system/docshell/base/crashtests/1257730-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'system/docshell/base/crashtests/1257730-1.html')
-rw-r--r--system/docshell/base/crashtests/1257730-1.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/system/docshell/base/crashtests/1257730-1.html b/system/docshell/base/crashtests/1257730-1.html
new file mode 100644
index 000000000..028a1adb8
--- /dev/null
+++ b/system/docshell/base/crashtests/1257730-1.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<!--
+user_pref("browser.send_pings", true);
+-->
+<script>
+
+function boom() {
+ var aLink = document.createElement('a');
+ document.body.appendChild(aLink);
+ aLink.ping = "ping";
+ aLink.href = "href";
+ aLink.click();
+
+ var baseElement = document.createElement('base');
+ baseElement.setAttribute("href", "javascript:void 0");
+ document.head.appendChild(baseElement);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>