WebCore:
[WebKit-https.git] / LayoutTests / http / tests / security / resources / cross-frame-iframe-for-history-get-override-test.html
1 <html>
2 <head>
3     <script>
4         
5         window.history.back = function() { return "new back"; }
6         window.history.__proto__.forward = function() { return "new forward"; }
7         window.history.go = "new go";
8
9         window.onload = function()
10         {
11             if (window.layoutTestController)
12                 layoutTestController.globalFlag = true;
13         }
14     </script>
15 </head>
16 <body>
17 </body>
18 </html>