Commit Graph

590844 Commits

Author SHA1 Message Date
J. Ryan Stinnett
545937d350 Bug 1453499 - Expose processMessageManager for RDM frames. r=ochameau
RDM frames with their custom message manager hadn't exposed a value for
`processMessageManager`.  This was just a oversight.

By adding this value, we get a working Browser Content Toolbox for RDM tabs.

MozReview-Commit-ID: 95QskEMKgZK

--HG--
extra : rebase_source : 5259800f64afe55ee5bca29492f6f33efcfd458c
2018-04-10 18:35:05 -05:00
Chris H-C
5be6cf4ed4 bug 1451333 - Convert last few Telemetry tests from generators to async r=Dexter
MozReview-Commit-ID: 2OtVsTFhDIF

--HG--
extra : rebase_source : b9021085fdab7b8b169bb509689aa9251b8d71f2
2018-04-11 12:00:22 -04:00
Sylvestre Ledru
beac9dab5d Bug 1453610 - Add a '*&' to a self-assignment to silent a -Wself-assign warning r=froydnj
MozReview-Commit-ID: 64ZMlMV9YR8

--HG--
extra : rebase_source : d672bc6ecb363821a160f16039e28fdcccc2f4ff
2018-04-12 13:42:20 +02:00
Alex Gaynor
ee407135b4 Bug 1453397 - use ContiguousEnumSerializer for serialization of enums in IPC for IMEs; r=masayuki
MozReview-Commit-ID: Enfhhu2HnH5

--HG--
extra : rebase_source : 39d1e2f7fc111683e652e9b80c147521c923ff16
2018-04-11 12:26:33 -04:00
Tom Ritter
8a27d79dfd Bug 1446346 Remove skips for webaudio tests that should now be fixed r=padenot
MozReview-Commit-ID: GfkOOv8VLkA

--HG--
extra : rebase_source : 8d7f66b8744bffc28c71f8c4de546840827af7d6
2018-04-11 21:50:04 -05:00
Tom Ritter
1e46fe37dc Bug 1446346 If an AudioContext hasn't been started, do not bother clamping/jittering the CurrentTime r=padenot
This will resolve several intermittments that were occuring because we would
occasionally get unlucky and have a jitter midpoint of 0, making an unstarted
AudioContext report a CurrentTime of 100us (or 1ms - whatever our clamp value
was.)

MozReview-Commit-ID: 45zXLbB93wP

--HG--
extra : rebase_source : 23ea5964dc49543c2b4ca45890c4c08456e75c73
2018-04-11 11:34:57 -05:00
Margareta Eliza Balazs
7bd6a55b97 Backed out changeset 2198e282bdcf (bug 1451681) for bustage in /builds/worker/workspace/build/src/dom/media/platforms/agnostic/bytestreams/AnnexB.cpp on a CLOSED TREE 2018-04-12 16:30:43 +03:00
Zibi Braniecki
4d776835e7 Bug 1450656 - Canonicalize ja-JP-mac to ja-JP-macos and use BCP47 version in Fluent. r=jfkthame
MozReview-Commit-ID: 2UbD2T8yyGm

--HG--
extra : rebase_source : 1e9f9c4ab8c97240edb3eb8e2e9d611fff907d7f
2018-04-10 14:19:05 -07:00
Zibi Braniecki
416257ec6b Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug on a CLOSED TREE
MozReview-Commit-ID: H47PYERTGxr

--HG--
extra : source : 623b37fe0fe82d6eff6634cda655252f95b4f8b1
extra : amend_source : 94e620deedc1459f0d4ce9e083ece78c478c6f5b
2018-04-12 22:58:09 -07:00
Zibi Braniecki
3cdc3d9fef Bug 1453480 - Update Preferences to use fluent-dom 0.2.0 API. r=stas
MozReview-Commit-ID: 4CFnjf9VFLz

--HG--
extra : source : a3c36fa7ac0c831c4412652ba1a6a8d57497c63d
2018-04-12 22:45:02 -07:00
Zibi Braniecki
2dc52ab911 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : source : 46a634d6853c680bbee9d2be12bab971058ba281
2018-04-11 16:09:31 -07:00
Zibi Braniecki
b4b2c33b2d Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
MozReview-Commit-ID: La8uSw0sq4p

