Commit graph

77 commits

Author SHA1 Message Date
Michael Kaply
20d1c205fc Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 93ab53e43be09b0b24bb7c7fcd73c0010fc912a2
2017-09-07 19:38:55 -05:00
Sebastian Hengst
117f151830 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Michael Kaply
9b7d4d878e Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 674a8e9e4e3e0769a58ed919f268678cb5af48c7
2017-09-07 19:38:55 -05:00
Andrew Swan
a806967d80 Bug 1379833 Part 1: Move common code to format permission dialog strings to Extension.jsm
MozReview-Commit-ID: LvyEy7x9TJg

--HG--
extra : rebase_source : 02e748210100e2f3b0a08b77746d0171f4085149
extra : intermediate-source : e742aefc28987ea2e80fda91ff277343862d2b5a
extra : source : 90778683c3dd067754dfff4ca776e2c0f9ad7c3b
2017-08-02 13:15:30 -07:00
Andrew Swan
728fcfe9c3 Bug 1382031 Set access key properly on optional permission doorhanger r=andym
MozReview-Commit-ID: J9MiAeGmMiT

--HG--
extra : rebase_source : 371d5b67f2e900670f09b53733e0ba0dcb2a0c7e
2017-07-18 16:54:07 -07:00
Florian Quèze
3d56aac575 Bug 1379788 - Stop loading RecentWindow.jsm during startup, r=Gijs. 2017-07-11 23:30:23 +02:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Bob Silverberg
2c05852936 Bug 1369581 - Requesting an optional permission that does not cause a prompt should succeed, r=aswan
Currently, if an extension requests one or more optional permissions,
and those permissions do not cause a prompt to be displayed,
the framework will reject that request and not grant any permissions.
This should be the opposite in that we should grant permission to
those optional permissions event though no prompt is displayed.

MozReview-Commit-ID: 6SeyFSv92Lo

--HG--
extra : rebase_source : 08ba28ca7920c9d37af28afa24d9602813b4470b
2017-06-02 09:14:22 -04:00
Mark Striemer
bb93b8c9b4 Bug 1358431 - Remove delay rendering add-on permissions popup header r=florian
MozReview-Commit-ID: rlpOW0xFtm

--HG--
extra : rebase_source : 96632d3f69ab7fa6ee25a6c80cacb4f1ed7ab3e9
2017-06-09 14:59:04 -05:00
Doug Thayer
26f8bae28d Bug 1359733 - (pt. 3) Pull out browser-addons.js badges r=aswan
We are moving app menu doorhangers and badges out from window-
specific code into a jsm, in order to simplify the work that
the new app udpate UI has to do. Since browser-addons.js also
consumes the badge system, this ensures that it also uses the
jsm store.

MozReview-Commit-ID: Fb5Fsja0RcA

--HG--
extra : rebase_source : c979e361aba54692f89e79317e4958b65c8b4722
2017-05-15 10:38:33 -07:00
Kris Maglione
f5f76c7cff Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : aa3a45654f1d3b071cec33fe93fffd2cc8db294f
extra : source : c861e23ec8ef99e19d75e6e62dad143ccb95dffd
2017-05-10 12:34:17 -07:00
Kris Maglione
84e0c25849 Bug 1356826: Part 6 - Wait for delayed startup before checking for side-loads. r=aswan
MozReview-Commit-ID: IpuRNbdUXmE

--HG--
extra : rebase_source : 0fc72897bc0a12b5bd789c9a0d00df3dec4f7760
extra : source : d47998fa24cd084ffba07a73834d8ffb3af81b60
2017-04-15 14:09:41 -07:00
Iris Hsiao
6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Kris Maglione
05591ed101 Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : d681fa6c0715790664e090580175cfe33bca3425
2017-05-10 12:34:17 -07:00
Kris Maglione
01a97bf1e9 Bug 1356826: Part 6 - Wait for delayed startup before checking for side-loads. r=aswan
MozReview-Commit-ID: IpuRNbdUXmE

--HG--
extra : rebase_source : 5ac9b960f9f06952120676b713d77624f832e4d6
2017-04-15 14:09:41 -07:00
Alexandre Poirot
c90bccb53a Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK

--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Andrew Swan
ebcf41ae27 Bug 1358229 Fix exception during optional permission prompts r=rhelmer
MozReview-Commit-ID: 5e3tlFF7uvp

--HG--
extra : rebase_source : 44821fa0cdc9a97ccb99d0587e8575bb02ed8c0e
2017-04-24 10:44:41 -07:00
Andrew Swan
48d2c6f7c7 Bug 1343498: Don't fail on unparseable host permissions r=kmag
MozReview-Commit-ID: BHIzjjz23N7

--HG--
extra : rebase_source : d8b684281c04fc70e29737fbd67bc92725860114
2017-04-14 16:45:10 -07:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrew Swan
a02a18c1e5 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

--HG--
extra : rebase_source : b5525cbae3822f3e2727788fd63580e6d5bd8293
2017-04-10 19:12:23 -07:00
Mark Striemer
bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
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