Closed Bug 1241452 Opened 8 years ago Closed 6 years ago

[NSEC] Assets cannot be loaded correctly while device launches NSEC package

Categories

(Firefox OS Graveyard :: Infrastructure, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whsu, Unassigned)

References

Details

# Description
  FxOS uses app protocol(*1) to access the other resources.
  While device launches NSEC package, many assets cannot be loaded correctly.
 
# Error Message
  W/Built-in Keyboard( 1371): at InputMethodGlue.prototype.sendKey/< (app://keyboard.gaiamobile.org/gaia_build_defer_index.js:260:34)
  I/GeckoDump(  319): DeveloperHUD: [app://keyboard.gaiamobile.org/manifest.webapp] Warning (console)
  W/Built-in Keyboard( 1371): at InputMethodGlue.prototype.setUpperCase (app://keyboard.gaiamobile.org/gaia_build_defer_index.js:262:142)
  I/GeckoDump(  319): DeveloperHUD: [app://keyboard.gaiamobile.org/manifest.webapp] Warning (console)
  I/Browser ( 8649): Security Error: Content at http://people.mozilla.org/~whsu/nsec-gallery.pak!//index.html may not load or link to app://theme.gaiamobile.org/shared/elements/gaia-theme/gaia-theme.css.
  I/Browser ( 8649): Security Error: Content at http://people.mozilla.org/~whsu/nsec-gallery.pak!//index.html may not load or link to app://theme.gaiamobile.org/shared/elements/gaia-theme/gaia-theme.css.

# Reproduction Steps
  1. Enable these preferences by using WebIDE
     a. "network.http.enable-packaged-apps", Boolean=true
     b. "network.http.signed-packages.enabled", Boolean=true
  2. Set "network.http.signed-packages.trusted-origin" to "http://people.mozilla.org"
  3. Navigate to "http://people.mozilla.org/~whsu/nsec-gallery.pak!//index.html"

# Expected Result
  App can be launched and all assets can be loaded

# Actual Result
  Many assets "CANNOT" be loaded and fail to launch app

# Reproduction Rate
  100%

# Build Information
  Build ID               20160120074112
  Gaia Revision          43852628a9d506c65525cceb5789b257cc939fe8
  Gaia Date              2016-01-19 03:50:41
  Gecko Revision         2e50b83954e62d52d2ef294e850c4380d457d96a
  Gecko Version          46.0a1
  Device Name            aries
  Firmware(Release)      4.4.2
  Firmware(Incremental)  eng.worker.20160120.081815
  Firmware Date          Wed Jan 20 08:18:23 UTC 2016

# NOTE:
  1. https://developer.mozilla.org/en-US/Firefox_OS/Security/Security_model#Packaged_and_Hosted_Apps
QA Whiteboard: [COM=NSec]
Blocks: 1216457
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.