diff options
Diffstat (limited to 'tests/test_tools/selenium/core/scripts/injection_iframe.html')
-rw-r--r-- | tests/test_tools/selenium/core/scripts/injection_iframe.html | 7 |
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> |