Closed Bug 1000972 Opened 10 years ago Closed 7 years ago

Compile asm.js at install time when pushed from App Manager

Categories

(DevTools Graveyard :: WebIDE, defect, P4)

31 Branch
ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nick, Unassigned)

References

Details

(Whiteboard: [btpp-dbm])

asm.js code will be precompiled when installed via `navigator.mozApps.installPackage` but not when pushed from app manager.  Requires additional field in manifest. [0]

[0] https://developer.mozilla.org/en-US/Apps/Build/Manifest#precompile
Depends on: 965970
Component: DOM: Apps → Developer Tools: App Manager
Product: Core → Firefox
Depends on: 1000993
Alex, to support this I guess we'd need to change the webapps actor install path?
Flags: needinfo?(poirot.alex)
Yes, we would most likely need to add a call to this method from webapps actors install request:
  http://mxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm#1987
  ScriptPreloader.preload(app, newManifest);

But hopefully... one day... we would just call some install method of webapps.jsm,
instead of having a copy paste of it :s
I see a langpacks thing that we don't have in webapps actor either...
Flags: needinfo?(poirot.alex)
No longer depends on: 1000993
Filter on TEAPOT-SPLINES.
Priority: -- → P4
Whiteboard: [btpp-dbm]
Apps are being removed with B2G cleanup.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.