[ocornu/webmonkey] 36534d: Fix the script error reporting code.

  • From: noreply@xxxxxxxxxx
  • To: webmonkey@xxxxxxxxxxxxx
  • Date: Sat, 29 Aug 2009 06:07:04 -0700

Branch: refs/heads/master
Home:   http://github.com/ocornu/webmonkey

Commit: 36534d68907ad8fb5e8517c7e7832e2b7c54f3d1
    
http://github.com/ocornu/webmonkey/commit/36534d68907ad8fb5e8517c7e7832e2b7c54f3d1
Author: Olivier Cornu <o.cornu@xxxxxxxxx>
Date:   2009-08-29 (Sat, 29 Aug 2009)

Changed paths:
  M src/modules/script.js

Log Message:
-----------
Fix the script error reporting code.

As injection logic was moved into script.js (774d41a2e), error reporting code 
has been updated to better handle _apiLeakCheck errors. Unfortunately, it also 
broke the simple case of script errors.
With this fix, both should work ok.
Let's note that the above mentionned patch also changed _apiLeakCheck errors: 
they used to be only reported in the JS console, they now are also thrown back 
at the script.



Other related posts:

  • » [ocornu/webmonkey] 36534d: Fix the script error reporting code. - noreply