Граф коммитов

696626 Коммитов

Автор SHA1 Сообщение Дата
Paul Bone acbeea528b Bug 1618445 - pt 4. Use the new logger for existing E10SUtils debug messages r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65442

--HG--
extra : moz-landing-system : lando
2020-03-17 04:32:24 +00:00
Paul Bone 065927a4a5 Bug 1618445 - pt 3. Move session store logging into SessionStoreInternal r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65441

--HG--
extra : moz-landing-system : lando
2020-03-17 04:26:12 +00:00
Paul Bone 7cb945b749 Bug 1618445 - pt 2. Move process switch logging to E10SUtils r=mattwoodrow
* Create new logger.
 * Use logger for process switch logging.
 * Remove "[process-switch]: " string from log messages, it is redundant.

This may eventually move to a whole new module if/when process switching
moves there.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 04:25:33 +00:00
Paul Bone 4bce55271e Bug 1618445 - pt 1. Improve logging in SessionStore.jsm r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65439

--HG--
extra : moz-landing-system : lando
2020-03-17 04:24:58 +00:00
Markus Stange 292f87c1ef Bug 1557570 - Call baseprofiler::profiler_init() from the first mozglue function that runs. r=gerald
As far as I can tell there is no single entry-point into C++ code on Android.
Instead, GeckoThread and GeckoLibLoader call various functions to load libraries one-by-one.
We want to capture all that library loading in the profiler, so we need to kick off the base profiler at the beginning of whichever function is called first.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 04:15:04 +00:00
Markus Stange 3349423265 Bug 1557570 - Build the base profiler on Android. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D64998

--HG--
extra : moz-landing-system : lando
2020-03-17 03:27:35 +00:00
Markus Stange de0a0463d6 Bug 1557570 - Make baseprofiler/core/shared-libraries-linux.cc compile on Android. r=glandium
Stop including "Linker.h" and always include <link.h> instead, which also comes with ElfW() and other things that this code needs.
Also fix up "!/" path detection code.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 03:26:57 +00:00
Markus Stange 6d980e05bb Bug 1618979 - Use PrintToConsole for things that should always be printed. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D64996

--HG--
extra : moz-landing-system : lando
2020-03-17 03:26:19 +00:00
Markus Stange e3cd7fc71c Bug 1618979 - Tweak base profiler logging. r=gerald
This fixes the declaration of (BaseProfiler)LogTest. It also makes it so that the logs show up on Android.
In xpcom we have printf_stderr which does something similar and also handles Windows.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 03:25:40 +00:00
Markus Stange e54247708a Bug 1619362 - Sync up the two profiler feature lists again. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D65012

--HG--
extra : moz-landing-system : lando
2020-03-17 03:25:02 +00:00
Markus Stange f38f79b818 Bug 1619362 - Remove two unused variables. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D64990

--HG--
extra : moz-landing-system : lando
2020-03-17 03:24:23 +00:00
Markus Stange 345b2ee888 Bug 1619362 - Parse MOZ_BASE_PROFILER_STARTUP_DURATION and _INTERVAL. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64988

--HG--
extra : moz-landing-system : lando
2020-03-17 04:11:20 +00:00
Markus Stange 93518320ab Bug 1620097 - Add markers and labels for category service observer notifications. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D66074

--HG--
extra : moz-landing-system : lando
2020-03-17 04:11:35 +00:00
Markus Stange 44ece05dfd Bug 1619032 - Register 'mirror: always' StaticPref callbacks after pref values have been read. r=njn
This speeds up startup by 140ms on a Moto G5 Android device because it avoids almost 3 million calls to CallbackNode::Matches.

