Closed
Bug 1169336
Opened 11 years ago
Closed 11 years ago
Open the InterApp Communication API to unsigned (hosted/packaged) web apps
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: macajc, Assigned: macajc)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.73 KB,
patch
|
Details | Diff | Splinter Review |
Currently the InterApp Communication API is restricted to certified apps only. This bug is to open (behind a preference) the IAC API to unsigned apps on a unsecure way, if the preference is set to true every app will be able to connect to any IAC port.
| Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8620826 -
Flags: feedback?(fabrice)
Comment 2•11 years ago
|
||
Comment on attachment 8620826 [details] [diff] [review]
v1 proposed patch
Review of attachment 8620826 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/apps/InterAppCommService.jsm
@@ +13,5 @@
> Cu.import("resource://gre/modules/AppsUtils.jsm");
>
> const DEBUG = false;
> +const DEV_MODE = !!Services.prefs.getBoolPref("dom.apps.developer_mode") ||
> + false;
getBoolPref() can throw if the pref is not set at all. You need something like:
const isDevMode = false;
try {
isDevMode = Services.prefs.getBoolPref(...)
} catch(e) {}
Attachment #8620826 -
Flags: feedback?(fabrice) → feedback+
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8620826 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8621767 [details] [diff] [review]
v2 proposed patch
Unit tests are being written in bug 1175154.
Try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=54c2464468da
requesting review
Attachment #8621767 -
Flags: review?(fabrice)
Updated•11 years ago
|
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8621767 -
Flags: review?(fabrice) → review?(ferjmoreno)
Comment 5•11 years ago
|
||
Comment on attachment 8621767 [details] [diff] [review]
v2 proposed patch
This is reverted by the patch attached to bug 1169344 so no need to review or land this one.
Attachment #8621767 -
Flags: review?(ferjmoreno)
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•