Commit Graph

653167 Commits

Author SHA1 Message Date
Liang-Heng Chen
4ad2af201e Bug 1330467 - part 5. Access permissions by principal in PermissionUI.jsm; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D19926

--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:08 +00:00
Liang-Heng Chen
27f65e45d3 Bug 1330467 - part 3. Use principal for permissions in pageinfo/permissions.js; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D19924

--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:11 +00:00
Liang-Heng Chen
88d2887376 Bug 1330467 - part 2. Add SitePermissions APIs functions to accept principal; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D19923

--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:13 +00:00
Liang-Heng Chen
c42628e988 Bug 1330467 - part 1. Don't strip first party domain from permissions key; r=johannh,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D19922

--HG--
extra : moz-landing-system : lando
2019-05-17 13:23:16 +00:00
Nathan Froyd
0c7539d4de Bug 1554541 - update to audioipc upstream fd5619850628; r=kinetik
This change pulls in some changes necessary to work with newer versions
of Rust.

Differential Revision: https://phabricator.services.mozilla.com/D32650

--HG--
extra : moz-landing-system : lando
2019-05-27 00:52:08 +00:00
Coroiu Cristina
16e94ed95a Merge inbound to mozilla-central a=merge 2019-05-27 00:13:53 +03:00
Coroiu Cristina
86860202b9 Merge autoland to mozilla-central a=merge 2019-05-27 00:12:05 +03:00
Sebastian Hengst
b28451f8af Bug 1554493 - Don't run fission tests on Try because they are permafailing. a=cleaner-try-pushes 2019-05-26 18:22:02 +02:00
Razvan Maries
6fbdaf61c3 Backed out changeset f9699ae30f4d (bug 1213601) on jrmuizel's request. 2019-05-26 18:12:56 +03:00
Jean-Yves Avenard
e4ba671378 Bug 1552643 - P3. rename medium_high_event_queue.enabled pref. r=froydnj
To make it more inline other preferences naming.

Differential Revision: https://phabricator.services.mozilla.com/D32251

--HG--
extra : moz-landing-system : lando
2019-05-26 15:00:09 +00:00
Jean-Yves Avenard
710e7c61ff Bug 1552643 - P2. Clarify the requirements section. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D32252

--HG--
extra : moz-landing-system : lando
2019-05-26 14:59:55 +00:00
Jean-Yves Avenard
5654453862 Bug 1552643 - P1. Re-organise prefs in sections. r=njn
This re-organise the various sections, re-sorting preferences by alphabetical order as originally intended (except for media).

Differential Revision: https://phabricator.services.mozilla.com/D31995

--HG--
extra : moz-landing-system : lando
2019-05-26 14:59:43 +00:00
Jean-Yves Avenard
27fe93a619 Bug 1550422 - P27. Do not set WebRender preferences as code don't expect them to exists. r=cpearce
Listing the preferences in either all.js or StaticPrefList.h would also make them appear in about:config which is something we don't want.

Additionally, rename some pref constants to improve code clarity as we can no longer rely on using the StaticPrefs accessor.

Differential Revision: https://phabricator.services.mozilla.com/D32416

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:42 +00:00
Jean-Yves Avenard
62b101eb4f Bug 1550422 - P26. Make setter only usable on main process. r=njn
And set the underlying preference. StaticPrefs::Set becomes a convenience access to the original preference which is what gfxPrefs was actually doing.

Differential Revision: https://phabricator.services.mozilla.com/D31749

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:27 +00:00
Jean-Yves Avenard
219c4ba3bb Bug 1550422 - P25. Don't make prefs unnecessarily atomic. r=njn
Skip and Once prefs are only ever written on the main thread once. There's no need to make those prefs atomic.

Differential Revision: https://phabricator.services.mozilla.com/D31732

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:18 +00:00
Jean-Yves Avenard
f3645a594e Bug 1550422 - P24. Fix style of StaticPrefs. r=njn
Prefs aren't yet sorted as they should be, this will be done in bug 1552643

Differential Revision: https://phabricator.services.mozilla.com/D31731

--HG--
extra : moz-landing-system : lando
2019-05-26 14:32:03 +00:00
Jean-Yves Avenard
022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

