Commit graph

1669 commits

Author SHA1 Message Date
Chris Peterson
a38084c85f Bug 1354778 - Remove expired telemetry probes PLUGIN_ACTIVATION_COUNT and PLUGIN_TINY_CONTENT. r=bsmedberg
As of Firefox 52, Flash is the only NPAPI plugin ever activated. As a keyed histogram for all plugin names, PLUGIN_ACTIVATION_COUNT telemetry is unwieldy to view. We can use the BLOCKED_ON_PLUGIN_INSTANCE_INIT_MS telemetry probe's sample count to track the number of Flash instantiations.

MozReview-Commit-ID: 62iGNLQ0nnE

--HG--
extra : rebase_source : b4a31a6bcb7b2525693b078838de726023f37d14
2017-04-11 20:39:58 -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
Gijs Kruitbosch
b8e6b96d70 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : c50b354c9b7df2e31aa295d65eecfbeaa78c2c8f
2017-04-03 21:25:16 +01:00
Fischer.json
2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Wes Kocher
5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Gijs Kruitbosch
08d6dac87a Bug 1352043 - attempt to fix intermittents by forcing an initial system load in HiddenFrames, r=kmag
MozReview-Commit-ID: 5iBIqPclToU

--HG--
extra : rebase_source : b10e0e64661dffe6058c01d40a50af7c8291a430
2017-04-10 15:55:53 +01:00
Prathiksha
68df0b85af Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LIsJ8VG0stN

--HG--
extra : rebase_source : 975e6684f0872ea3f0e42bf073f1bceec12d5bc7
2017-04-09 11:45:01 +05:30
Andrew McCreight
a4e17048dd Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U

--HG--
extra : rebase_source : 0fe6e14c2963efccf21bd1606885098902fed598
2017-04-07 08:48:58 -07:00
Phil Ringnalda
7acd88c933 Backed out changeset 3d1ad05d7b99 (bug 1353104) for Android bustage in test_chrome_ext_hybrid_addons.html 2017-04-07 13:39:54 -07:00
Gijs Kruitbosch
035ae179d1 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : 4dda587bc7ed850594754cab9ea0a02f0114d4d0
2017-04-03 21:25:16 +01:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Benjamin Smedberg
7a6b22b943 Bug 1345905 - remove FLASH_PLUGIN_* telemetry, r=felipe
MozReview-Commit-ID: CgIvYJKLIHm

--HG--
extra : rebase_source : 5602900b0906b8379dae639fb0a1285f0b15a7f7
2017-03-09 10:46:18 -05:00
Gijs Kruitbosch
c45153c1c9 Bug 1347271 - log preloaded top sites in telemetry and update their naming, r=mak
MozReview-Commit-ID: 6q2H01aa42s

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_prefill_sites.js => toolkit/components/places/tests/unifiedcomplete/test_preloaded_sites.js
extra : rebase_source : 6c606f02515ba1ed7701c57189de180d3b22d29c
2017-03-22 13:23:15 +00:00
Andrew McCreight
62c6243f05 Bug 1353174, part 2 - Fix up ContentObservers.js. r=Gijs
This is split into a separate patch in an attempt to get a better
diff.

MozReview-Commit-ID: L9AI3VD2pbV

--HG--
extra : rebase_source : 6dc47abd27d8f66886af4cbb458b6d00e8d5c7ee
2017-04-04 11:25:05 -07:00
Andrew McCreight
2f83bee3a7 Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg

--HG--
rename : browser/modules/ContentObservers.jsm => browser/modules/ContentObservers.js
extra : rebase_source : 6a502cff26fcb55526f97385274bbae871f5cc6c
2017-04-04 11:21:48 -07:00
Christoph Kerschbaumer
07ba3f59c3 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book
0c24635a19 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
a40ae7abe5 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02:00
Gijs Kruitbosch
bdbb254b53 Bug 1351300 - stop using the hidden DOM window from HiddenFrame.jsm, r=kmag
MozReview-Commit-ID: JiAYDG73NMy

--HG--
extra : rebase_source : 43dc24dfbffa788a0920b9db7221f950b5c0052a
2017-03-28 15:24:05 +01:00
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Johann Hofmann
a180cefa13 Bug 1349990 - Update host matching for webrtc prompts. r=Paolo
MozReview-Commit-ID: IIuHvVTy2G7

--HG--
extra : rebase_source : 7614341c8240d49470dcedcf2092c8e68b100576
2017-03-24 13:13:18 +01:00
Nihanth Subramanya
7d7c396449 Bug 1349841 - Don't show "Never For This Session" option in web notification permission prompts in PBM. r=johannh
MozReview-Commit-ID: CLUfqRubjZ9

--HG--
extra : rebase_source : 040368ba011a66160844775c9fbedf516db13bb2
2017-03-23 11:37:30 +05:30
Andrew McCreight
c188818aea Bug 1350878 - ContentLinkHandler.jsm does not use its NetUtil.jsm import. r=mikedeboer
MozReview-Commit-ID: 7CJk7P3JfML

--HG--
extra : rebase_source : 31bbc83af140fb3eabd5f78cc85695df79c6cf0f
2017-03-22 14:59:33 -07: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
Nihanth Subramanya
1f58a6ce81 Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2

--HG--
extra : rebase_source : 9caf4877f0a9632bea4f000bf731f16716e85796
2017-03-19 02:22:39 +05:30
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
Johann Hofmann
141c4f866b Bug 1348257 - Hide the "always remember" checkbox for webrtc prompts in PBM. r=Nihanth
It's important to not remember any user choices made in private mode
(except the ones we specifically mention in the private browsing landing
page). The original idea was to change the checkbox behavior to store
the permission for session duration if in PBM, but this would actually be
inconsistent with the other permission prompts which hide it completely.

MozReview-Commit-ID: 8ioVmE4XefE

--HG--
extra : rebase_source : bddb6fcd9644ba4275b1da8428518285da387c2b
2017-03-20 19:49:59 +01:00
Carsten "Tomcat" Book
ce1d75ce0d Backed out changeset 4e2d53d22566 (bug 1347503) for crashes in windows a11y tests 2017-03-23 09:15:29 +01:00
Nihanth Subramanya
52a1a52de1 Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2

--HG--
extra : rebase_source : 9caf4877f0a9632bea4f000bf731f16716e85796
2017-03-19 02:22:39 +05:30
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Dão Gottwald
fefc17425c Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5

--HG--
rename : browser/modules/URLBarZoom.jsm => browser/modules/FullZoomUI.jsm
extra : rebase_source : 90a4f8f0b4a3804c3306a4f5bc70d566b288979f
2017-03-21 09:23:24 +01:00
Nihanth Subramanya
d5ac420cfd Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH

--HG--
extra : rebase_source : cd0188b641c858a8a631b1112be593dc4085aa8c
2017-02-24 18:42:36 -08:00
Michael Layzell
ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Carsten "Tomcat" Book
468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Florian Quèze
f55f3ce4a0 Bug 1325049 - Fix the global webrtc sharing indicator to work with multiple content processes, r=felipe. 2017-03-15 22:47:06 +01:00
Jared Wein
bb9354d1a2 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 9468cd5b1f67461e4338d4e0782761667f2f2184
2017-03-14 19:58:38 -04:00