2

I have a Cordova app that runs Angular 1.2.16. It runs perfectly on all platforms and browsers except on Firefox OS 1.1. Works well on Firefox OS 1.2.

Please see linked SO article which has test cases - I have the same problem, but instead get

[Exception... "File error: Not found"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: app://054daea0-e3bf-1d40-a545-3ea97484180e/js/app-ck.js :: <TOP_LEVEL> :: line 17214"  data: no]

A later javascript error just says "Syntax Error" without referencing anywhere. I suspect it's related to this issue.

Related article, :

AngularJS $LogProvider throws Illegal access error

Please, if anyone could give a hint to what's breaking.

Community
  • 1
  • 1
Design by Adrian
  • 2,185
  • 1
  • 20
  • 22

1 Answers1

0

The source file (app-ck.js) cannot be found. The syntax error is due to the failed attempt to link to a file that does not exist. Firefox OS 1.1 uses Firefox 18, whereas Firefox OS 1.2 uses Firefox 26. Test the Angular code for your app on both Firefox versions on the desktop via Firefox Profiles to confirm.

References

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265