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

732221 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange cb8968058f Bug 1673132 - Remove "scrollbar-small" -moz-default-appearance value and replace its single use with scrollbar-width: thin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D94673
2020-10-27 12:37:44 +00:00
Markus Stange 44e288b359 Bug 1673120 - Extract out scrollbar drawing from nsNativeThemeCocoa so that it can later be used by nsNativeBasicTheme. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93844
2020-10-27 15:16:49 +00:00
Agi Sferro dfaa438b97 Bug 1650118: Part 8 - Remove useMultiprocess; r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D92481
2020-10-26 23:09:49 +00:00
Aaron Klotz 58022b0f12 Bug 1650118: Part 7 - Set MOZ_FORCE_DISABLE_E10S when running Android xpcshell tests; r=bc
Now that we're e10s by default, we need to disable it for xpcshell.
Unfortunately we can't do this via user prefs because, by the time xpcshell
parses those, it's already too late: e10s has already been decided.

In an earlier patch, we've changed that env var to accept '1' for Android,
instead of the version string as on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D94337
2020-10-26 23:09:46 +00:00
Aaron Klotz b7a9856e97 Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers,jgraham
e10s is no longer a GeckoView option, so I'd like to remove it from test
harnesses when possible.

Depends on D90934

Differential Revision: https://phabricator.services.mozilla.com/D91640
2020-10-27 11:41:28 +00:00
Aaron Klotz da928df892 Bug 1650118: Part 5 - Update GeckoView changelog; r=geckoview-reviewers,agi
Depends on D90933

Differential Revision: https://phabricator.services.mozilla.com/D90934
2020-10-26 23:36:14 +00:00
Aaron Klotz b8f472ddba Bug 1650118: Part 4 - Update api.txt; r=geckoview-reviewers,agi
Depends on D90932

Differential Revision: https://phabricator.services.mozilla.com/D90933
2020-10-26 23:09:38 +00:00
Aaron Klotz d395c3f320 Bug 1650118: Part 3 - Update tests; r=geckoview-reviewers,agi,perftest-reviewers,sparky
Depends on D90930

Differential Revision: https://phabricator.services.mozilla.com/D90932
2020-10-26 23:09:36 +00:00
Aaron Klotz 1fc63a5444 Bug 1650118: Part 2 - Update GVE; r=agi
Depends on D90929

Differential Revision: https://phabricator.services.mozilla.com/D90930
2020-10-26 23:32:40 +00:00
Aaron Klotz 8c6fe5fa49 Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-26 23:53:56 +00:00
Razvan Maries 5c0f9da6da Backed out changeset ce9199a9c65c (bug 1661593) for perma failures on browser_secure_transport_insecure_scheme.js. CLOSED TREE 2020-10-27 17:28:51 +02:00
Ben Delevingne c9aa53a1ec Bug 1673386 - remove defer from devtools/shared/tests/xpcshell/test_executeSoon.js. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D94739
2020-10-27 15:23:22 +00:00
alwu a6451ce0ab Bug 1346880 - part8 : ensure audio context is already running before doing next step. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D94780
2020-10-27 12:32:05 +00:00
alwu f57bbf54c7 Bug 1346880 - part7 : further improve the readability for wakelock test. r=padenot
This patch would further  improve the readability for wakelock test by doing following things.

1. refactor `getWakeLockState()` and rename it to `waitForExpectedWakeLockState()`
In the origin test, we have to create a wakelock sentinel object beforehand, and then call `check()` later, which is not really intuitive. Refactor that function to allow us to use it easier.

2. use const variables to store the wakelock topic (audio-playing/video-playing)

3. add a helper function `ensureNeverAcquireVideoWakelock()` to clearly indicate we won't acquire video wakelock for web audio

Differential Revision: https://phabricator.services.mozilla.com/D94778
2020-10-27 12:32:03 +00:00
alwu 4ce6a5021f Bug 1346880 - part6 : separate media playback and web audio test for wakelock. r=padenot
Separate the media playback and web audio tests for wakelock, which can prevent running a time too long and hitting the error (bug 1522361) and increase test readability because some check conditions would only work for one side, which would be nonecessary for another side.

Differential Revision: https://phabricator.services.mozilla.com/D94777
2020-10-27 12:29:25 +00:00
Paul Adenot 0ab0dfa169 Bug 1346880 - part5 : test that a muted tab that plays audio via the Web Audio API is really muted using PulseAudio monitoring devices. r=pehrsons,alwu
Differential Revision: https://phabricator.services.mozilla.com/D93653
2020-10-26 20:39:28 +00:00
Paul Adenot 2611c6321f Bug 1346880 - part4 : modify current tests. r=padenot
As we changed the way we handle audible state in D94181, those tests also need to be modified in order to run without errors under new mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D94184
2020-10-24 03:31:26 +00:00
alwu 2dbd311ea7 Bug 1346880 - part3 : add a browser sound indicator test for web audio audibility. r=padenot
We're lacking of a browser level test for web audio for the sound indicator.

