| Index: LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| diff --git a/LayoutTests/http/tests/security/resources/cross-frame-access.js b/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| index fd524b53786598a7234ae97693c9998ce471c571..c8063edb4e3e764e53db63026b5a2749815c33f8 100644
|
| --- a/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| +++ b/LayoutTests/http/tests/security/resources/cross-frame-access.js
|
| @@ -58,6 +58,24 @@ function canGet(keyPath)
|
| }
|
| }
|
|
|
| +function accessThrowsException(keyPath) {
|
| + try {
|
| + eval("window." + keyPath);
|
| + return false;
|
| + } catch (e) {
|
| + return true;
|
| + }
|
| +}
|
| +
|
| +function deletionThrowsException(keyPath) {
|
| + try {
|
| + eval("delete " + keyPath);
|
| + return false;
|
| + } catch (e) {
|
| + return true;
|
| + }
|
| +}
|
| +
|
| function canGetDescriptor(target, property)
|
| {
|
| try {
|
|
|