Commit Graph

610047 Commits

Author SHA1 Message Date
Jeff Walden
ffd93ba761 Bug 1033916 - Move JSAutoByteString out of jsapi.h into js/public/AutoByteString.h, incidentally breaking the jsfriendapi.h -> jsapi.h dependency. r=jandem
--HG--
extra : rebase_source : d85baf9b28e632db5669aa3d056cc9744686f5c8
2018-08-20 07:46:08 -07:00
Jeff Walden
3e90595274 Bug 1484389 - Move various SavedFrame-related functions and data types into js/public/SavedFrameAPI.h so that users aren't forced to depend on jsapi.h or jsfriendapi.h for them. r=jandem
--HG--
extra : rebase_source : d891f81cb0827d3c03971f71ba95a014d1e35379
2018-08-20 07:45:44 -07:00
Jeff Walden
b0ed4292e4 Bug 1484386 - Move various memory-allocation-related functions into js/public/MemoryFunctions.h to (ultimately) minimize dependencies required to use these functions in forthcoming public headers. r=jandem
--HG--
extra : rebase_source : 7f00471e42be6aa6aa94125c1ea291c6ebbe35a5
2018-08-20 07:45:44 -07:00
Jeff Walden
f95e60bba1 Bug 1484385 - Move various error-report-related structures and types into js/public/ErrorReport.h to minimize dependencies (and ultimately to make jsfriendapi.h not depend on jsapi.h). r=jandem
--HG--
extra : rebase_source : a288defdb87af97cae31181db9239b18935ad3d2
2018-08-20 07:45:44 -07:00
Jeff Walden
cd10720691 Bug 1040316 - Move AutoStableStringChars out of friendapi into public API. r=jandem
--HG--
extra : rebase_source : 3f66710e9517aba203a3d5365f6c3f0102c7baf8
2018-08-20 07:44:44 -07:00
Jeff Walden
407a8b6081 Bug 1483374 - Intl.NumberFormat shouldn't deliberately conflate -0 with +0. r=anba
--HG--
extra : rebase_source : b20e4e3fbc96138c8158ea21934c024d6a8842a0
2018-08-16 13:57:42 -07:00
Nicholas Nethercote
d6f4bef529 Bug 1484605 - Tweak some lookupForAdd() uses. r=luke
These are cases where the existing code is a little dubious or sub-optimal.

--HG--
extra : rebase_source : 2fcb4657afc7c7d24ae88b85d08df57ae04db38c
2018-08-21 11:53:47 +10:00
Gurzau Raul
fce80a532e Backed out 8 changesets (bug 1330257) for Geckoview failures at GeckoSessionTestRuleTest.waitForPageStop_throwOnChangedCallback on a CLOSED TREE
Backed out changeset c26970c767e1 (bug 1330257)
Backed out changeset 53ef69afca69 (bug 1330257)
Backed out changeset 62e53fa35d5b (bug 1330257)
Backed out changeset 7c589fc8621b (bug 1330257)
Backed out changeset 593f9a799d11 (bug 1330257)
Backed out changeset 9085b9fd557c (bug 1330257)
Backed out changeset aa0ef9b0e96a (bug 1330257)
Backed out changeset 7186e64192f7 (bug 1330257)
2018-08-21 06:51:29 +03:00
Jim Chen
2a5876a5b2 Bug 1330257 - 5a. Fix checkstyle error; r=jchen 2018-08-20 23:02:09 -04:00
Jeff Muizelaar
2bcaf3e052 Bug 1483303. Mark 3d transform test as passing. 2018-08-20 22:32:56 -04:00
Jeff Muizelaar
b0d05aed0d Bug 1483303. Update bindings for color masking of images.
This makes us build after pr #2969
2018-08-20 22:32:54 -04:00
Jeff Muizelaar
3f1b0144a3 Bug 1483303. Update webrender to commit e70bae07664def86aefd11c86dac818ab7ea64ea 2018-08-20 22:32:50 -04:00
Jim Chen
0f3c92c7f0 Bug 1330257 - 7. Add Oreo auto-fill frontend; r=esawin r=snorp
Add a frontend for the Oreo auto-fill API in SessionTextInput, which
processes events from Gecko and provides consumer APIs that match the
Oreo auto-fill APIs. GeckoView then forwards the necessary calls to
SessionTextInput.

Differential Revision: https://phabricator.services.mozilla.com/D3538
2018-08-20 22:28:21 -04:00
Jim Chen
da23d1931b Bug 1330257 - 6. Add tests for auto-fill accessibility frontend; r=eeejay
Add some tests to AccessibilityTest to make sure we can perform
auto-fill through the accessibility API.

Differential Revision: https://phabricator.services.mozilla.com/D3255
2018-08-20 22:28:21 -04:00
Jim Chen
7ead74b685 Bug 1330257 - 5. Add auto-fill accessibility frontend; r=eeejay
Add an auto-fill frontend that listens to events from Gecko. It
populates accessibility nodes for input fields and sends accessibility
events, in order to support auto-fill clients that use accessibility
services to perform auto-fill.

