Commit Graph

62 Commits

Author SHA1 Message Date
Alexandre Poirot
208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02:00
Andrew Swan
1e2a2ba9f6 Bug 1358229 Fix exception during optional permission prompts r=rhelmer
MozReview-Commit-ID: 5e3tlFF7uvp
2017-04-24 10:44:41 -07:00
Andrew Swan
fb39d45627 Bug 1343498: Don't fail on unparseable host permissions r=kmag
MozReview-Commit-ID: BHIzjjz23N7
2017-04-14 16:45:10 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrew Swan
c5c9303396 Bug 1352152 Fix several issues with optional webextension permissions r=kmag
1. Use the right strings in permission dialogs
2. Don't show permissions dialogs for non-promptable permissions
3. Enable dialogs by default

MozReview-Commit-ID: JJdxxcP7IeU
2017-04-10 19:12:23 -07:00
Mark Striemer
3e713a9229 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Andrew Swan
fc72911ff3 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Andrew Swan
def6a4de76 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Sebastian Hengst
0fbd57821d Backed out changeset 680dd7916a23 (bug 1197420) 2017-03-25 17:39:43 +01:00
Sebastian Hengst
e33b75e3f1 Backed out changeset d1628b66e5f8 (bug 1197420) 2017-03-25 17:39:38 +01:00
Andrew Swan
a151659a43 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Andrew Swan
11daacfbe1 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Phil Ringnalda
bb0cc6a131 Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
CLOSED TREE

Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00
Andrew Swan
1ab93c4095 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Andrew Swan
f04930d0f2 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Sebastian Hengst
f4d206dc20 Backed out changeset 3de2de388ac9 (bug 1197420) 2017-03-24 20:56:14 +01:00
Sebastian Hengst
7b11b686c6 Backed out changeset 7df6cc66a2eb (bug 1197420) 2017-03-24 20:56:10 +01:00
Andrew Swan
925ea0071d Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-23 21:48:03 -07:00
Andrew Swan
8fc99c4b75 Bug 1197420 Part 2 Extension cleanups for optional permissions r=kmag
- Convert the object used to represent permissions to the format
  used in the optional permissions UI (property hosts becomes origins)
- Turn Extension.userPermissions into a getter