--HG--
extra : source : 658fedb903d0f037289ffb80026ddea376400caa
2018-04-11 13:06:35 -07:00
Andreea Pavel
163a295ff8 Backed out changeset 70343258ed74 (bug 1442887) for failing browser chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE 2018-04-13 20:29:42 +03:00
Jim Chen
f69d975ea6 Bug 1453537 - 6. Clean up Settings JS modules; r=esawin
Clean up the Settings JS modules a little. Don't keep extra state
variables if we don't have to.

Set displayMode inside the proper frame script rather than through a
data URI. Because we never unregister frame scripts, the data URIs can
start accumulating if display mode is changed several times.

MozReview-Commit-ID: G8DtH6U8mVh

--HG--
extra : rebase_source : 901454858995bf5ca5a9b20478ad754ffdabb5c5
2018-04-12 16:10:15 -04:00
Jim Chen
fef25bdbda Bug 1453537 - 5. Set browser remote attribute during onInitBrowser; r=esawin
Set the browse remote attribute in onInitBrowser so we only set it once
and don't have to remove and re-add the browser to the window.

MozReview-Commit-ID: LJGlnaDtLcj

--HG--
extra : rebase_source : bef6e3e7e18c375262cec63e2bf84bf365e288a4
2018-04-12 16:10:15 -04:00
Jim Chen
968bf76f55 Bug 1453537 - 4. Implement GeckoViewNavigation.onInitBrowser; r=esawin
Initialize browserDOMWindow and any pending "geckoview-window-created"
observers in onInitBrowser, before the browser is bound to the window.

MozReview-Commit-ID: DmA7PckonGO

--HG--
extra : rebase_source : 9a97772665bd4a4504c6597bd136f778e2fc18b5
2018-04-12 16:10:15 -04:00
Jim Chen
6432502cbd Bug 1453537 - 3. Add a "onInitBrowser" call for GV module; r=esawin
Several modules could use an "init browser" phase, where the browser or
the environment has to be initialized before the browser element is
bound to the window.

MozReview-Commit-ID: AoNgJy6QeNA

--HG--
extra : rebase_source : 7f4b4ef173c60d8e0aa4ea08c90d08639fc9b61d
2018-04-12 16:10:15 -04:00
Jim Chen
b5d6dd9fca Bug 1453537 - 2b. Don't unregister listeners automatically on disable; r=esawin
Only unregister listeners explicitly. Also clean up the EventProxy code
a little.

MozReview-Commit-ID: 1U98BbGwfO7

--HG--
extra : rebase_source : 999cb50449301756d2625cbafb4b6f665e315d05
2018-04-12 16:10:15 -04:00
Jim Chen
b405840d90 Bug 1453537 - 2. Name GV module overrides more consistently; r=esawin
init(), onSettingsUpdate(), register(), and unregister() in
GeckoView(Content)Module.jsm are all expected to be overridden. Make
their naming consistent by always using the "on" prefix, similar to
our Java callback naming in GeckoSession.

MozReview-Commit-ID: K3CcPmm2YHs

--HG--
extra : rebase_source : d2963fd597dc8db80c548f45cd19dc5162455d21
2018-04-12 16:10:14 -04:00
Jim Chen
f0e0753749 Bug 1453537 - 1. Use Map for GV modules; r=esawin
Map generally works better than object as key-value stores.

MozReview-Commit-ID: 3BEYcRUHpW7

--HG--
extra : rebase_source : cb3e5193e4cd74f059054e14d401087b5cde87ef
2018-04-12 16:10:14 -04:00
Markus Stange
686443f2a7 Bug 1444432 - Implement screenshot grabbing in LayerManagerComposite. r=jrmuizel
MozReview-Commit-ID: 4BNKNwCACUB

--HG--
extra : rebase_source : dc11246a3190f82b121b521e1324790792a5e405
2018-04-12 15:31:12 -04:00
Jed Davis
330ff36a4d Bug 1278361 - Step 2: Search-and-replace HANDLE_EINTR(close(...)) to use IGNORE_EINTR. r=froydnj
I've also manually verified that no other references to HANDLE_EINTR are
wrapping a close() in any less syntactically obvious way.

MozReview-Commit-ID: 3KkBwFIhEIq