Differential Revision: https://phabricator.services.mozilla.com/D3254
2018-08-20 22:28:20 -04:00
Jim Chen
3d6c8ca540 Bug 1330257 - 4. Add auto-fill backend; r=esawin
Add an auto-fill backend in GeckoViewContent.js that detects fields on
the page and sends information about the fields to Java through events.

Differential Revision: https://phabricator.services.mozilla.com/D3253
2018-08-20 22:28:20 -04:00
Jim Chen
8a8e82e9bd Bug 1330257 - 3. Inline session store event listeners; r=droeh
Make the session store event listeners inline, because it makes the code
more readable, and also because auto-fill requires a pageshow listener
that is always registered, so the existing pageshow listener needs to be
moved elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D3252
2018-08-20 22:28:20 -04:00
Jim Chen
fa4ec16cc2 Bug 1330257 - 2. Separate out session focused state from active state; r=droeh
Make a distinction between a session being active (i.e. being visible)
and it being focused. More than one session may be active at a time, but
only one session is focused at a time. This means the focused session is
always active, but an active session may not be focused.

Also, manage setting of active/focused states in GeckoView itself, so
consumers don't generally have to worry about these states.

Differential Revision: https://phabricator.services.mozilla.com/D3251
2018-08-20 22:28:20 -04:00
Jim Chen
6b8899beef Bug 1330257 - 1. Refactor SessionAccessibility; r=eeejay
Move the AccessibilityNodeProvider implementation under
SessionAccessibility, to reduce the indent of the code.

Also make all methods in SessionAccessibility.Settings static to make
the code easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D3250
2018-08-20 22:28:19 -04:00
Brian Birtles
28e9ca261d Bug 1484148 - Make CSSTransition startTime test timeout when waiting for transition events after a fixed number of frames; r=hiro
See bug 1467344 comment 34.

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

--HG--
extra : rebase_source : 87f97caae807ec9d2a6448a76890aba71d62db18
extra : amend_source : b30b01030988e553e5f79eaff324714a173a42c7
2018-08-20 13:09:41 +09:00
Brian Birtles
1eaec25d44 Bug 1484148 - Add a test for resuming from paused; r=hiro
As bug 1467344 comment 40, it appears we don't currently have any tests that
cover resuming a paused animation.

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

--HG--
extra : rebase_source : 7fef846a6e1aafa41923df2b29122e04fbfc0c0c
2018-08-20 13:09:34 +09:00
Mike Hommey
0d3c801ae9 Bug 1484882 - Disable sccache idle shutdown on Windows builds. r=gps
Bug 1472610 did this for Linux builds. It was overlooked that Windows
builds needed the same.
2018-08-21 09:54:04 +09:00
Mike Hommey
6df1b75554 Fix Android bustage from bug 1484872. r=me on a CLOSED TREE 2018-08-21 09:14:28 +09:00
Mike Hommey
d1714fc61d Bug 1484872 - Move LTO flags to python configure. r=froydnj 2018-08-21 08:40:26 +09:00
Mike Hommey
1b5bd092ec Bug 1484872 - Don't look for llvm-symbolizer for LTO builds. r=froydnj
Similar to bug 1478923.
2018-08-21 08:40:10 +09:00
Mike Hommey
7b448e6258 Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj
It calls for cargo-culting its use when using clang, when it's specific
to skipping one linker flags for sanitizers.
2018-08-21 08:40:00 +09:00
Mike Hommey
6f1f972c02 Bug 1484872 - Remove MOZ_CFLAGS_NSS. r=froydnj
It hasn't been used since bug 1295937.
2018-08-21 08:39:49 +09:00
Kris Maglione
31bde826fc Bug 1484466: Part 5 - Use a single QueryInterface method for all nsIFactory instances. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3712

--HG--
extra : rebase_source : d63dc47aed6ab8c35b8352437bdde6c9f3fa1b6d
2018-08-18 12:55:21 -07:00
Kris Maglione
72a0557c23 Bug 1484466: Part 4 - Remove unnecessary lockFactory stub method implementation. r=mccr8
XPConnect will handle dispatching an appropriate error for these calls.

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

--HG--
extra : rebase_source : 659a429248aea6bb70d76f0ba24241ae64056772
2018-08-18 12:53:47 -07:00
Kris Maglione
3dc726f5c5 Bug 1484466: Part 3b - Remove unused XPCOMUtils.generateQI method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3710

--HG--
extra : rebase_source : 07057848d1dd8ca674d45f7dc975746c7a3c3f74
2018-08-18 12:45:31 -07:00
Kris Maglione
356dd0de4a Bug 1484466: Part 3a - Update remaining XPCOMUtils.generateQI callers to use ChromeUtils. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3709