Differential Revision: https://phabricator.services.mozilla.com/D94183
2020-10-24 03:31:26 +00:00
alwu f73cf84142 Bug 1346880 - part2 : consider output volume for engine when it determines the audible state. r=padenot
Currently we didn't consider the engine's output volume when we determine the audible state for the destination node, doing that would help us to more correctly deide the actual audible state for users.

Differential Revision: https://phabricator.services.mozilla.com/D94182
2020-10-24 03:31:26 +00:00
Paul Adenot 2f8d4b26f5 Bug 1346880 - part1 : keep AudioChannelAgent alive all the time for not offline context. r=padenot
The main purposes of this patch is to
- changes the way the destination node holding the audio channel agent (holding the agent all the time)

That would help us
- earlier mute the destination node in order to prevent sound leaking
- request wakelock based on the actual audible state (considering more factors)
- improve the readability of handling audible state (the old way contains some weird workaround, eg. setting the node as audible in the beginning)

Differential Revision: https://phabricator.services.mozilla.com/D94181
2020-10-24 03:31:25 +00:00
Luca Greco 84a71a4d31 Bug 1669466 - Change WebRequestService singleton to a StaticRefPtr. r=glandium,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D94692
2020-10-27 15:00:09 +00:00
Doug Thayer 41a8b060c3 Bug 1672003 - Create basic test for skeleton UI registry values r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D94111
2020-10-27 15:07:07 +00:00
pbz a58362cf61 Bug 1661593 - pageinfo: Do not show insecure connections as secure when using a proxy. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D93643
2020-10-27 14:56:53 +00:00
Mihai Alexandru Michis 2b08e93110 Backed out changeset dff839f08039 (bug 1673313) for causing bustages in WindowSurfaceWayland
CLOSED TREE
2020-10-27 16:50:47 +02:00
Maja Frydrychowicz ab28f100d2 Bug 1673350 - [puppeteer] Mark click test as known intermittent r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D94829
2020-10-27 14:50:02 +00:00
stransky e2b50c1c65 Bug 1673313 [Wayland] Don't fail when Shm allocation fails, r=jhorak
- Make WaylandAllocateShmMemory() fallible.
- Implement WaylandReAllocateShmMemory() to re-allocate Shm pool.
- Remove WaylandShmPool::Resize() and use WaylandShmPool::Create() only.
- Implement and use WaylandShmPool::Release().
- Make WindowSurfaceWayland::CreateWaylandBuffer() as fallible.

Differential Revision: https://phabricator.services.mozilla.com/D94735
2020-10-27 14:21:02 +00:00
Razvan Maries d1cb2cdff6 Backed out 2 changesets (bug 1673440) for SM Bustages on testPrintError.cpp. CLOSED TREE
Backed out changeset c4448be58fcb (bug 1673440)
Backed out changeset 5a0e794b51bf (bug 1673440)
2020-10-27 16:46:54 +02:00
Frederic Wang 5a2adffbe7 Bug 1631464 Remove the title argument from registerProtocolHandler() r=smaug
See https://groups.google.com/g/mozilla.dev.platform/c/T633aemFPJU/m/dbv5_iB8AgAJ

Differential Revision: https://phabricator.services.mozilla.com/D71714
2020-10-27 14:10:22 +00:00
Toshihito Kikuchi 5cabaa29f2 Bug 1671316 - Part2. Pass CrossExecTransferManager to FuncHookCrossProcess and Kernel32ExportsSolver. r=mhowell
The latest launcher process showed one of the top failures was `WriteProcessMemory` in
`CopyStubToChildProcess` failed with `ERROR_INVALID_ADDRESS` or `ERROR_NOACCESS`, that
is to store a trampoline address to the global variable of firefox.exe failed.  Its root
cause should be the same as bug 1662560, the executable was loaded onto a different
address from the browser process.

The fix is to to expand the usage of `CrossExecTransferManager` to `FuncHookCrossProcess`
and `Kernel32ExportsSolver`.

Depends on D94652