--HG--
extra : rebase_source : 4e79a70b3be22a7721b6f85b19ee5a31c98df456
2018-04-10 14:36:00 -06:00
Jed Davis
ec48124734 Bug 1278361 - Step 1: Update eintr_wrapper.h to bring in IGNORE_EINTR. r=froydnj
This is based on the current security/sandbox/chromium version of eintr_wrapper.h,
taken from upstream commit 937db09514e061d7983e90e0c448cfa61680f605.

I've edited it to remove some things that aren't relevant to us: the
debug-mode loop limit in HANDLE_EINTR, because we don't seem to be
having the problem it's meant to fix and it risks regressions, and
references to Fuchsia, which we don't (yet) support.  I also kept the
original include guards (the file path has changed upstream).

What this patch *does* do is add IGNORE_EINTR and modernize the C++
slightly (using decltype instead of nonstandard typeof).

MozReview-Commit-ID: BO4uQL9jUtf

--HG--
extra : rebase_source : ab3343c6d93e0ce753859217a55af131a0c4ea68
2018-04-10 14:24:27 -06:00
Zibi Braniecki
cc0beb7960 Bug 1453878 - Follow-up to fluent-dom to 0.2.0 landing. r=gandalf
MozReview-Commit-ID: D5jgJWzrDlX

--HG--
extra : rebase_source : 316dd7c060ddc0c023f601f8bb8ab91640c19c4e
2018-04-12 22:20:05 -07:00
Markus Stange
b8e12a1963 Bug 1453003 - Ignore calls to profiler_unregister_thread() that happen after the main thread has shut down. r=njn
MozReview-Commit-ID: 1PmoQe5BbPZ

--HG--
extra : source : fd7869d5d03b42fe3402331c323e7375dde928df
2018-04-12 22:41:03 -04:00
Coroiu Cristina
898e5842d9 Backed out changeset fd7869d5d03b (bug 1453003) for browser-chrome failures at browser/components/preferences/in-content/tests/browser_fluent.js on a CLOSED TREE 2018-04-13 08:32:24 +03:00
Markus Stange
51ce4b2d73 Bug 1453003 - Ignore calls to profiler_unregister_thread() that happen after the main thread has shut down. r=njn
MozReview-Commit-ID: 1PmoQe5BbPZ

--HG--
extra : rebase_source : f3c49aa4ac00aae8e49c886a014f55d27a7cd887
2018-04-12 22:41:03 -04:00
Zibi Braniecki
fc0ea828d6 Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd

--HG--
extra : rebase_source : 41600ee7277cbe0559cf8c96b18a0f286d06e7f8
2018-04-11 16:09:31 -07:00
Zibi Braniecki
e3ad17f498 Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
MozReview-Commit-ID: La8uSw0sq4p

--HG--
extra : rebase_source : 27e3611a5bb7abc11e8663186c6e4b1812a7f34b
2018-04-11 13:06:35 -07:00
Kartikaya Gupta
cfd585d234 Bug 1453364 - Update scrollbar transforms separately from OMTA transforms. r=nical
Although they still happen in the same transaction, they are done in two
separate frame messages. This results in better encapsulated code on the
C++ side since we don't have to pass around an array of properties, and
will simplify future changes to update these properties at render time
rather than at GenerateFrame time.

MozReview-Commit-ID: 9qUkHX7gmD1

--HG--
extra : rebase_source : 15a319ba270eb1783815c514ae05c6a72e323dac
2018-04-11 15:28:00 -04:00
Kris Maglione
fa5af6622b Bug 1453123: Have CertUtils export a CertUtils object. r=rhelmer
MozReview-Commit-ID: 1XInmbNQ2wo

--HG--
extra : rebase_source : 11784a228a91a1b48eab9319e9c853802e060fc2
extra : amend_source : 7e067210dda9db2228f391e4d53de4d5d5f9a3f9
2018-04-10 13:23:35 -07:00
Gurzau Raul
50d002961a Backed out 2 changesets (bug 1446975) for failing xpcshell on sync/tests/unit/test_syncedtabs.js and browser-chrome failures e.g. test/urlbar/browser_page_action_menu.js on a CLOSED TREE
Backed out changeset 69653800c483 (bug 1446975)
Backed out changeset 44e3e7446b02 (bug 1446975)

