User:GijsKruitbosch/JS Debugging/DocumentFromException: Difference between revisions

I finally understood. . . :)
(I finally understood. . . :))
 
Line 20: Line 20:


We then continue chasing references from globalObject and finally get to a window thanks to [http://lxr.mozilla.org/mozilla/source/extensions/venkman/resources/content/venkman-utils.js#602 getBaseWindowFromWindow].
We then continue chasing references from globalObject and finally get to a window thanks to [http://lxr.mozilla.org/mozilla/source/extensions/venkman/resources/content/venkman-utils.js#602 getBaseWindowFromWindow].
''This is a fine solution but I fail to see how this can be used to react only to '''uncaught''' exceptions. For this purpose Plan A seems the way to go since it becomes an "error" only once nobody caught it.''
2

edits