Reviewers: jgw, Description: Description: ============= WindowImplIE needs to embed a script tag on the outer window in order to sink events on the outer window from within an iframe, which means we need the init event methods as strings. Previously, we did this by writing a JSNI black that uses function.toString(), but a recent patch breaks this.
Fix: ===== We now include the functions from individual .js files using a TextResource, which is much cleaner. Testing: ======== I verified all Window event handlers still fire and that the remote tests now run. Please review this at http://gwt-code-reviews.appspot.com/51814 Affected files: user/src/com/google/gwt/user/User.gwt.xml user/src/com/google/gwt/user/client/impl/WindowImplIE.java user/src/com/google/gwt/user/client/impl/initWindowCloseHandler.js user/src/com/google/gwt/user/client/impl/initWindowResizeHandler.js user/src/com/google/gwt/user/client/impl/initWindowScrollHandler.js --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---