| Index: LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html
|
| diff --git a/LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html b/LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html
|
| index a6b54a1fe164a474f4e2257260378346bec97179..693123455a858d779a146b2fe3aa782ea67e81ec 100644
|
| --- a/LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html
|
| +++ b/LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html
|
| @@ -9,5 +9,5 @@ window[0] = {
|
| }
|
| };
|
| </script>
|
| -<iframe src="data:text/html,<script>alert(parent[0].a);</script><script>parent[0].f();</script>"></iframe><br>
|
| +<iframe src="data:text/html,<script>try { alert(parent[0].a); } catch (e) { alert('PASS: Access to parent[0].a threw exception.'); }</script><script>try { parent[0].f(); } catch (e) { alert('PASS: Access to parent[0].f() threw exception.'); }</script>"></iframe><br>
|
| This test passes if the access is forbidden.
|
|
|