summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/origins/resources/mixedSchemes_frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/origins/resources/mixedSchemes_frame.html')
-rw-r--r--tests/auto/core/origins/resources/mixedSchemes_frame.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/core/origins/resources/mixedSchemes_frame.html b/tests/auto/core/origins/resources/mixedSchemes_frame.html
index 00c20ba37..9499caa1f 100644
--- a/tests/auto/core/origins/resources/mixedSchemes_frame.html
+++ b/tests/auto/core/origins/resources/mixedSchemes_frame.html
@@ -3,8 +3,12 @@
<head>
<title>Mixed - Frame</title>
<script>
- var canary = true;
- parent.canary = true;
+ try{
+ var canary = true;
+ parent.canary = true;
+ }catch(exception){
+ };
+
</script>
</head>
<body></body>