Differential Revision: https://phabricator.services.mozilla.com/D94653
2020-10-27 14:08:49 +00:00
Toshihito Kikuchi 83d95e2106 Bug 1671316 - Part1. Introduce CrossExecTransferManager. r=mhowell
This patch introduces a class `CrossExecTransferManager` to manage the data
transfer from the current process to a remote process via `WriteProcessMemory`.
The class also encapsulates a logic to bridge the gap between two executable's
imagebase.

Differential Revision: https://phabricator.services.mozilla.com/D94652
2020-10-27 14:09:00 +00:00
Greg Tatum 656917f124 Bug 1671701 - Add more comprehensive tests for FileIO markers; r=gerald,julienw
This re-works our tests to run all of the branches in the interposer. There is
a bit of a risk that this won't pass on all platforms as there is an allow list
of known operations. However, it's currently only limited to macOS and Linux.

Please note the placement of utility functions in shared-head.js if they were
generally useful beyond the xpcshell tests, and in xpcshell/head.js if the
functions were only useful for the specific FileIO tests.

Differential Revision: https://phabricator.services.mozilla.com/D93850
2020-10-27 14:04:15 +00:00
Greg Tatum cf34cd635a Bug 1671701 - Remove FileIOMarkerPayload; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D93849
2020-10-27 14:04:12 +00:00
Greg Tatum 6451405048 Bug 1671701 - Migrated FileIO markers to the Markers 2.0 API; r=gerald,julienw
This commit uses the new Markers 2.0 API for FileIO Markers. I had to
create another option for the MarkerStack class in order to conditionally
capture a backtrace inside of the Macro. Otherwise the macro invocation
failed.

Differential Revision: https://phabricator.services.mozilla.com/D93848
2020-10-27 14:04:04 +00:00
Kartikaya Gupta 7c9a6249f0 Bug 1673359 - Allow suffixes on ccov test platforms. r=ahal
This allows additional suffixes (e.g. -qr) to be added to ccov test platforms,
and in most cases those labels will be treated the same as the other ccov jobs.
In a few cases exact (non-regex) keys were left unmodified, because changing
a non-regex key to a regex key can result in taskgraph generation failure, if
more than one regex key matches.

I verified that this patch does not modify the output generated by `./mach
taskgraph full --json`.

Differential Revision: https://phabricator.services.mozilla.com/D94725
2020-10-27 14:00:11 +00:00
Kartikaya Gupta 9f8de3a314 Bug 1673359 - Replace regex complexity with more fixed list. r=ahal
As with the previous patch, the negative regex makes changes hard. This replaces
the negative regex with a positive list of matching labels, similar to the one
a few lines down. I verified that this patch does not modify the output for
`./mach taskgraph full --json`.

Differential Revision: https://phabricator.services.mozilla.com/D94724
2020-10-27 14:00:03 +00:00
Kartikaya Gupta 7b97f0a4b8 Bug 1673359 - Replace regex complexity with more granular test sets. r=ahal,sfink
I need to modify the ccov regexes to allow additional suffixes. The negative-
search regex makes this hard, and seems quite complex/error-prone. Instead of the
negative-search regex, we can accomplish the same thing by splitting out a
new test-set.

Note that with this patch, there are a handful of jobs that get removed from
the list generated by `./mach taskgraph full` (listed below). I believe this
is a desirable change since per the comment in the code it seems like we don't
want these jobs to run. In fact, I don't see these jobs on TreeHerder, so maybe
some other step is pruning them out anyway.

The jobs being removed are below. The '*' at the end represents the chunk number,
each of the labels with a '*' has 6 chunks which I've collapsed into a single
label for brevity.

  test-linux1804-64-asan/opt-jittest-1proc-*
  test-linux1804-64/debug-jittest-1proc-*
  test-linux1804-64-devedition/opt-jittest-1proc-*
  test-linux1804-64/opt-jittest-1proc-*
  test-linux1804-64-qr/debug-jittest-1proc-*
  test-linux1804-64-qr/opt-jittest-1proc-*
  test-linux1804-64-shippable/opt-jittest-1proc-*
  test-linux1804-64-shippable-qr/opt-jittest-1proc-*
  test-windows10-64-asan/opt-jittest-1proc
  test-windows10-64/debug-jittest-1proc
  test-windows10-64-devedition/opt-jittest-1proc
  test-windows10-64/opt-jittest-1proc
  test-windows10-64-shippable/opt-jittest-1proc
  test-windows7-32/debug-jittest-1proc
  test-windows7-32/opt-jittest-1proc
  test-windows7-32-shippable/opt-jittest-1proc

