https://bugzilla.wikimedia.org/show_bug.cgi?id=26381
Lupo <lupo.bugzi...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Normal |High CC| |lupo.bugzi...@gmail.com --- Comment #6 from Lupo <lupo.bugzi...@gmail.com> 2011-01-12 21:30:55 UTC --- JavaScript crash in FF 3.6.4. Observed while visiting the Commons in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4, may possibly also occur in other browsers. The crash occurs during $j(document).ready() and prevents later document-ready handlers from running at all. FF error console reports: uncaught exception: [Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a (<unknown>)" location: "JS frame :: http://bits.wikimedia.org/skins-1.5/common/jquery.min.js?283-19 :: anonymous :: line 383" data: no] This appears to be caused by the call on lines 54-58 in http://commons.wikimedia.org/wiki/Special:BannerController var request = $.ajax( { url: bannerListURL, dataType: 'json', success: $.centralNotice.fn.chooseBanner } ); The bannerListURL at the time of the call is http://commons.wikimedia.org/w/index.php?title=Special:BannerListLoader&cache=/cn.js&language=en&project=commons&country= and returns [] which is not a JSON object but an empty array. Maybe that's got something to do with this. Can't verify myself since I cannot step though minified jquery code; I did get to this $.ajax() call with single-stepping, though. $.centralNotice.fn.chooseBanner is never called; the exception is therefore raised earlier inside the $.ajax() call. The error appears not to depend on the skin, at least it occurs in both monobook and in vector. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l