Revision: 8518
Author: [email protected]
Date: Wed Aug 11 09:45:38 2010
Log: When dev mode fails to load a module, update the $wnd.title with a summary of the
error, so that the error can be seen even when the browser is minimized in
task bar. This can be useful when developing by keeping all windows full-screen,
i.e. it can save the developer from having to CMD-TAB/ALT-TAB between editor
and browser to see the error. This work continues where r8509 left off.

Fixes Issues: 1617

Review at http://gwt-code-reviews.appspot.com/750802

Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=8518

Modified:
 /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html

=======================================
--- /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html Tue Aug 10 05:38:02 2010 +++ /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html Wed Aug 11 09:45:38 2010
@@ -202,6 +202,8 @@
// Nasty CSS; onresize would be better but the outer window won't let us add a listener IE. glassStyle.setExpression("height", "document.documentElement.clientHeight");
   }
+
+  $doc.title = summary + " [" + $doc.title + "]";
 }

 function findPluginObject() {

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to