Commit Graph

99 Commits

Author SHA1 Message Date
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
Phil Ringnalda
b56e87c012 Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Andrew Swan
5da1dc4bcc Bug 1316996 Text for webextensions permissions r=florian
MozReview-Commit-ID: 3W7zEemDOTa
2017-01-20 08:49:59 -08:00
Andrew Swan
4258645b50 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE
2017-01-19 19:28:08 -08:00
Wes Kocher
8f6b8cf828 Backed out changeset 79d111e76fc9 (bug 1317470) for xpcshell failures a=backout
MozReview-Commit-ID: ATEluhMBccR
2017-01-19 18:14:55 -08:00
Andrew Swan
041ea40a13 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE
2017-01-19 14:17:53 -08:00
Andrew Swan
1a539f430b Bug 1325223 - Remove ExtensionsUI.jsm workarounds, r=florian. 2017-01-20 12:17:02 -08:00
Andrew Swan
d4d8a7d775 Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK
2017-01-18 18:16:19 -08:00
Andrew Swan
207c0d191c Bug 1308295 part 2: add extension prompts to InstallTrigger r=rhelmer
Logic for displaying addon installation confirmation prompts that
was previously in the Installer helper class is now rolled into the
prompts that are issued from AddonInstall.

MozReview-Commit-ID: HGZTqDZMgNQ
2017-01-05 16:35:07 -08:00
Sebastian Hengst
b575ed23d3 Backed out changeset c0f94e1d6f11 (bug 1308295) 2017-01-10 17:56:28 +01:00
Andrew Swan
bfca49082b Bug 1308295 part 2: add extension prompts to InstallTrigger r=rhelmer
Logic for displaying addon installation confirmation prompts that
was previously in the Installer helper class is now rolled into the
prompts that are issued from AddonInstall.

MozReview-Commit-ID: HGZTqDZMgNQ
2017-01-05 16:35:07 -08:00
Andrew Swan
6e61dca819 Bug 1308309 Prompt for webextensions permissions r=florian,rhelmer
MozReview-Commit-ID: 6rTGvjKcx3H
2017-01-03 10:55:25 -08:00
Andrew Swan
c8849c6923 Bug 1308296 Show post-install notification r=florian
MozReview-Commit-ID: KenyFW6MyDO
2017-01-20 10:28:47 -08:00