summaryrefslogtreecommitdiffstats
path: root/dom/jsurl/test/load-stopping-1d.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/jsurl/test/load-stopping-1d.html')
-rw-r--r--dom/jsurl/test/load-stopping-1d.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/jsurl/test/load-stopping-1d.html b/dom/jsurl/test/load-stopping-1d.html
new file mode 100644
index 000000000..5e265ba64
--- /dev/null
+++ b/dom/jsurl/test/load-stopping-1d.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<head>
+<script>
+ function foo() {
+ return "aaa";
+ }
+</script>
+</head>
+<body>
+<img src="javascript: foo()">
+<script>parent.passJSUrl4 = true</script>
+</body>