--HG--
extra : rebase_source : 650545d3e58ab92821a9ea2097793cca5996d5b3
2018-08-18 12:44:57 -07:00
Kris Maglione
312a132d3c Bug 1484466: Part 2b - Remove unused XPCOMUtils.generateCI method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3708

--HG--
extra : rebase_source : 6d4c844d4b3b224caef01cb92f3ee27e6999ca4d
2018-08-18 12:39:32 -07:00
Kris Maglione
56f4830bf8 Bug 1484466: Part 2a - Remove no-op generateCI calls. r=mccr8
These stopped having any effect when we switched to ChromeUtils.generateQI,
which does not support automatic nsIClassInfo forwarding.

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

--HG--
extra : rebase_source : 62a3690304ad7baa760c41eba777aa17b9af33f0
2018-08-18 12:38:31 -07:00
Kris Maglione
880dd37f97 Bug 1484466: Part 1 - Remove unused XPCOMUtils.importRelative method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3706

--HG--
extra : rebase_source : bea0fcbfc3398f79f2b2655aea81f6181eeca856
2018-08-18 12:36:03 -07:00
Gabriel Luong
4d1c9228b3 Bug 1457086 - Bump the markup badges font-size to 10px on 1dppx screens and 9px for higher resolution screens. r=rcaliman 2018-08-20 19:14:19 -04:00
Mike Hommey
d04535c91d Bug 1484862 - Switch Linux plain builds to clang. r=gps 2018-08-21 08:02:37 +09:00
Aaron Klotz
9777f6b196 Bug 1484758: Add WinBuiltinAnyPackageSid to parent process COM ACL; r=mhowell
--HG--
extra : amend_source : f7792014b45f8963926d014c34c58a0d7b8d8d95
2018-08-20 11:03:45 -06:00
Kearwood Gilbert
8fc883c938 Bug 1481327 - Part 2: Handle VR process shared memory.,r=kip
--HG--
extra : rebase_source : 9cd9aee74783c0817d8825aff7e7b3cef881fdab
2018-08-20 14:59:56 -07:00
Kearwood Gilbert
a642b0a38b Bug 1481327 - Part 1: Launch VR service in VR process., r=kip,r=mccr8
--HG--
extra : rebase_source : 1de178356f2c4550f01635763e80fbd05b7b0c05
2018-08-20 14:58:28 -07:00
Mike Hommey
e685fe000f Bug 1341222 - Fix building in-tree NSS against system NSPR. r=froydnj 2018-08-21 07:25:11 +09:00
Mike Hommey
4debc3c875 Bug 1341222 - Avoid m4 breaking the sed expressions that set NSPR_INCLUDE_DIR and NSPR_LIB_DIR. r=froydnj 2018-08-21 07:25:00 +09:00
Mike Hommey
25e0f32c43 Bug 1341222 - Allow !- and %-prefixed paths in include paths processed by gyp. r=froydnj 2018-08-21 07:24:53 +09:00
Masatoshi Kimura
20bf6de031 Bug 1484190 - Unblock MSVC 2017 15.8. r=dmajor
--HG--
extra : rebase_source : 9d43a9cec951deabcb224efcc6bea2be0e772394
extra : source : 36e41ebefc3512f840f646be3fc14f0f3b5b538d
2018-08-17 20:41:49 +09:00
Csoregi Natalia
0b0d5bd64a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-21 01:04:16 +03:00
Csoregi Natalia
6a5d41b053 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-21 01:00:01 +03:00
Mike Hommey
dc4c9b7cd4 Bug 1483937 - Still use GCC on MOZ_PGO builds that don't have FORCE_GCC. r=froydnj
Yay for inconsistencies in jobs between beta and central.
2018-08-21 06:50:30 +09:00
Randall Barker
91e6e6d242 Bug 1484463 - Remove GeckoAppShell.setScreenDepthOverride(). r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D3813

--HG--
extra : moz-landing-system : lando
2018-08-20 19:11:09 +00:00
Xidorn Quan
495dc554b1 Bug 1469741 part 2 - Ensure scrollbar has a width even when it's not supported by the theme. r=dholbert
Depends on D3578

The 16px and 8px in this patch are chosen rather arbitrary. We used to have a minimum width of 16px for scrollbar, which comes from `scrollbarbutton` rule in `xulscrollbars.css`. But that rule got removed in https://hg.mozilla.org/mozilla-central/rev/76149510c0f0 as part of bug 1475033.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 18:50:33 +00:00
Xidorn Quan
ee8b85324b Bug 1469741 part 1 - Apply scrollbar colors to background of some scrollbar parts when theme doesn't support them. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D3578

--HG--
extra : moz-landing-system : lando
2018-08-20 01:33:54 +00:00
Justin Wood
9197cbf364 Bug 1484573 - Fix errant use of yaml.load() when yaml.safe_load() would be better. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D3746

--HG--
extra : moz-landing-system : lando
2018-08-20 03:23:33 +00:00