Adding a reduced layout test for: https://bugs.webkit.org/show_bug.cgi?id=27394 Properties on a window object should be accessible after the frame of the window object has navigated to another page. In particular, they should be accessible even if the new page does not contain JavaScript code. Since I don't want JavaScript on the new page I'm using a polling approach in the test.
Created attachment 32998 [details] Layout test for window access after navigation.
Created attachment 32999 [details] Layout test for window access after navigation. Test for 'blank.html' instead of just 'blank' to avoid matching 'about:blank'.
Created attachment 33000 [details] Layout test for window access after navigation. And fixing the ChangeLog with the right bug number. Sorry about the spam.
Comment on attachment 33000 [details] Layout test for window access after navigation. Please don't use polling. Use the frame's load event instead.
Created attachment 33003 [details] Use onload instead of polling Thanks, onload is better.
Comment on attachment 33003 [details] Use onload instead of polling This looks great! Thanks for the patch.
Will land.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog A LayoutTests/fast/dom/Window/window-access-after-navigation-expected.txt A LayoutTests/fast/dom/Window/window-access-after-navigation.html Committed r46083 M LayoutTests/ChangeLog A LayoutTests/fast/dom/Window/window-access-after-navigation-expected.txt A LayoutTests/fast/dom/Window/window-access-after-navigation.html r46083 = 4cfb777d8fcab32107f6eea1ed7adf912803175f (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk http://trac.webkit.org/changeset/46083