| Index: LayoutTests/http/tests/security/cross-frame-access-enumeration.html
|
| diff --git a/LayoutTests/http/tests/security/cross-frame-access-enumeration.html b/LayoutTests/http/tests/security/cross-frame-access-enumeration.html
|
| index 6452bf01b4c1142566964925073e0a00bfd45320..714cd8047a1fc5ad312ddab1de008338ed99ac39 100644
|
| --- a/LayoutTests/http/tests/security/cross-frame-access-enumeration.html
|
| +++ b/LayoutTests/http/tests/security/cross-frame-access-enumeration.html
|
| @@ -59,33 +59,6 @@
|
| }
|
| log("PASS: Cross frame access by getting the property names of the window object was denied.");
|
|
|
| - // Test enumerating the History object
|
| - var b_win_history = b_win.history;
|
| - try {
|
| - for (var k in b_win_history) {
|
| - if (k == "customHistoryProperty") {
|
| - log("FAIL: Cross frame access by enumerating the History object was allowed.");
|
| - return;
|
| - }
|
| - }
|
| - } catch (e) {
|
| - }
|
| - log("PASS: Cross frame access by enumerating the History object was denied.");
|
| -
|
| - var b_winHistoryKeys = Object.keys(b_win_history);
|
| - if (b_winHistoryKeys.indexOf("customHistoryProperty") != -1) {
|
| - log("FAIL: Cross frame access by getting the keys of the History object was allowed.");
|
| - return;
|
| - }
|
| - log("PASS: Cross frame access by getting the keys of the History object was denied.");
|
| -
|
| - var b_winHistoryPropertyNames = Object.getOwnPropertyNames(b_win_history);
|
| - if (b_winHistoryPropertyNames.indexOf("customHistoryProperty") != -1) {
|
| - log("FAIL: Cross frame access by getting the property names of the History object was allowed.");
|
| - return;
|
| - }
|
| - log("PASS: Cross frame access by getting the property names of the History object was denied.");
|
| -
|
| // Test enumerating the Location object
|
| var b_win_location = b_win.location;
|
| try {
|
|
|