https://bugzilla.wikimedia.org/show_bug.cgi?id=61137

       Web browser: ---
            Bug ID: 61137
           Summary: SyntaxError: JSON.parse: unexpected end of data
           Product: MediaWiki extensions
           Version: master
          Hardware: Macintosh
                OS: Mac OS X 10.9
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: UniversalLanguageSelector
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gdu...@wikimedia.org
                CC: alolita.sha...@gmail.com,
                    amir.ahar...@mail.huji.ac.il, da...@sheetmusic.org.uk,
                    kartik.mis...@gmail.com, niklas.laxst...@gmail.com,
                    pgi...@wikimedia.org, run...@gmail.com,
                    santhosh.thottin...@gmail.com,
                    sucheta.ghos...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Experienced on http://en.wikipedia.beta.wmflabs.org/wiki/Lightbox_demo?debug=1

Firefox 26.0

Coming from the ULSPreferences init function. The value it tries to parse as
JSON is "", which makes JSON.parse() fail. Fix is probably as simple as adding
a try/catch.

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

Reply via email to