Commit Graph

585997 Commits

Author SHA1 Message Date
Csoregi Natalia
4cc6d868c9 Backed out changeset 647154f30332 (bug 1415733) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186). a=backout 2018-03-16 14:09:23 +02:00
Sebastian Hengst
f916563796 Backed out changeset 664c633802d4 (bug 1423220) for frequently failing mochitest dom/html/test/test_fullscreen-api-race.html (bug 1445330). a=backout 2018-03-16 12:55:59 +02:00
Tiberius Oros
a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Tiberius Oros
d01a762799 Merge autoland to mozilla-central. a=merge 2018-03-16 11:51:52 +02:00
Gurzau Raul
540992331b Backed out 6 changesets (bug 1439875) for massive breakage for nightly users a=backout
Backed out changeset 990a8eb972cd (bug 1439875)
Backed out changeset 187aef60922c (bug 1439875)
Backed out changeset 9c764daa1234 (bug 1439875)
Backed out changeset f8e091577d2a (bug 1439875)
Backed out changeset 1ee5a2d21901 (bug 1439875)
Backed out changeset 610ba5dfaae1 (bug 1439875)
2018-03-16 11:26:31 +02:00
Jeff Gilbert
027c306ce3 Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Thomas Daede
d58a56cb9b Bug 1446062: libtremor Vorbis fix. r=jmspeex a=dveditz 2018-03-15 21:47:09 -07:00
Brian Birtles
ee9982905f Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro
This pref was introduced in case we encountered compatibility issues from
changing the return value of Animation.playState (bug 1412765). Now that the
change to Animation.playState has shipped to release channel without any known
problems we should drop this pref.

MozReview-Commit-ID: CwMWRRtIf6u

--HG--
extra : rebase_source : b26c59a51880406c2b94baad8da2eafeb3ae3202
2018-03-16 12:49:55 +09:00
Fabrice Desré
68f45d973d servo: Merge #20310 - Update the MULTIPROCESS static when changing default options (from fabricedesre:opt-multiprocess); r=jdm
<!-- Please describe your changes on the following line: -->
When the options are set not from the command line but by calling `set_defaults()` which is common for embedders, the MULTIPROCESS static is not set, and so the setting is ignored. This patch fixes that.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because we have no tests around that.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b93f153ed59fb993af306bd8c540887196021f87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c85e2e3c9e0ef460304606c14edc356bdd721af
2018-03-15 23:23:54 -04:00
Brindusan Cristian
7ba535f369 Merge inbound to mozilla-central. a=merge 2018-03-16 01:36:33 +02:00
Monty Montgomery
1bd67c4267 Bug 1446062: Vorbis fix r=jmspeex a=abillings 2018-03-15 18:12:05 -04:00
Kris Maglione
f01bccfd0f Bug 1444436: Use DOM APIs rather than HTML string generation for GMP plugin descriptions. r=aswan
MozReview-Commit-ID: GMBT4OZnQKz

--HG--
extra : rebase_source : b903e7588e9bc3a66e0abd523742cca3db7599e5
extra : amend_source : bc64c4350540ea7dcfaa7ea5792c0fe3eb9e8cc3
2018-03-15 12:27:34 -07:00
Kartikaya Gupta
d16ab46492 Bug 1445662 - Update RemoteContentController to allow the GPU process controller thread to be different from the compositor thread. r=rhunt
A couple of RemoteContentController methods get called on the controller
thread in the GPU process. This is the same as the compositor thread so
we could just do compositor-thread stuff here, but we will want to
support the controller thread being the main thread instead of the
compositor thread. So we detect those cases and bounce the message
accordingly.
2018-03-15 15:25:11 -04:00
Kartikaya Gupta
c4a6aff0f0 Bug 1445662 - Annotate remaining PAPZCTreeManager-invoked methods with threading constraints. r=rhunt
These methods are already guaranteed to be called on the controller
thread.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta
5083c84c88 Bug 1445662 - Ensure ZoomToRect runs on the controller thread. r=rhunt
Currently the ZoomToRect function is only ever called on Android, on the
UI process main thread, which is neither the controller nor the sampler
thread. Instead of allowing "random" threads to run inside APZ, we
ensure that callers run it on the controller thread.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta
bb580f89fa Bug 1445662 - Ensure UpdateZoomConstraints runs on the sampler thread. r=rhunt
Without this patch, UpdateZoomConstraints can get called on:
a) the compositor/sampler thread (over PAPZCTreeManager)
b) the controller thread which is also the UI process main thread (on
   desktop platforms without a GPU process)
