| Index: LayoutTests/http/tests/plugins/resources/cross-frame-object-access.html
|
| diff --git a/LayoutTests/http/tests/plugins/resources/cross-frame-object-access.html b/LayoutTests/http/tests/plugins/resources/cross-frame-object-access.html
|
| index f03f2eb11f90eaec03e14fa499f35a72b6cdb240..e223c4207632176927019836325633a84effdbd4 100644
|
| --- a/LayoutTests/http/tests/plugins/resources/cross-frame-object-access.html
|
| +++ b/LayoutTests/http/tests/plugins/resources/cross-frame-object-access.html
|
| @@ -14,11 +14,14 @@ function checkLocationObject(l)
|
| return false;
|
| }
|
|
|
| - if (l.href) {
|
| - debug('could access top.location.href');
|
| - return false;
|
| + try {
|
| + if (l.href) {
|
| + debug('could access top.location.href');
|
| + return false;
|
| + }
|
| + } catch (e) {
|
| + return true;
|
| }
|
| -
|
| return true;
|
| }
|
|
|
|
|