Граф коммитов

54 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan 00aad91298 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

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Andrew Swan 0672fec97c 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

--HG--
extra : rebase_source : e24e1b52edd3ddcd353a6407497ec4076039af03
2017-03-23 21:45:25 -07:00
Sebastian Hengst 2bd09bf679 Backed out changeset 680dd7916a23 (bug 1197420) 2017-03-25 17:39:43 +01:00
Sebastian Hengst 8b0aa27e67 Backed out changeset d1628b66e5f8 (bug 1197420) 2017-03-25 17:39:38 +01:00
Andrew Swan 52d07f2696 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

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Andrew Swan 28eff4523a 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

--HG--
extra : rebase_source : e24e1b52edd3ddcd353a6407497ec4076039af03
2017-03-23 21:45:25 -07:00
Phil Ringnalda 25fd452953 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 1fa2f9e217 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

--HG--
extra : rebase_source : d5cc18abbae6809b196f8497ff91608d662d5030
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-24 13:55:09 -07:00
Andrew Swan 3656a695a2 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

--HG--
extra : rebase_source : e24e1b52edd3ddcd353a6407497ec4076039af03
2017-03-23 21:45:25 -07:00
Sebastian Hengst fb522e4ad5 Backed out changeset 3de2de388ac9 (bug 1197420) 2017-03-24 20:56:14 +01:00
Sebastian Hengst 727e46b218 Backed out changeset 7df6cc66a2eb (bug 1197420) 2017-03-24 20:56:10 +01:00
Andrew Swan 1b3c71a54f 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

--HG--
extra : rebase_source : f623b4c7c66888ab1fb4876a3d63ec47677711b8
extra : source : e4c13d11e401ae3bd40be3a5a7fb0aaf95c992bb
2017-03-23 21:48:03 -07:00
Andrew Swan 70f7a8449c 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

--HG--
extra : rebase_source : 4924aa007da4b649266311138b4d240eeeade9a4
2017-03-23 21:45:25 -07:00
Andrew Swan 7e0188b58b Bug 1332061 Add warning for unsigned extensions r=florian
MozReview-Commit-ID: JAvjmh0IgBW

--HG--
extra : rebase_source : f8dfdbc856ce1de7e82d23ce589144ac64377636
2017-03-02 11:30:41 -08:00
Sebastian Hengst 3bfaa978bd 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 8e358ac751 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 6537a89d805fd28651911965aebd008de0530a12
2017-02-28 15:26:12 -06:00
Andrew Swan 97e0cc9666 Bug 1338713 Extension install telemetry r=bsmedberg,rhelmer
MozReview-Commit-ID: KFd7k7zaDL6

--HG--
extra : rebase_source : 3aabdbafb1c91d49b76813c2400a2e48a3909fff
extra : source : a4b9c0de633a13ce350500f5b618efbc45acf89c
2017-02-28 09:08:49 -08:00
Andrew Swan 90597f90e1 Bug 1342896 Don't show prompts for interactive webextension updates with no new permissions r=rhelmer
MozReview-Commit-ID: 50SP3eL79Qm

--HG--
rename : browser/base/content/test/webextensions/browser_extension_update_interactive.js => browser/base/content/test/webextensions/browser_update_interactive.js
rename : browser/base/content/test/webextensions/browser_extension_update_interactive.js => browser/base/content/test/webextensions/browser_update_interactive_noprompt.js
extra : rebase_source : fdddf8a3ae3957bdaf63cc2a1e39c5a29550cf3a
2017-03-03 11:05:35 -08:00
Andrew Swan 28079200f3 Bug 1340501 Fix sideloading notification with no promptable permissions r=florian
MozReview-Commit-ID: JduSAhhYWwR

--HG--
extra : rebase_source : cc9c0ec3050392cd4ed0919dad9eda696703ec44
2017-02-23 19:05:22 -08:00
Andrew Swan fa71518bf6 Bug 1339952 Sort order of permission prompts r=florian
MozReview-Commit-ID: 6ngylPGJ5EE