Differential Revision: https://phabricator.services.mozilla.com/D94723
2020-10-27 14:00:01 +00:00
Tom Schuster 02172b3b7e Bug 1673440 - Update devtools evaluationResult test after illegal character error message change r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D94823
2020-10-27 13:53:44 +00:00
Tom Schuster 1d2a08f9d9 Bug 1673440 - Report actual illegal character when parsing JS. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D94767
2020-10-27 13:53:31 +00:00
Valentin Gosu 7aa8b3a2e4 Bug 1673364 - fix test_dns_disabled.js r=necko-reviewers,dragana
The test was using network.dns.localDomains to check that we don't
call into the platform DNS resolver when the network.dns.disabled pref
was set - but since the localDomains pref rewrites hostnames to localhost
and we now don't call into GetAddrInfo for local domains, the test
failed.
I changed it so it uses the NativeDNSResolverOverride to register an IP for
foo.bar instead of relying on localDOmains.

Depends on D94726

Differential Revision: https://phabricator.services.mozilla.com/D94727
2020-10-27 13:25:22 +00:00
Valentin Gosu d61dc1addb Bug 1673364 - nsHostResolver::InitLoopbackRecord should not call GetAddrInfo r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94726
2020-10-27 13:25:22 +00:00
Valentin Gosu 5c30c09f14 Bug 1556194 - Prevent OCSP Request from blocking TRR-only DNS resolutions r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94502
2020-10-27 13:42:58 +00:00
Naman Jain 035c7fa07e Bug 1671080 - [devtools] Remove unused devtools/client/shared/components/reps/reps/caption.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D94814
2020-10-27 12:44:59 +00:00
Gijs Kruitbosch bb225effa3 Bug 1475489 - stop editing folder names when closing the folder tree in the edit bookmark panel, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D94227
2020-10-27 13:05:44 +00:00
Landry Breuil cc89bad1d3 Bug 1671813. Avoid a naming conflict between gfx::Glyph and Xrender.h:Glyph. r=aosmond
Non wayland unified builds end up with a different set of files
combined which ends up causing the conflict. Remove the 'using namespace
mozilla::gfx' to avoid this.

Differential Revision: https://phabricator.services.mozilla.com/D94825
2020-10-27 12:58:53 +00:00
Julian Descottes 35b6450a6c Bug 1666815 - [devtools] Add dark theme support to new performance panel onboarding r=julienw
Depends on D94711

We might fold this in the first changeset after review.
Updated the links color of the whole panel to use a theme variable.
Used another theme variable for the button hover/active background color.

Differential Revision: https://phabricator.services.mozilla.com/D94747
2020-10-27 11:33:00 +00:00
Julian Descottes 626540c038 Bug 1666815 - [devtools] Add a test for new performance panel onboarding r=julienw
Depends on D94355

Differential Revision: https://phabricator.services.mozilla.com/D94711
2020-10-27 11:32:57 +00:00
Julian Descottes bb9e772655 Bug 1666815 - [devtools] Simple on-boarding UI for the new Performance panel r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D94355
2020-10-27 11:31:17 +00:00
Lars T Hansen 7598c48523 Bug 1641595 - inline constants, part 2: random other cases. r=jseward
Instead of loading instruction-internal simd constants separately (on
x86/x64) and thus potentially increasing register pressure by
requiring temps, load them as part of the operation.

This patch handles a few remaining single-use-of-loaded-const cases,
none of which are probably all that important, this is just hygiene.

In the case where a loaded const is used multiple times, or a single
use can't be gotten rid of without introducing additional moves, we
assume (for now) that it's OK to load the constant separately.  The
cases that remain in this class are blends (that will use a mask and
its negation) and a few floating-point slow paths (some with multiple
uses, some with knotty logic).

Differential Revision: https://phabricator.services.mozilla.com/D94557
2020-10-27 08:25:36 +00:00
Lars T Hansen 00f3dd8663 Bug 1641595 - inline constants, part 1: shuffle. r=jseward
Instead of loading instruction-internal simd constants separately (on
x86/x64) and thus increasing register pressure by requiring temps,
load them as part of the operation.

This patch adapts the shuffle operation (pshufb).  There's a fair
amount of plumbing in the assemblers but the change amounts to
inlining the constant loads into the instruction, getting rid of a
temp, and making sure we bias in favor of lhs == output.

Differential Revision: https://phabricator.services.mozilla.com/D94556
2020-10-27 08:22:57 +00:00
Lars T Hansen 983d8e29e3 Bug 1672911 - Remove support for pre-SSE4.1. r=jseward
Very gentle cleanup: just remove some code paths that we're not using, and won't be using.

Differential Revision: https://phabricator.services.mozilla.com/D94554
2020-10-27 08:26:25 +00:00