Differential Revision: https://phabricator.services.mozilla.com/D31468

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Jean-Yves Avenard
68d537fd60 Bug 1550422 - P22. Remove gfxPref sync with GPU process. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31467

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:27 +00:00
Jean-Yves Avenard
2b100af8bf Bug 1550422 - P21. Remove gfxPref sync with VR process. r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D31466

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:12 +00:00
Jean-Yves Avenard
3d2a9f2e92 Bug 1550422 - P20. Add missing namespace. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31463

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:04 +00:00
Jean-Yves Avenard
5322579cda Bug 1550422 - P19. Convert gfxPrefs::LayersWindowRecordingPath to gfxVars. r=jrmuizel
StaticPrefs doesn't support nsCString type and the changes required to support this would be rather big. Seeing that there was only a single gfxPrefs using this, and this is a "Once" pref ; we move it to gfxVars instead.

Differential Revision: https://phabricator.services.mozilla.com/D31462

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:57 +00:00
Jean-Yves Avenard
321b1d810f Bug 1550422 - P18. Convert gfxPrefs::LayoutFrameRate to StaticPrefs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31461

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:37 +00:00
Jean-Yves Avenard
9ac65feb3d Bug 1550422 - P17. Convert gfxPrefs::GfxLoggingLevel to StaticPrefs. r=jrmuizel
Fly-by fix, we make LoggingPrefs::sGfxLogLevel as it is written on the main thread but read on different threads.

Differential Revision: https://phabricator.services.mozilla.com/D31460

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:29 +00:00
Jean-Yves Avenard
23436e1811 Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31259

--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:14 +00:00
Jean-Yves Avenard
988e19f307 Bug 1550422 - P14. Add GetXXName and GetXXDefault methods to StaticPrefs. r=njn
This is required to emulate some gfxPrefs functionalities.

Differential Revision: https://phabricator.services.mozilla.com/D31258

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:56 +00:00
Jean-Yves Avenard
85777eccf3 Bug 1550422 - P13. Add Skip, Once and Live cached preference policy. r=njn,kmag
This works identically to what gfxPrefs UpdatePolicy offers.

Differential Revision: https://phabricator.services.mozilla.com/D31257

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:52 +00:00
Jean-Yves Avenard
04a34db033 Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
gfxPrefs Live preferences are almost identical to StaticPrefs.

We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.

Differential Revision: https://phabricator.services.mozilla.com/D31256

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:42 +00:00
Jean-Yves Avenard
4b77501235 Bug 1550422 - P11. Add atomic float preferences support. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31255

--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:37 +00:00
longsonr
88ee2d5b6d Bug 1551030 Part 1 - Remove some obsolete typedefs r=dholbert 2019-05-26 13:35:22 +01:00
Razvan Maries
aba472751e Merge mozilla-inbound to mozilla-central a=merge 2019-05-26 12:26:33 +03:00
Matthew Noorenberghe
5c68a7ecfb Bug 1272849 - Move test_empty_password to its own file. r=intermittent
--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_notifications_2.js => toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger_empty_password.js
2019-05-25 17:06:51 -07:00
Matthew Noorenberghe
4792c7b56c No bug - Enable 'no-var' eslint rule for passwordmgr/
--HG--
extra : amend_source : 3848fa80d77680f21caacebab5058e630abf14a6
extra : histedit_source : ea9a6e75c55a63b62cdc90690c8a49f5e9b592a4
2019-05-25 16:57:28 -07:00
Matthew Noorenberghe
4f3dd3cb23 No bug - Enable 'block-scoped-var' eslint rule for passwordmgr/
--HG--
extra : amend_source : 216c6888a1cc4aadc993e091e79775b60e000216
extra : histedit_source : 91d6555e58bc505df79c3ea174c893c9b13cc495
2019-05-25 16:07:36 -07:00
Matthew Noorenberghe
cca40c7f65 No bug - Move passwordmgr mochitest .eslintrc.js to the mochitest directory
--HG--
rename : toolkit/components/passwordmgr/test/.eslintrc.js => toolkit/components/passwordmgr/test/mochitest/.eslintrc.js
extra : histedit_source : 9d348063e68947d8fbda7d0ef9cb97bd6ed39a02
2019-05-25 15:52:17 -07:00
Matthew Noorenberghe
94d96882c7 No bug - Convert 'var' to 'let' in passwordmgr
--HG--
extra : histedit_source : 5af8d16766e0eba926171c8eddc824f8be40cb25
2019-05-25 15:42:18 -07:00
Matthew Noorenberghe
03ad378d2a No bug - Fix JSDoc file comments in passwordmgr unit tests
--HG--
extra : histedit_source : 3dac6a2519c891dca0ef50a3083f0ae6c7ffa640
2019-05-25 15:11:13 -07:00
Matthew Noorenberghe
6b8f7927a5 No bug - Remove mode lines from passwordmgr/ unit tests
--HG--
extra : histedit_source : 96207fb4f4711c93f567e70b072cf0e1a8cfdc00
2019-05-25 15:05:46 -07:00
Sylvestre Ledru
d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D30883

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Julian Descottes
a1552ab73e Bug 1554374 - ContentProcess domains should call super.destructor r=ato
This should avoid the test failures in debug.