The patch contains the following changes:
 - InitAlwaysPref no longer calls AddMirrorCallback.
 - InitAlwaysPref loses its aIsParent and aIsStartup arguments and is now only called in the parent.
 - InitAll is now only called in the parent, and doesn't care if it's called for startup.
 - There's a new function, `StaticPrefs::StartObservingAlwaysPrefs()` which gets called after all prefs have been loaded on startup.
 - The new function calls AddMirror rather than AddMirrorCallback so that any pref values from the data files get picked up into the mirrors.
 - AddMirror requires a fallback argument. I used the current value of the mirror as the fallback value.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 04:11:35 +00:00
Andrea Marchesini d6f957415c Bug 1622124 - BroadcastChannel receives messages in onmessage after channel has been closed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66944

--HG--
extra : moz-landing-system : lando
2020-03-17 03:56:12 +00:00
alwu ed38b0fac7 Bug 1582508 - part10 : change `MediaSessionPlaybackTestState::None` to `MediaSessionPlaybackTestState::Stopped` to fix the build fail on X11. r=webidl,Ehsan,chunmin
On X11, there is an universal definition for `None`, and it conflicts with the `None` in the enum of `MediaSessionPlaybackTestState`, which causes a build fail on X11. Also, as the `MediaSessionPlaybackTestState` is defined in the `ChromeUtilsBinding.h`, which is automatically generated by the code gen, we can't include `X11UndefineNone.h` to workaround this problem.

Therefore, we have to change its name to avoid using the same name.

[1] from `/usr/include/X11/X.h:115`
#define None                 0L /* universal null resource or null atom */

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

--HG--
extra : moz-landing-system : lando
2020-03-17 01:01:33 +00:00
alwu f53cc97d2b Bug 1582508 - part9 : enable wpt 'playbackstate.html'. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66350

--HG--
extra : moz-landing-system : lando
2020-03-17 00:04:10 +00:00
alwu 4be8a331a0 Bug 1582508 - part8 : add test r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66345

--HG--
extra : moz-landing-system : lando
2020-03-17 00:30:43 +00:00
alwu 5fb309e36a Bug 1582508 - part7 : create a chrome-only method to get the playback state from the main controller. r=webidl,Ehsan
Implement a chrome-only method `getCurrentMediaSessionPlaybackState()` to expose current actual playback state in testing.

The reason we create an new enum `MediaSessionPlaybackTestState` is because of building issue. If we use `MediaSessionPlaybackState` directly in the `ChromeUtils.webidl`, then the codegen would automatically add an header include of `MediaSessionBinding.h` in the `ChromeUtilsBinding.h`, which would cause the complier complaining about lots of undeclared identifier.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 01:01:31 +00:00
alwu 9aea20214c Bug 1582508 - part6 : add actual playback state in the media controller r=chunmin
Implement the way of determining the actual playback state from the guessed playback state and the declared playback state.

[1] https://w3c.github.io/mediasession/#actual-playback-state

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:39:12 +00:00
alwu 252ad6b503 Bug 1582508 - part5 : replace 'PlaybackState' with 'MediaSessionPlaybackState'. r=chunmin
`PlaybackState` and `MediaSessionPlaybackState` are actually quite similar, and we don't want to have to many states to confuse reader and do unnecessary tranform between two states. Therefore, replaceing  `PlaybackState` with `MediaSessionPlaybackState`.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:03:55 +00:00
alwu c369eaed94 Bug 1582508 - part4 : propagate declared playback state to media session controller. r=chunmin
This patch includes the implementation of propagating declared playback state from the media session in the content process to the media session controller in the chrome process.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:17:36 +00:00
alwu 030d275312 Bug 1582508 - part3 : create new structure 'MediaSessionInfo' to store the declared playback state for media session. r=chunmin
As we would need to preserve media session's playback state as well, we create a new struture to store each media session's propagated properties.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:03:44 +00:00
alwu e80c4c9e70 Bug 1582508 - part2 : change naming of 'mState' to 'mGuessedPlaybackState' r=chunmin
The playback state of the media controller is actually mapping to the guessed playback state [1] of the spec, so we rename it to make it clearer in the process of determining the acutal playback state [2].

