Closed
Bug 1121227
Opened 11 years ago
Closed 11 years ago
Don't harcode the system app origin in touch-events.js
Categories
(Firefox OS Graveyard :: Runtime, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
Attachments
(1 file)
3.12 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
Because it can change...
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8548489 -
Flags: review?(poirot.alex)
Comment 2•11 years ago
|
||
Comment on attachment 8548489 [details] [diff] [review]
touch-events.patch
Review of attachment 8548489 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/devtools/touch-events.js
@@ +72,5 @@
> + try {
> + systemOrigin = Services.io.newURI(
> + Services.prefs.getCharPref("b2g.system_manifest_url"), null, null)
> + .prePath;
> + } catch(e) {}
We may want to compute systemOrigin once, during startup, instead of doing it on each click!
Attachment #8548489 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 3•11 years ago
|
||
![]() |
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•