Lupo <> changed:

           What    |Removed                     |Added
           Priority|Normal                      |High
                 CC|                            |

--- Comment #6 from Lupo <> 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: 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
[]" nsresult: "0x805e000a (<unknown>)" location: "JS
frame :: ::
anonymous :: line 383" data: no]

This appears to be caused by the call on lines 54-58 in

var request = $.ajax( {
    url: bannerListURL,
    dataType: 'json',
    success: $.centralNotice.fn.chooseBanner
} );

The bannerListURL at the time of the call is

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:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to