[1] https://w3c.github.io/mediasession/#guessed-playback-state
[2] https://w3c.github.io/mediasession/#actual-playback-state

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

--HG--
extra : moz-landing-system : lando
2020-03-14 01:18:31 +00:00
alwu 9bf5424e0e Bug 1582508 - part1 : implement 'MediaSessionPlaybackState'. r=webidl,chunmin,Ehsan
Implement `playbackstate`[1] attribute for media session interface.

[1] https://w3c.github.io/mediasession/#dom-mediasession-playbackstate

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

--HG--
extra : moz-landing-system : lando
2020-03-13 23:31:16 +00:00
Masayuki Nakano 0913d9141d Bug 1620504 - part 20: Clean up warnings in SelectionState and related classes r=m_kato
This changes a lot of arguments from pointer to reference.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 09:57:58 +00:00
Matt Woodrow 4731d04c51 Bug 1620875 - Suppress extra onStateChange(STATE_START) notifications from RemoteWebProgress when switching DocumentChannel with a real channel. r=Gijs,nika
Note that this also suppresses notifications from the initial about:blank in the new process, and updates the tabbrowser to not expect those.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:50:29 +00:00
Matt Woodrow 6bc2c7bf45 Bug 1620875 - Don't duplicate loadFlags in the http specific config as well as the generic config for DocumentChannel replacement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65922

--HG--
extra : moz-landing-system : lando
2020-03-16 00:56:03 +00:00
sotaro 0f39c077be Bug 1618175 - Handle ADVANCED_LAYERS as blocked with WebRender r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D64709

--HG--
extra : moz-landing-system : lando
2020-03-16 22:38:35 +00:00
Kate Hudson 29879537e0 Bug 1622915 - Create test experiment data for about:welcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D67072

--HG--
extra : moz-landing-system : lando
2020-03-17 00:03:16 +00:00
sotaro 979e03c00a Bug 1622709 - Re-enable RecycleAllocator at ImageContainer for RDD process r=nical
GPUVideoTextureHost needs call wrapped TextureHost's PrepareTextureSource() and UpdatedInternal() for layer compositor.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 10:42:32 +00:00
Kenny Levinsen 510af72a67 Bug 1614212 - Migrate global VsyncSource users correctly on frame rate change r=sotaro
CompositorVsyncDispatcher holds a reference to the VsyncSource, so it must be informed on change.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 23:24:39 +00:00
Nicholas Nethercote ee6065433a Bug 1622712 - Fix incorrect path to `crashreporter-symbols` in `mach reftest`. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D66919

--HG--
extra : moz-landing-system : lando
2020-03-16 22:57:40 +00:00
Mihai Alexandru Michis 3dc26ddcf3 Backed out changeset 18c3c5e79f1c (bug 1540776) for causing xpcshell failures in test_BHRObserver.js
CLOSED TREE
2020-03-17 00:41:38 +02:00
Dana Keeler 6ebe338b92 bug 1620110 - osclientcerts: properly store serial numbers as DER-encoded integers r=kjacobs
PKCS#11 requires that serial numbers be DER-encoded (essentially, the bytes of
the serialNumber component of TBSCertificate). On macOS,
SecCertificateCopySerialNumberData gives the contents of this component (so it
lacks the tag and length fields, and may or may not have leading 00 or FF bytes
to indicate sign). On Windows, CERT_INFO.SerialNumber is the value of the
integer with the least significant byte first, which is the opposite of DER
(which has the most significant byte first). It also lacks any leading 00 or FF
sign bytes. Since the OS APIs can't be used here, this patch introduces a
utility function to grab the value of the serialNumber component of a
DER-encoded certificate.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 22:27:03 +00:00
Eitan Isaacson d014504afb Bug 1617314 - Support aria-current in OSX. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66813