--HG--
rename : browser/themes/shared/icons/device-phone.svg => browser/themes/shared/icons/device-mobile.svg
2018-04-13 01:28:22 +03:00
Florian Quèze
62d2749834 Bug 1453782 - Record the time it takes to paint the early blank window, r=mconley, data-r=chutten. 2018-04-12 23:50:03 +02:00
Jeff Walden
4649a52921 Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
--HG--
extra : rebase_source : 51bb50046866746ab1fac4dfd3167c7306a3e430
2018-04-10 11:42:54 -07:00
Tom Prince
c31f0f3cb8 Bug 1418058: [taskcluster] Update actions to take and use graph configuration; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D916

--HG--
extra : rebase_source : 5b12a52dfa146a0e33b93387deb3e5178a078b3a
2018-04-09 21:30:36 -06:00
Tom Prince
d0d79d96e0 Bug 1418058: [taskcluster] Get the .taskcluster.yml from the current project; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D915

--HG--
extra : rebase_source : 0d627c485cfb2eedc713c404f03b9c8c5058e68a
2018-04-11 12:02:47 -06:00
Tom Prince
82818118aa Bug 1418058: [taskcluster] Load graph configuration for the correct project when running actions; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D914

--HG--
extra : rebase_source : f2e6591f3ac126b16070549789975fae58c0b3bc
2018-04-11 12:02:19 -06:00
Tom Prince
fdb3fa18c8 Bug 1418058: [taskcluster] Add the prefix for the graph parameters of the primary repo to the graph config; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D913

--HG--
extra : rebase_source : 20c7b2e7537ea55a8191b86388175c1a3ea7c42c
2018-04-11 11:08:48 -06:00
Tom Prince
ec7000854d Bug 1418058: [taskcluster] Pass a graph_config through action task generation; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D912

--HG--
extra : rebase_source : 7773c3f795e42e470c16986bd71e044169ac0f99
2018-04-11 10:24:14 -06:00
Andrew Osmond
c0369e1c33 Bug 1453801 - Remove unused consumer tracking code from SourceSurfaceSharedDataWrapper. r=jrmuizel 2018-04-13 15:24:32 -04:00
Christoph Kerschbaumer
15cc8023f7 Bug 1453814: Test redirects and same-site cookies. r=mgoodwin on a CLOSED TREE
--HG--
extra : source : 86a4c50c98f64dd8b86900274147e7ca2855e586
extra : amend_source : 299c2c905d56933681fa4445e6f76c7b473998f5
2018-04-13 15:42:12 +02:00
Christoph Kerschbaumer
a1c92e2c53 Bug 1453814: Treat any cross-origin redirects as foreign for same-site cookies. r=valentin
--HG--
extra : source : 4d37ff0c232ebef0b1ac4fe79bc3b9833bcfa6ea
2018-04-13 15:42:00 +02:00
Andreea Pavel
adc2675f3e Backed out changeset bc424899c8f8 (bug 1287906) for failing dom/base/test/chrome/test_bug884693.xul on a CLOSED TREE 2018-04-13 21:55:42 +03:00
Andrew Osmond
f17c1700f1 Bug 1452467 - Make native font resource memory allocations fallible. r=lsalzman 2018-04-13 13:33:15 -04:00
Yura Zenevich
807c4d5989 Bug 1451665 - update tool list every time tool is registered/unregistered. r=jryans
MozReview-Commit-ID: 8PagqPOPdCJ
2018-04-13 13:28:49 -04:00
Andreea Pavel
c98766975d Backed out 2 changesets (bug 1453814) for failing dom/base/test/chrome/test_bug884693.xul on a CLOSED TREE
Backed out changeset 86a4c50c98f6 (bug 1453814)
Backed out changeset 4d37ff0c232e (bug 1453814)
2018-04-13 20:19:39 +03:00
Tom Prince
dcb92ef089 Bug 1410255: Use is_try in more places; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D411

--HG--
extra : amend_source : 04fc8eff00a0cafd3d9ce9950f1d953fb68f7bdc
2018-04-13 10:52:06 -06:00
Eric Rahm
098e642086 Bug 1452202 - Clean up PLDHashTable move operator. r=froydnj
--HG--
extra : rebase_source : 2fe44e09de738ffa827b8c7fd51162eaa8c53890
2018-04-09 11:01:59 -07:00
Edouard Oger
f8584a9107 Bug 1446975 fix eslint failure
MozReview-Commit-ID: D0DQxPo4Y4s
2018-04-12 16:51:26 -04:00
Eitan Isaacson
f5f21328b5 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-12 13:46:47 -07:00