Last modified: 2014-03-27 04:35:25 UTC
Created attachment 13568 [details] This is a screenshot of Firebug. It shows a secondary error that results from the original failure to load the tour. The original syntax error is not shown. This applies to both extension-defined and on-wiki tours, although they use slightly different logging formats and load orders (which affects where exceptions may be caught). I'm attaching screenshots of each main scenario, for a fresh load (no cookie).
I forgot to say, the first attachment is for an extension-defined tour.
Created attachment 13571 [details] Firebug with extension-defined tour Correction, the first one is incorrect. I think it wasn't in debug mode, which all of these are meant to be. So this is the correct Firebug, in debug mode, showing the underlying SyntaxError and the TypeError. The main issue is that the SyntaxError isn't attributed to the right file.
Created attachment 13580 [details] Firefox Web Console with extension-defined tour Firefox Web Console, in debug mode. It correctly shows the SyntaxError, but the TypeError is not handled right. Even on click, it doesn't show useful information, except that there's a TypeError.
Created attachment 13581 [details] Chromium with extension-defined tour It shows the underlying SyntaxError properly. The TypeError is displayed as text, not clickable.
Created attachment 13582 [details] Firebug with on-wiki tour Correctly displays SyntaxError, albeit with no line information.
Created attachment 13583 [details] Firefox Web Console with on-wiki tour Firefox Web Console with on-wiki tour, in debug mode. Similar to the extension example, [object Error] is clickable, but it doesn't show anything useful.
Created attachment 13584 [details] Chromium with on-wiki tour Chromium with on-wiki tour, in debug mode. Very close to the extension-defined version. The SyntaxError is not clickable.
See also https://code.google.com/p/chromium/issues/detail?id=228909 . Chromium has been fixed since I last looked at this (I commented on that), so some of this may be improved by extending Error.