/usr/lib/ruby/vendor_ruby/capybara/spec/views/within_popups.erb is in ruby-capybara 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <html>
<head>
<title>With Popups</title>
<script language="javascript" type="text/javascript">
<!--
function popItUp(name, url) {
newwindow=window.open(url,name,'height=200,width=150');
if (window.focus) { newwindow.focus() }
return false;
}
function init() {
popItUp('firstPopup', '/popup_one');
popItUp('secondPopup', '/popup_two');
}
window.onload = init;
// -->
</script>
</head>
<body>
<div id="divInMainWindow">This is the text for divInMainWindow</div>
</body>
</html>
|