summaryrefslogtreecommitdiff
path: root/tests/test_tools/selenium/core/scripts/injection_iframe.html
diff options
context:
space:
mode:
authorwei <>2006-09-30 05:18:39 +0000
committerwei <>2006-09-30 05:18:39 +0000
commit7eafd95bfa21c9c8603e9c437a9d96dc880d92e7 (patch)
tree9ebe3012fc2a931a7a9e1d0c1b3eef33b1ed16ba /tests/test_tools/selenium/core/scripts/injection_iframe.html
parent36a61db3144c111b722db89baf5a1d55c1c9a6b2 (diff)
Update selenium to 0.8
Diffstat (limited to 'tests/test_tools/selenium/core/scripts/injection_iframe.html')
-rw-r--r--tests/test_tools/selenium/core/scripts/injection_iframe.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_tools/selenium/core/scripts/injection_iframe.html b/tests/test_tools/selenium/core/scripts/injection_iframe.html
new file mode 100644
index 00000000..bc26e859
--- /dev/null
+++ b/tests/test_tools/selenium/core/scripts/injection_iframe.html
@@ -0,0 +1,7 @@
+<script language="JavaScript">
+ // Ideally I would avoid polluting the namespace by enclosing this snippet with
+ // curly braces, but I want to make it easy to look at what URL I used for anyone
+ // who is interested in looking into http://jira.openqa.org/browse/SRC-101:
+ var _sel_url_ = "http://" + location.host + "/selenium-server/core/scripts/injection.html";
+ document.write('<iframe name="selenium" width=0 height=0 id="selenium" src="' + _sel_url_ + '"></iframe>');
+</script>