5 <title>Test for Bug
341604</title>
6 <script src=
"/tests/SimpleTest/EventUtils.js"></script>
7 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
10 <script type=
"text/javascript">
11 function ok(result
, desc
) {
12 window
.parent
.ok_wrapper(result
, desc
);
15 <body onLoad=
"doStuff()">
16 I am sandboxed but with
"allow-same-origin"
18 <a href = 'javascript:ok(false,
"documents sandboxed without allow-scripts should not be able to run script with javascript: URLs");' id='a_link'
>click me
</a>