Differential Revision: https://phabricator.services.mozilla.com/D32559

--HG--
extra : moz-landing-system : lando
2019-05-25 17:36:37 +00:00
Liang-Heng Chen
f784420dff Bug 1552536 - add dummy page load origin; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D31666

--HG--
extra : moz-landing-system : lando
2019-05-25 17:21:26 +00:00
Jean-Yves Avenard
38a4c733c3 Bug 1554438 - P2. Only shutdown thread if it was started. r=sotaro
It is theorically possible that the WinCompositorWindowThread failed to start. Should this happen, attempting to shut it down will cause shutdown to hang forever.

Differential Revision: https://phabricator.services.mozilla.com/D32602

--HG--
extra : moz-landing-system : lando
2019-05-26 02:17:10 +00:00
Jean-Yves Avenard
08bbc4b814 Bug 1554438 - P1. Don't rely on a live pref to determine order of actions. r=sotaro
The value of the pref may change between start and shutdown.

So we shouldn't rely on that pref to determine if we need to shutdown on thread started earlier if that pref was true.

Differential Revision: https://phabricator.services.mozilla.com/D32601

--HG--
extra : moz-landing-system : lando
2019-05-26 02:17:55 +00:00
Bastien Orivel
7294fc12b5 Bug 1554426 - Re-introduce Renderer::current_epoch. r=emilio
It was removed in 1441308 but is used by servo

Differential Revision: https://phabricator.services.mozilla.com/D32598

--HG--
extra : moz-landing-system : lando
2019-05-25 23:02:40 +00:00
Bastien Orivel
f837a8e3f8 Bug 1554401 - Part 2: Revendor dependencies. r=emilio
Depends on D32567

Differential Revision: https://phabricator.services.mozilla.com/D32568

--HG--
extra : moz-landing-system : lando
2019-05-25 17:08:33 +00:00
Bastien Orivel
998c4ce860 Bug 1554401 - Part 1: Update dwrote to 0.9. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32567

--HG--
extra : moz-landing-system : lando
2019-05-25 17:08:40 +00:00
Lee Salzman
b1e52e6aaf Bug 1553910 - pass DWrite subpixel order into Skia and WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32545

--HG--
extra : moz-landing-system : lando
2019-05-25 16:20:59 +00:00
Jean-Yves Avenard
1feb57d6e6 Bug 1550422 - P10. Define StaticPrefs setter. r=njn
This is used by some gfx code and is required to convert gfxPrefs into StaticPrefs.

The setter only modifies the value of the StaticPref in the current process and doesn't propagate to others.

Differential Revision: https://phabricator.services.mozilla.com/D31254

--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:38 +00:00
Jean-Yves Avenard
70d5224c8b Bug 1550422 - P9. Sync preferences in VR process when they change. r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D31017

--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:40 +00:00
Jean-Yves Avenard
fec74fbc4b Bug 1550422 - P8. Add shared pref serializer/deserializer to VR process. r=kmag,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D31016

--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:45 +00:00
Jean-Yves Avenard
b27811b945 Bug 1550422 - P7. Add VR process selector to prefs module. r=spohl
Will be needed to remove gfxPrefs in favor of StaticPrefs

Differential Revision: https://phabricator.services.mozilla.com/D31015

--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:43 +00:00