--HG--
extra : moz-landing-system : lando
2020-03-16 22:15:57 +00:00
Eitan Isaacson b70e223767 Bug 1618718 - Support AXToggle subrole and states. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66841

--HG--
extra : moz-landing-system : lando
2020-03-14 05:39:59 +00:00
Glenn Watson 1d0e9e389a Bug 1622720 - Add support for the tracy frame profiler to webrender. r=nical,jrmuizel
This patch removes the old thread_profiler bindings, and adds
support for profiling WR with the tracy profiler, which is a
much more advanced frame profiler.

Since it's very lightweight, and only instruments annotated CPU
and GPU zones, it can retain very large profiles, allowing
fine grained analysis of thread interactions, CPU spikes etc.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 22:24:33 +00:00
Noemi Erli 49781453d1 Backed out changeset f0ba03f01bb7 (bug 1605494) for causing failures in browser_osAuthDialog.js CLOSED TREE
--HG--
extra : rebase_source : 85f6968ea201b69862fef763b86ddd1f495fbc5b
extra : amend_source : a4608e5508a660f9009614d1c4bf9f3f5f8d0b78
2020-03-17 00:01:08 +02:00
Emilio Cobos Álvarez 7e00a110ab Bug 1622900 - <input> text node children don't affect the directionality of the input. r=smaug
This was causing inconsistent directionality depending on the order of changes
between text content and input value.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 21:07:33 +00:00
Atharva Raykar 85d0d3cca9 Bug 1622673 - Converting integer literal to bool literal. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D66960

--HG--
extra : moz-landing-system : lando
2020-03-16 21:48:12 +00:00
Jeff Walden e534d8dfad Bug 1620290 - |AtomizeUTF8Chars| and |AtomizeWTF8Chars| should handle two-unit, single-code-point inputs better. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D66886

--HG--
extra : moz-landing-system : lando
2020-03-16 07:48:43 +00:00
Sylvestre Ledru e734d33054 no bug - contribute doc - Create some sub categories r=firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D66651

--HG--
rename : docs/contributing/artifact_builds.rst => docs/contributing/build/artifact_builds.rst
rename : docs/contributing/linux_build.rst => docs/contributing/build/linux_build.rst
rename : docs/contributing/mercurial.rst => docs/contributing/vcs/mercurial.rst
rename : docs/contributing/mercurial_bundles.rst => docs/contributing/vcs/mercurial_bundles.rst
extra : moz-landing-system : lando
2020-03-16 21:20:04 +00:00
William Lachance 44cf16aca9 Bug 1622644 - Fix use of six.reraise within marionette r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D66950

--HG--
extra : moz-landing-system : lando
2020-03-16 20:47:05 +00:00
Dzmitry Malyshau 80b79d4414 Bug 1622846 - WebGPU bindings update to the spec r=jgilbert,webidl,smaug
Updates `wgpu` code as well as our WebIDL bindings.

The `wgpu-types` is a new component crate that has public types available to
Rust applications that target the Web directly.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 21:32:37 +00:00
Alexandre Poirot 5d55592f60 Bug 1622222 - Use the TargetList to retrieve the current top level target in the debugger. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D66133

--HG--
extra : moz-landing-system : lando
2020-03-16 11:36:37 +00:00
Noemi Erli 744bc34135 Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE 2020-03-16 23:23:09 +02:00
Noemi Erli f10f67e74c Backed out changeset 21f62488a5b5 (bug 1620242) for causing bustages in nsMixedContentBlocker.cpp CLOSED TREE 2020-03-16 23:11:00 +02:00
Jason Laster 57b3ac9772 Bug 1602472 - Check if ObjectFronts created for Preview are properly released. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D66681

--HG--
extra : moz-landing-system : lando
2020-03-16 08:18:30 +00:00
Jason Laster a97162dd59 Bug 1620651 - Watchpoints should ignore blackboxed files. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D65764

--HG--
extra : moz-landing-system : lando
2020-03-16 17:29:17 +00:00