c) the UI process main thread when it's *not* the controller thread (on
   Android).
Instead of having to reason about all these scenarios separately, we can
try to unify them a little bit by ensuring the function contents always
run on the sampler thread, which is the thread that seems to make the
most sense for it.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta
cfbe8bb66a Bug 1445662 - Assert that IAPZCTreeManager's helper methods are always on the controller thread. r=rhunt
These two functions (UpdateWheelTransaction and ProcessUnhandledEvent)
are only ever called on the concrete APZCTreeManager when the APZ code
is living in the GPU process. This is because the calls are made by the
IAPZCTreeManager implementation which lives in the UI process, and
remoted over PAPZCTreeManager. So the assertion is safe, and will help
us guard against inadvertent breakage when we try making a different
thread the controller thread in the GPU process.

In addition, the WillHandleInput function can be called in the GPU
process on the compositor thread, but we will allow it to be called on
the main thread as well. In that case we need to ensure we don't try
running EventStateManager pref-reading code in the GPU process, and
instead preserve the current behaviour of just returning true.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta
323f2093f0 Bug 1445662 - Remove ProcessTouchVelocity from PAPZCTreeManager.ipdl. r=rhunt
This function is never actually called over IPDL. It is called directly
on the concrete APZCTreeManager instance by the
AndroidDynamicToolbarAnimator code, both of which live in the
compositor. So we don't need to expose this method on IAPZCTreeManager
or over PAPZCTreeManager.
2018-03-15 15:25:09 -04:00
Kartikaya Gupta
9ab9425d9f Bug 1445662 - Make the DPI non-static and bound to the controller thread. r=rhunt
Since we can have multiple browser windows on multiple different
displays with different DPIs, it doesn't make sense to have a single
static DPI value shared across all APZCTreeManagers. Instead, each
APZCTM should store its own DPI value for the display the window is on.
Since the DPI is only ever read from the controller thread, we can make
it bound to that thread, and update the setter code to also set it on
that thread.

As with the previous patch, the change in APZCTreeManagerParent is a
no-op but allows making some other thread in the GPU process the controller
thread. And the change in nsBaseWidget is a no-op everywhere except
Android.
2018-03-15 15:25:09 -04:00
Kartikaya Gupta
d59c0946db Bug 1445662 - Ensure the keyboard map access is threadsafe. r=rhunt
- The change in APZCTreeManagerParent is functionally a no-op because it
  only ever runs in the GPU process on the controller thread. But it
  allows moving the controller thread to some other thread.
- The change in nsBaseWidget is a no-op for desktop platforms, because
  in the UI process the main thread is the controller thread. But on
  Android it moves the call from the main thread to the Java UI thread.
2018-03-15 15:25:08 -04:00
Gijs Kruitbosch
58ea959557 No bug, update documentation of nsAboutRedirector.cpp that was outdated, rs=Mossop 2018-03-15 18:20:02 +00:00
Noemi Erli
6e96a3f1e4 Merge autoland to mozilla-central. a=merge 2018-03-15 19:38:46 +02:00
Dão Gottwald
e8799dff1d Bug 1445949 - updateCurrentBrowser cleanup. r=mconley 2018-03-15 15:14:53 +01:00
Dão Gottwald
28fed2662a Bug 1445948 - Use gMultiProcessBrowser in gBrowser.init. r=mconley 2018-03-15 15:13:21 +01:00
Andrea Marchesini
5050d63343 Bug 1445894 - Move serviceworkers gtest into dom/serviceworkers/test, r=catalinb
--HG--
rename : dom/workers/test/gtest/TestReadWrite.cpp => dom/serviceworkers/test/gtest/TestReadWrite.cpp
rename : dom/workers/test/gtest/moz.build => dom/serviceworkers/test/gtest/moz.build
2018-03-15 14:46:03 +01:00
Masayuki Nakano
4a54352ab1 Bug 1445935 - HTMLEditRules::SplitMailCites() remove left node of split node if it becomes empty r=m_kato
Before bug 1413181, HTMLEditRules::SplitMailCites() receives left node of
split node with |leftCite| from SplitNodeDeep().  However, the out argument
was removed by the bug and now, it can be retrieved with
SplitNodeResult::GetPreviousNode().  Its result is used for creating <br>
element etc, but not set to |leftCite| but HTMLEditRules::SplitMailCites()
still checks if |leftCite| is empty to remove it from the DOM tree.