--HG--
extra : rebase_source : 1aa725ab6747c73825957c84c66e199fbe324102
2017-02-23 18:27:34 -08:00
Andrew Swan adfb075512 Bug 1337870 Skip truncation of addon names r=mossop
MozReview-Commit-ID: 9v4yJPvpT2R

--HG--
extra : rebase_source : 70ef154c0d5687025147486a8b52e9bcdaacaef7
2017-02-23 21:47:08 -08:00
Andrew Swan 437d869979 Bug 1334096 Show permissions prompts when a sideloaded extension is enabled r=mossop
MozReview-Commit-ID: 1yXgkBg6W1p

--HG--
extra : rebase_source : 0504ed9f0b361497e7d7f6a2bfd50d2b209806b5
2017-02-15 15:40:56 -08:00
Andrew Swan a9123624b3 Bug 1340443 Fix reading from brand bundle and add a test r=florian
MozReview-Commit-ID: RGHXg0hMgJ

--HG--
extra : rebase_source : 9ae7f0eaa02430c1d556378c813c81ee42cda648
2017-02-23 08:41:17 -08:00
Sebastian Hengst 5a173c7cc2 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 50f849ca2b Bug 1334096 Show permissions prompts when a sideloaded extension is enabled r=mossop
MozReview-Commit-ID: 1yXgkBg6W1p

--HG--
extra : rebase_source : 5eb54baafbf80e79c2901ff23eecfa9f017ee22f
2017-02-15 15:40:56 -08:00
Andrew Swan 893f67d3ca Bug 1340078 Show the correct permissions list in webextensions notifications r=rhelmer
MozReview-Commit-ID: 5YiYG6k5MJj

--HG--
extra : rebase_source : 2389d354029bd0143a3d12e94e6fa4d113229e0b
extra : source : 0aa8bb2a9ae0ef4d9f88e97c14ab7ee380eb7e4c
2017-02-16 13:31:50 -08:00
Sebastian Hengst fb12f5580c Backed out changeset c73bba5d7bea (bug 1340078) for failing browser_extension_permissions.js. r=backout 2017-02-19 09:29:48 +01:00
Andrew Swan 062cdfe8f7 Bug 1340078 Show the correct permissions list in webextensions notifications r=rhelmer
MozReview-Commit-ID: 5YiYG6k5MJj

--HG--
extra : rebase_source : 4e0e7162deb85f0b0bc038fdd619db7138116c53
2017-02-16 13:31:50 -08:00
Andrew Swan 60caa58f0c Bug 1340135 Use the right strings for permission update notifications r=rhelmer
MozReview-Commit-ID: uL37kpCIIC

--HG--
extra : rebase_source : d73cf13c554fbf772186ac40b2a617ffffcbac42
2017-02-16 13:41:27 -08:00
Andrew Swan 4c4b9579cd Bug 1334479 Show generic icon for legacy add-ons in post-install notification r=mossop
MozReview-Commit-ID: 9JsXPkqx909

--HG--
extra : rebase_source : 062eff8ca9f725e7e14890ae6957f5a76283e5b8
2017-02-09 15:20:02 -08:00
Andrew Swan 132789bc66 Bug 1335720 Update sideload notification text r=flod
MozReview-Commit-ID: 2iU1IVXFm2Q

--HG--
extra : rebase_source : ed96d0793e4d7b3606f64bd4038edac2626acf32
2017-02-07 16:26:30 -08:00
Andrew Swan ea1fa88667 Bug 1336085 Apply updates with only non-promptable permissions automatically r=mossop
MozReview-Commit-ID: 8Sc4WhstrCg

