Community
Participate
Working Groups
Request.js#_writeErrorPage usses document.write to print the javascript error message. The problem with this is that (besides beeing very ugly), the entire DOM is rewritten, making debugging very hard. Instead we should overlay an (possibly semi-transparent) div over the entire document and display the messagr there.
The document.write is replaced with div. New ErrorHangler.js class is introduced to handle and display all errors. Changes are in CVS HEAD.