Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13130] MobileWeb: Browser always request to "http://connect.facebook.net/en_US/all.js" despite no Facebook API is implemented in project

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T18:44:51.000+0000
Affected Version/sRelease 3.0.0, Release 3.0.2, Release 3.2.1
Fix Version/sn/a
ComponentsMobileWeb
LabelssupportTeam
ReporterRupesh Sharma
AssigneeChris Barber
Created2013-03-20T12:36:35.000+0000
Updated2018-04-04T23:20:31.000+0000

Description

Description

When default MobileWeb project is build and start in a browser it always requests for "http://connect.facebook.net/en_US/all.js" although Facebook API is not implemented in the project. This causes script error in all.js explained below: SyntaxError: Unexpected token '<'. This error occurs when connected to network which do not allow connection to Facebook. Otherwise it do not cause the script error.

Test Case

1. Create a Default project and check MobileWeb under deployment target. 2. Run the application in chrome browser. 3. Open the console of chrome browser and click network tab. 4. You will be able to see the all.js as Request URL:http://connect.facebook.net/en_US/all.js Please find the attached screenshots representing the error.

Attachments

FileDateSize
image.png2013-03-20T12:36:35.000+0000550782
image.png(1).png2013-03-20T12:36:35.000+0000170733
image.png(2).png2013-03-20T12:36:35.000+000081479

Comments

  1. Bryan Hughes 2013-03-21

    FYI we've known about this issue for a long time. It's pretty harmless; the exceptions don't hurt program execution any.
  2. Davide Cassenti 2013-05-09

    Same happening for Google APIs (Maps).
  3. Lee Morris 2017-06-26

    Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
  4. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source