MozReview-Commit-ID: Dc44DMfKjG
2017-03-23 21:45:25 -07:00
Andrew Swan
f407059cae Bug 1332061 Add warning for unsigned extensions r=florian
MozReview-Commit-ID: JAvjmh0IgBW
2017-03-02 11:30:41 -08:00
Sebastian Hengst
4938641b8f Backed out changeset 5a7fca706daa (bug 1329942) for failing browser-chrome browser_bug553455.js. r=backout 2017-03-08 19:57:15 +01:00
Mark Striemer
fd96104492 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Andrew Swan
f97863c78c Bug 1338713 Extension install telemetry r=bsmedberg,rhelmer
MozReview-Commit-ID: KFd7k7zaDL6
2017-02-28 09:08:49 -08:00
Andrew Swan
aa4ad9e66e Bug 1342896 Don't show prompts for interactive webextension updates with no new permissions r=rhelmer
MozReview-Commit-ID: 50SP3eL79Qm
2017-03-03 11:05:35 -08:00
Andrew Swan
3f8dc7f351 Bug 1340501 Fix sideloading notification with no promptable permissions r=florian
MozReview-Commit-ID: JduSAhhYWwR
2017-02-23 19:05:22 -08:00
Andrew Swan
d9311fea81 Bug 1339952 Sort order of permission prompts r=florian
MozReview-Commit-ID: 6ngylPGJ5EE
2017-02-23 18:27:34 -08:00
Andrew Swan
252485bc08 Bug 1337870 Skip truncation of addon names r=mossop
MozReview-Commit-ID: 9v4yJPvpT2R
2017-02-23 21:47:08 -08:00
Andrew Swan
2de08d1ad3 Bug 1334096 Show permissions prompts when a sideloaded extension is enabled r=mossop
MozReview-Commit-ID: 1yXgkBg6W1p
2017-02-15 15:40:56 -08:00
Andrew Swan
efa2c7e960 Bug 1340443 Fix reading from brand bundle and add a test r=florian
MozReview-Commit-ID: RGHXg0hMgJ
2017-02-23 08:41:17 -08:00
Sebastian Hengst
1935dedcb5 Backed out changeset ae43afe8e551 (bug 1334096) for failing browser_CTP_plugins.js tests. r=backout on a CLOSED TREE 2017-02-23 19:07:25 +01:00
Andrew Swan
5877f1f537 Bug 1334096 Show permissions prompts when a sideloaded extension is enabled r=mossop
MozReview-Commit-ID: 1yXgkBg6W1p
2017-02-15 15:40:56 -08:00
Andrew Swan
21d1fd4f11 Bug 1340078 Show the correct permissions list in webextensions notifications r=rhelmer
MozReview-Commit-ID: 5YiYG6k5MJj
2017-02-16 13:31:50 -08:00
Sebastian Hengst
49aba56316 Backed out changeset c73bba5d7bea (bug 1340078) for failing browser_extension_permissions.js. r=backout 2017-02-19 09:29:48 +01:00
Andrew Swan
89018a554a Bug 1340078 Show the correct permissions list in webextensions notifications r=rhelmer
MozReview-Commit-ID: 5YiYG6k5MJj
2017-02-16 13:31:50 -08:00
Andrew Swan
c6522dcd31 Bug 1340135 Use the right strings for permission update notifications r=rhelmer
MozReview-Commit-ID: uL37kpCIIC
2017-02-16 13:41:27 -08:00
Andrew Swan
218041f788 Bug 1334479 Show generic icon for legacy add-ons in post-install notification r=mossop
MozReview-Commit-ID: 9JsXPkqx909
2017-02-09 15:20:02 -08:00
Andrew Swan
ceb44f053f Bug 1335720 Update sideload notification text r=flod
MozReview-Commit-ID: 2iU1IVXFm2Q
2017-02-07 16:26:30 -08:00
Andrew Swan
ebb83a0fe1 Bug 1336085 Apply updates with only non-promptable permissions automatically r=mossop
MozReview-Commit-ID: 8Sc4WhstrCg
2017-02-08 12:09:49 -08:00
Andrew Swan
fc7640e2ba Bug 1335333 Fix icon handling for updates r=mossop
MozReview-Commit-ID: JWyK54Gphf8
2017-02-03 17:11:49 -08:00
Andrew Swan
991b26e1ee Bug 1330823 Part 1 refactor some existing permissions code r=mossop
This patch is just cleanups that don't alter any current
behavior but make the changes for updates in part 2 simpler.

MozReview-Commit-ID: 18QEx7RxWxH
2017-02-02 16:57:29 -08:00
Andrew Swan
a616388134 Bug 1333168 Use <span> for addon name in permission dialog r=florian
MozReview-Commit-ID: Hwj6MBeEG8p
2017-02-01 20:56:59 -08:00
Andrew Swan
371f55435b Bug 1334354 Provide timeout for post-install notification r=florian
MozReview-Commit-ID: H3qHdkvhxjg
2017-01-27 14:10:02 -08:00
Andrew Swan
f8ab516372 Bug 1334404 Update post-install notification message r=flod
MozReview-Commit-ID: 9ieih02AIi4
2017-01-27 14:00:44 -08:00
Andrew Swan
2bd4004fa8 Bug 1334076 Show default icon if necessary in sideloading notification r=florian
Also extended the sideloading test to check for icons in both
the case where the extension has an icon, and the case where it
does not.

MozReview-Commit-ID: 7GTAhumtLNx
2017-01-26 20:54:56 -08:00
Andrew Swan
269f3abb82 Bug 1333262 Set notification text unconditionally r=florian
MozReview-Commit-ID: DzzZaKWXrV8
2017-01-23 18:07:25 -08:00
Andrew Swan
56e52fb0d0 Bug 1308310 Post-install notification for mozAddonManager installs r=rhelmer
With this patch, the Promise returned by install() does not resolve
until after the post-install notification prompt has been displayed
and dismissed (either by an explicit click on "Ok" or by clicking
somewhere else in the browser UI).  That promise is also now
rejected if the install fails or is cancelled.

MozReview-Commit-ID: ej0HmOaU7q
2017-01-19 21:26:23 -08:00
Andrew Swan
4f57b84e8e Bug 1333071 Escape addon name in post-install dialog r=florian
MozReview-Commit-ID: Gvhpzq4Psk7
2017-01-23 11:40:57 -08:00
Phil Ringnalda
7ea697fa99 Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00