So, now, both |leftCite| and |rightCite| are not necessary and
HTMLEditRules::SplitMailCites() should use |previousNodeOfSplitPoint|
instead of |leftCite|.

MozReview-Commit-ID: 408MJt6X1IV

--HG--
extra : rebase_source : fa6095ccc972d33afe8deb0f124adffea7371f4e
2018-03-15 22:34:57 +09:00
Glenn Watson
3c3fe611d7 servo: Merge #20311 - Update WR (local clip API change, texture cache optimizations) (from glennw:update-wr-pic); r=mbrubeck
Update WR (local clip API change, texture cache optimizations).

Source-Repo: https://github.com/servo/servo
Source-Revision: 57b12aaaaf61ad02006014465ed2c93c7ecb1e77

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 50170d6496ac9fc002e86f33c9f0173465ad190a
2018-03-15 22:19:31 -04:00
Dão Gottwald
114738a496 Bug 1443937 - Make the autoscroll popup explicitly consume outside clicks. r=enn 2018-03-15 13:14:50 +01:00
Dão Gottwald
80e97e4bf5 Bug 1443462 - Copy default browser attributes from the initial browser to dynamically created ones. r=mconley
MozReview-Commit-ID: DGy6W2w75Y2

--HG--
extra : rebase_source : 58d2014b00780b1b8839e0ed847582f5e52896b7
2018-03-15 12:25:35 +01:00
Andrea Marchesini
37ecc8fc55 Bug 1445681 - EventSource::close must do a sync call to CloseInternal, r=smaug 2018-03-15 11:16:04 +01:00
Nicolas Silva
b3fa768783 Bug 1437032 - Rely on WebRender to pixel snap gradients instead of doing it when building the display list. r=mstange
To correctly apply pixel snapping during display list construction we would need to snap each tile of a repeated gradient individually. It's preferrable to do this in WebRender rather than decompose gradients into many display items.
2018-03-15 11:54:35 +01:00
Andrew Osmond
a53f4da6d7 Bug 1445802 - Disable broken asserts to unbreak Windows QR mda tests. r=aosmond 2018-03-15 06:42:19 -04:00
Emilio Cobos Álvarez
bfce521488 Bug 1439875: Fix extension windows. r=kmag
Now we're loading the sizemode attribute earlier, doing this on load stops
working.

MozReview-Commit-ID: ToiJiYrvFw

--HG--
extra : rebase_source : 48ad80e5535ecc5f7c8c8297f417f797deddc017
extra : source : 80194b5bf0e7bbcccf727d2fec140e747ebd0949
extra : histedit_source : 2b7755fece2a564fc806369280559c8829d3d486
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
3256e9aa31 Bug 1439875: Flag chevron.svg as intermittently shown on windows. r=johannh
MozReview-Commit-ID: 7gJvF00WDgR

--HG--
extra : rebase_source : 50c250c56941333ba753760ef6b2dcf1e3572ce8
extra : source : bd74c58f27f5cc8b8b7c2b3c43ebd275c76ec9ac
extra : histedit_source : 651580da8005a3ed4fded7171a617a2093df042c
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
97e085269a Bug 1439875: Update browser_windowopen_flicker.js. r=florian
To avoid hacking around the empty window, and handle the activation issue seen
on Windows / OSX.

MozReview-Commit-ID: oK3T8FKd5n