--HG--
extra : rebase_source : ed07254678fab607dccd7cb0d39e44344d81da71
2017-02-08 12:09:49 -08:00
Andrew Swan 61bc2d7d16 Bug 1335333 Fix icon handling for updates r=mossop
MozReview-Commit-ID: JWyK54Gphf8

--HG--
extra : rebase_source : 65eb8aa8a96771d366d70c7044a9c2a3c7bae9ad
2017-02-03 17:11:49 -08:00
Andrew Swan 03990446d0 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

--HG--
extra : rebase_source : 92e772ea971ea58ddf647c07ea52e4989f257646
2017-02-02 16:57:29 -08:00
Andrew Swan 7ec24adbdb Bug 1333168 Use <span> for addon name in permission dialog r=florian
MozReview-Commit-ID: Hwj6MBeEG8p

--HG--
extra : rebase_source : 03baaaa463b12796695c06d54b325085abdf2035
2017-02-01 20:56:59 -08:00
Andrew Swan 402701edb8 Bug 1334354 Provide timeout for post-install notification r=florian
MozReview-Commit-ID: H3qHdkvhxjg

--HG--
extra : rebase_source : 4c99d51183a393b0e54655c0ad00608d5028a347
2017-01-27 14:10:02 -08:00
Andrew Swan faaa65bde2 Bug 1334404 Update post-install notification message r=flod
MozReview-Commit-ID: 9ieih02AIi4

--HG--
extra : rebase_source : e5732dd36943fec2b6656d2d9c1693a65c7001e7
2017-01-27 14:00:44 -08:00
Andrew Swan 6efec698e8 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

--HG--
extra : rebase_source : d0198859dfc17cee2d888f23b50b040d50d913f8
2017-01-26 20:54:56 -08:00
Andrew Swan a8a5255d3e Bug 1333262 Set notification text unconditionally r=florian
MozReview-Commit-ID: DzzZaKWXrV8

--HG--
extra : rebase_source : 04a9cc6af190d659eda192c8e6dbc5cd55ef72c3
2017-01-23 18:07:25 -08:00
Andrew Swan cd4f0a4d8b 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

--HG--
extra : rebase_source : 1df2849ad4f081ab15ba59b23e0ff3ad87330734
2017-01-19 21:26:23 -08:00
Andrew Swan f0d74608eb Bug 1333071 Escape addon name in post-install dialog r=florian
MozReview-Commit-ID: Gvhpzq4Psk7

--HG--
extra : rebase_source : a6a6f6240c9122f525e4d0ec5465abc092a510b0
2017-01-23 11:40:57 -08:00
Phil Ringnalda 74f10163fe Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
Phil Ringnalda 72dfd3bd3f Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Andrew Swan 94c98baac1 Bug 1316996 Text for webextensions permissions r=florian
MozReview-Commit-ID: 3W7zEemDOTa

--HG--
extra : rebase_source : e6dd9ab946ab365b3633b9df5158da5a5cd58d38
2017-01-20 08:49:59 -08:00
Andrew Swan db65053d39 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE

--HG--
extra : rebase_source : 0cd199712783accfc237d638336b6c70a06e9810
2017-01-19 19:28:08 -08:00
Wes Kocher 438acaa485 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 cafe95ca01 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE

--HG--
extra : rebase_source : a0b6aef83b3c315be7088e990c12181a5d022b8d
2017-01-19 14:17:53 -08:00
Andrew Swan c1a7aaaddb Bug 1325223 - Remove ExtensionsUI.jsm workarounds, r=florian. 2017-01-20 12:17:02 -08:00
Andrew Swan 2e63037fde Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK

--HG--
extra : rebase_source : 732c178b13c231b36dea0c8c9f0871c7486e18c3
2017-01-18 18:16:19 -08:00
Andrew Swan 5246947c06 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

--HG--
extra : rebase_source : a7caaee24ffb0557b00c192fe01357a1ac2417bf
extra : source : 73440e18fc824662390fee130aab4a86cf6af60d
2017-01-05 16:35:07 -08:00