Closed
Bug 958739
Opened 11 years ago
Closed 11 years ago
JavaScript Error: "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" {file: "app://twittershare.gaiamobile.org/js/twittershare.js" line: 26}
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(b2g-v1.3 affected, b2g-v1.4 affected)
RESOLVED
FIXED
People
(Reporter: gkw, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
14.16 KB,
text/plain
|
Details |
Download: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014-01-10-00-40-09-mozilla-aurora/b2g-28.0a2.multi.mac64.dmg Extract it and run using: B2G.app/Contents/MacOS/b2g-bin -profile B2G.app/Contents/MacOS/gaia/profile/ Click Next all the way till Done until the FTU experience is over, then Skip the tutorial. === Launch the "Twitter share" app. You will hit: JavaScript error: app://twittershare.gaiamobile.org/js/twittershare.js, line 26: JSON.parse: unexpected end of data
Reporter | ||
Comment 1•11 years ago
|
||
This affects B2G Desktop 1.3 mozilla-aurora and 1.4 mozilla-central (master). Tested with: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014/01/2014-01-10-04-02-06-mozilla-central/b2g-29.0a1.multi.mac64.dmg The error message has changed to: JavaScript error: app://twittershare.gaiamobile.org/js/twittershare.js, line 26: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Summary: JavaScript error: app://twittershare.gaiamobile.org/js/twittershare.js, line 26: JSON.parse: unexpected end of data → JavaScript error: app://twittershare.gaiamobile.org/js/twittershare.js, line 26: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Reporter | ||
Comment 2•11 years ago
|
||
This also happens for the generic mozilla-central emulator with timestamp 20140110114743: E/GeckoConsole( 147): [JavaScript Error: "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" {file: "app://twittershare.gaiamobile.org/js/twittershare.js" line: 26}]
Summary: JavaScript error: app://twittershare.gaiamobile.org/js/twittershare.js, line 26: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data → JavaScript Error: "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" {file: "app://twittershare.gaiamobile.org/js/twittershare.js" line: 26}
Reporter | ||
Comment 3•11 years ago
|
||
Error location: https://github.com/mozilla-b2g/gaia/blame/72d0d7a29b725cf554c8241ea2204625b27dc3ed/showcase_apps/twittershare/js/twittershare.js#L26 Line was added in bug 804072 by :arcturus
Flags: needinfo?(francisco.jordano)
Comment 4•11 years ago
|
||
Hi Gary, the twittershare application has been deprecated since twitter exposed their own web activity to perform the share. That was created as a showcase on how it can work.
Flags: needinfo?(francisco.jordano)
Reporter | ||
Comment 5•11 years ago
|
||
I filed bug 959447 to remove the twittershare app, which will fix this issue.
Reporter | ||
Updated•11 years ago
|
status-b2g-v1.4:
--- → affected
Keywords: regression
Reporter | ||
Comment 6•11 years ago
|
||
Resolving FIXED by bug 959447.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•