Closed Bug 915849 Opened 6 years ago Closed 2 years ago

Setting upper limit for returned AppIds

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ckerschb, Unassigned)

References

Details

We run in danger of handing out AppIds which are reserved for special usage, for example: 
  const unsigned long SAFEBROWSING_APP_ID = 4294967294; // UINT32_MAX - 1
once, bug 897516 lands, c.f.
  http://mxr.mozilla.org/mozilla-central/source/caps/idl/nsIScriptSecurityManager.idl#228

We probably want to reserve a range of 128 values (UINT32_MAX - 128) which we might want to use for further special cases. We might want to incorporate that change somewhere here:
  http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1999
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.