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.
FYI we've known about this issue for a long time. It's pretty harmless; the exceptions don't hurt program execution any.
Same happening for Google APIs (Maps).
Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.