--HG--
extra : rebase_source : 4d1ed1bae673b3b0e533d7c66303a3cf995fda8b
extra : source : 461021b4bf3ab189babba096584682b2469ce9df
extra : histedit_source : eaa97d93bb4e100e1410471b19585ac125bd828d
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
e022841fa9 Bug 1439875: Update browser_windowopen_reflows.js to not wait for a resize that no longer exists. r=florian
MozReview-Commit-ID: Jln9ejZh2b6

--HG--
extra : rebase_source : 7e3eafa77fae784433dffc80ad20dd02a55f1141
extra : source : 8793a244abce5dab717769cbec698a6ece9c28c5
extra : histedit_source : aad1c97c5fe726c1a4ddd35b43aec7224c7e601c
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
3beb2dc514 Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek

--HG--
extra : rebase_source : 253bea4c4e90727c0e8cce4726bf7a695ca26d9d
extra : source : 4d6f855ea529f6043b3ca886f53901e16a3d6405
extra : histedit_source : b0aa76063dca7a85e43b3bf670aab8f185a57915%2C760885a660c4fd92e7ae777614ad3cdc84dc9b31
2018-03-15 21:19:50 +11:00
Emilio Cobos Álvarez
c41e281661 Bug 1439875: Size the XUL window before doing layout. r=smaug
The only subtle thing is the mCenterAfterLoad stuff, which is gated after a
mChromeLoaded.

Other than that it follows the same pattern as bug 345560.

MozReview-Commit-ID: 8qDiA2yn9DB

--HG--
extra : rebase_source : 8ad309e3f449cea1536bfbff8e8b1585fefbc186
extra : source : f582644f846cee16b554d694d24b4eb8ca3c5106
2018-03-15 21:19:50 +11:00
shindli
b5ff200fa2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-15 12:18:31 +02:00
shindli
9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Jan de Mooij
3a631decc0 Bug 1445610 - Clean up some enums in Value.h. r=jwalden 2018-03-15 10:38:59 +01:00
sotaro
0cc1972d14 Bug 1432039 - Improve assumption of content process's back-end prefs r=jrmuizel 2018-03-15 14:48:54 +09:00
Kris Maglione
853856ff98 Bug 1445537: Follow-up: Add test. r=aswan
MozReview-Commit-ID: 8rDoqbPfnrS

--HG--
extra : rebase_source : ceee3287ffcfc2d1fea70d91c8686a9d0de3ec16
2018-03-14 21:43:11 -07:00
Kris Maglione
a4d72e2a38 Bug 1445551: Follow-up: Fix typo. r=emk DONTBUILD
MozReview-Commit-ID: BDJD4SvrIX9
2018-03-15 21:57:28 -07:00
Yuki Hiroshi
6f6e95b2d4 Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Brindusan Cristian
ed15f7d5a4 Backed out changeset 83dffebb1536 (bug 1440573) for bc failures on browser_policy_disable_safemode.js CLOSED TREE 2018-03-16 05:15:39 +02:00
Ekanan Ketunuti
603ddf6b44 Bug 1445841 - Add words to en-US dictionary. r=ehsan 2018-03-15 08:47:36 +07:00
Kris Maglione
b33f7da261 Bug 1445537: Track frameloader swaps when monitoring for channel disconnections. r=aswan
When we swap <browser> frameloaders, the message managers on the parent side
also change. And since a frameloader swap is usually followed by the original
<browser> and its message manager being destroyed, this leads us to think the
message manager has disconnected earlier than it actually does.

MozReview-Commit-ID: LC9aaoynWzH

--HG--
extra : rebase_source : 7fdcd78d12bad8898a6219ee799f64e15427e189
2018-03-14 15:44:08 -07:00
Phil Ringnalda
0bf2d49044 Bug 1369411 followup, redisable test_bug394057.html on Android, where it still fails, on a CLOSED TREE 2018-03-14 19:45:09 -07:00
Ryan VanderMeulen
7fcc589a8c Bug 1445834 - Skip css/CSS2/borders web-platform-tests on Linux32 opt due to frequent failures on a CLOSED TREE.
--HG--
extra : amend_source : d3912fab7f663816d33873e55f61315452e294a9
2018-03-14 20:41:01 -04:00