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

696812 Коммитов

Автор SHA1 Сообщение Дата
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
Emilio Cobos Álvarez 9b76d28bff Bug 1622058 - Cleanup CSS error reporting a bit. r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D66642

--HG--
extra : moz-landing-system : lando
2020-03-16 20:50:21 +00:00
Zibi Braniecki 3fa4afd67f Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D66538

--HG--
extra : moz-landing-system : lando
2020-03-16 15:49:58 +00:00
JulianWels c2c4e65115 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-16 16:47:54 +00:00
Gerald Squelart bc32add109 Bug 1622179 - Replace direct dependencies on BlocksRingBuffer with ProfileBufferEntryWriter's where possible - r=canaltinova
This removes most dependencies on BlocksRingBuffer, to ease the transition to
the upcoming Fission-friendly profile buffer, including:
- Length type,
- SumBytes(),
- Gecko extensions of serialization.

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

--HG--
rename : tools/profiler/public/BlocksRingBufferGeckoExtensions.h => tools/profiler/public/ProfileBufferEntrySerializationGeckoExtensions.h
extra : moz-landing-system : lando
2020-03-16 20:32:35 +00:00
Molly Howell 351e1b7cff Bug 1602463 Part 5 - Add policy engine support for the default browser agent policy. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D64992

--HG--
extra : moz-landing-system : lando
2020-03-16 20:21:50 +00:00
Molly Howell e13554f0e7 Bug 1602463 Part 4 - Register/unregister the default browser agent scheduled task during install/uninstall. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61891

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:58 +00:00
Molly Howell 06f1209768 Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889

--HG--
extra : moz-landing-system : lando
2020-03-16 20:16:25 +00:00
Molly Howell e02dcdbd18 Bug 1602463 Part 2 - Add a pref to enable/disable the default browser agent and reflect it to the registry where the agent can read it. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61892

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:55 +00:00
Molly Howell 1ce92ca69d Bug 1602463 Part 1 - Add a build flag to disable the default browser agent. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61888

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:51 +00:00
Edwin Takahashi 9a9768f77e Bug 1607713 - set GDM3 custom.conf to force use of X11 on linux1804 r=jmaher
Changes:

Add a new configuration file for GDM that forces the use of X11 instead of Wayland.

This may help with reducing the number of crashes due to window managers.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 20:27:46 +00:00
Toshihito Kikuchi 9a2add9bb3 Bug 1560052 - Block Athena's PKCS11 module to avoid the crash. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D65010

--HG--
extra : moz-landing-system : lando
2020-03-16 19:51:01 +00:00
Micah Tigley f7164f9c27 Bug 1621937 - Hide and show browser content when viewport is finished resizing. r=bradwerth
RDM displays strange intermediate states of the browser content when opening/closing. This is because we are transitioning between the regular viewport size to a simulated one in both cases. During the transition, RDM should temporarily hide the browser content until the viewport has finished resizing.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 19:55:46 +00:00
Alphan Chen a9d46bba49 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-16 18:33:32 +00:00
Myeongjun Go 7c2632b661 Bug 1581886 - let theme.getCurrent() return an empty Theme instead of an empty object by default r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D60803

--HG--
extra : moz-landing-system : lando
2020-03-16 16:35:41 +00:00