Search code examples
javascriptdebuggingfirefoxfirefox-osapp-manager

Stepping through JavaScript code in App Manager?


I am using Firefox App Manager to upload a packaged app to a Firefox OS phone, a KEON.

Now, when I go into the debugger and click on one of the source files, then I see:

[no source]

Is it even possible to step though source code using App Manager? If so, how?

Annotated screen shot


Solution

  • With help by @JasonWeathersby I figured out that the problem is triggered by:

    • The app is privileged. Excerpt from manifest.webapp:

      "type": "privileged"
      
    • The Keon is running Firefox OS 2.0.0.0-prerelease.

    Source code shows up either if I remove "type": "privileged", or if I install 1.3 on the Keon.

    On Bugzilla@Mozilla, I filed against Firefox App Manager: Bug 1020948 - No source in App Manager for privileged app on Keon with 2.0.0.0-prerelease