739281 Commits

Author SHA1 Message Date
Kartik Gautam
775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Henrik Skupin
041c61cdde Bug 1684042 - [wdspec] Fix disabling of test_debugger_address_true_fission_override. a=metadata fix DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100492
2020-12-27 09:40:59 +00:00
Masatoshi Kimura
caa8a261a4 Bug 1684110 - Stop using some 'A'-functions in toolkit/components/remote/. r=tkikuchi
Depends on D100467

Differential Revision: https://phabricator.services.mozilla.com/D100468
2020-12-27 08:40:36 +00:00
Masatoshi Kimura
e70bf4efaa Bug 1684110 - Stop using some 'A'-functions in TestDllInterceptor. r=tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D100419
2020-12-27 08:40:36 +00:00
Jeff Muizelaar
dcdce7ce8d Bug 1684268 - Expose precache_output_transform. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100489
2020-12-26 22:52:13 +00:00
Sonia Singla
7ea3ae701b Bug 1681896 - Remove defer usage in devtools/shared/transport/tests/xpcshell/head_dbg.js. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D100473
2020-12-26 23:34:32 +00:00
Robert Mader
31f99b1a13 Bug 1681030 - Fix some regressions from bug 1645528, r=emilio
This fixes a bunch of regressions:
 - a wrong calculation in `GetIdleDeadlineHint()`, leading to pageload
regressions.
 - in certain situations we'd use `StartupRefreshDriverTimer` instead
of `VsyncRefreshDriverTimer` when initializing timers early
 - unnecessary use of `BrowserChild` on backends that don't opt for
per-browser-child vsync - i.e. all but Wayland.

This is partly done by reverting to pre-1645528 behaviour, although
with some code simplifications.

FTR: I also played with some more radical changes, but given the
complexity of the code involved I found the regression potential too
big. Thus this is the most conservative solution I could come up with.

Differential Revision: https://phabricator.services.mozilla.com/D100471
2020-12-26 23:26:49 +00:00
Kershaw Chang
0eebf69d04 Bug 1662676 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99680
2020-12-22 16:44:36 +00:00
Akshat Dixit
a53e597f51 Bug 1674610 - Remove a useless else after break in nsTableRowGroupFrame.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D100488
2020-12-26 20:52:46 +00:00
Emilio Cobos Álvarez
3bd15f9e8e Bug 1684261 - Fix build with rust nightly. r=jrmuizel
Fixes errors like:

  dependency (nix) specification is ambiguous. Only one of `branch`, `tag` or `rev` is allowed.

I've left the most specific dependency, but for wgpu the rev is not
right, so I've kept the branch which effectively preserves behavior.

Differential Revision: https://phabricator.services.mozilla.com/D100485
2020-12-26 18:16:05 +00:00
vladimir.nikitin
7614d79302 Bug 1674612 - Get rid of else after return. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D100483
2020-12-26 17:48:21 +00:00
longsonr
df56c9a52e Bug 1683907 - use the same logic for rendering and bounds checking r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D100481
2020-12-26 16:29:05 +00:00
Jonathan Kew
ddbbd71f00 Bug 1669855 - Allow FindFamily to return a possible base family for a legacy styled-family name, as a temporary resolution until full font info is loaded. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D96397
2020-12-26 17:12:30 +00:00
Jonathan Kew
b6304045e1 Bug 1669855 - Don't block on InitOtherFamilyNames searching for a possible legacy family name in FindAndAddFamilies. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D96396
2020-12-26 17:12:17 +00:00
Jonathan Kew
b9cf1664fb Bug 1669855 - Support triggering the background font-info loader immediately if it is currently deferred, and use this to implement InitOtherFamilyNames for the shared font list. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D96395
2020-12-26 17:12:04 +00:00
Jonathan Kew
7d71684ea4 Bug 1669855 - Add a primary-name-only parameter to FindFamily, to allow it to skip searching for aliases, and use this when initializing Windows font substitutions. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D96394
2020-12-26 17:11:52 +00:00
Jonathan Kew
73688b3c3d Bug 1669855 - Return a boolean from InitOtherFamilyNames to indicate whether the initialization is complete. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D96393
2020-12-26 17:11:44 +00:00
Harsh Gupta
3bc9cf1d11 Bug 1674675 - nsUpdateDriver.cpp: simplify the code by removing an else r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D100482
2020-12-26 14:28:36 +00:00
Daniel Holbert
5a10b53059 Bug 1682294: Increase fuzzy-match threshold for test_printpreview.xhtml subtest "printpreview_pps_uw4.html". (no review, just a test tweak)
For now, this subtest (ab)uses a fuzzy-failure allowance, to annotate a piece
of the test as a known failure on Windows (for an issue tracked in
bug 1680838).

The fuzzy annotation needs a bit of an increase, apparently, per at least one
failure log on Bug 1682294. This commit makes that increase, to avoid
test-failure-spam.

Differential Revision: https://phabricator.services.mozilla.com/D100477
2020-12-26 06:45:18 +00:00
Masatoshi Kimura
6bc6e5b3fb Bug 1684110 - Stop using some 'A'-functions in widget/windows/. r=mhowell
Depends on D100468

Differential Revision: https://phabricator.services.mozilla.com/D100469
2020-12-26 00:46:34 +00:00
Masatoshi Kimura
05b71dcf6e Bug 1684110 - Stop using some 'A'-functions in mozglue/. r=mhowell
Depends on D100465

Differential Revision: https://phabricator.services.mozilla.com/D100466
2020-12-26 00:46:34 +00:00
Masatoshi Kimura
709bbaec9d Bug 1684110 - Stop using some 'A'-functions in gfx/vr/. r=mhowell
Depends on D100419

Differential Revision: https://phabricator.services.mozilla.com/D100464
2020-12-26 00:45:56 +00:00
longsonr
9b4eed42cb Bug 1684214 - Change GetComputedStyleNoFlush to take a const element parameter r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D100463
2020-12-25 13:26:37 +00:00
Mihai Alexandru Michis
2aea8e093c Backed out changeset 465526830144 (bug 1684170) for causing talos failures.
CLOSED TREE
2020-12-25 07:04:27 +02:00
Nico Grunbaum
198e61d242 Bug 1679084 - fix default H264 channels in RTPMAP;r=drno
Differential Revision: https://phabricator.services.mozilla.com/D97898
2020-12-08 07:16:22 +00:00
Sonia Singla
2034a60100 Bug 1677264 - Removed invalid DTD url from toolkit/mozapps/extensions/content/blocklist.js. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D99616
2020-12-25 01:07:13 +00:00
Jeff Muizelaar
ea52e991bb Bug 1684187 - Export CIE types and unexport s15Fixed16Number. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100453
2020-12-24 23:13:57 +00:00
Mihai Alexandru Michis
fcffbed8d9 Backed out changeset 6e6788b1853e (bug 1646817) for causing bc failures in browser_ext_popup_api_injection.js
CLOSED TREE
2020-12-25 01:54:50 +02:00
sotaro
8ba200bf20 Bug 1682753 - Add device reset handling to RenderCompositorD3D11SWGL r=aosmond
Implementation is borrowed from RenderCompositorANGLE::IsContextLost().

Differential Revision: https://phabricator.services.mozilla.com/D100376
2020-12-24 16:35:56 +00:00
Tomislav Jovanovic
5e0fb3e867 Bug 1646817 - Support DocumentChannel process switching in sidebars and popups r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D100396
2020-12-24 20:16:12 +00:00
Jeff Muizelaar
595b3b798e Bug 1684177 - Make qcms_transform_data take ref instead of a *mut. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100451
2020-12-24 19:11:52 +00:00
Jeff Muizelaar
89be52d2fd Bug 1684176 - Add a test of transforming sRGB to sRGB. r=aosmond
This uses the new safe Rust api

Differential Revision: https://phabricator.services.mozilla.com/D100449
2020-12-24 19:01:07 +00:00
Jeff Muizelaar
61d3b2f82d Bug 1684174 - Make qcms_intent an enum. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100448
2020-12-24 18:29:04 +00:00
Andrew Osmond
1510060a56 Bug 1684170 - Decouple WebRender and Software WebRender gfxConfig features. r=jrmuizel
Lack of support of (hardware) WebRender should not block Software
WebRender support. This can happen when ANGLE isn't supported, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D100445
2020-12-24 18:23:29 +00:00
Jeff Muizelaar
73d5996c9d Bug 1684168 - Run cargo fmt on qcms. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100444
2020-12-24 16:53:44 +00:00
Jeff Muizelaar
dfe3699511 Bug 1684137 - Expose a more Rust like API to qcms. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100434
2020-12-24 13:33:51 +00:00
Sylvestre Ledru
4c0c328c0a Bug 1683840 - Fix some array-parameter errors found by gcc 11 r=necko-reviewers,dragana
I am aware they are third party code. pushing to keep a trace

Differential Revision: https://phabricator.services.mozilla.com/D100323
2020-12-24 12:41:28 +00:00
Masatoshi Kimura
f416e99ce3 Bug 1684110 - Stop using some 'A'-functions in mozglue/baseprofiler/. r=gerald
Since modulePath and moduleName are passed to JSONWriter, they must be encoded
in UTF-8. The current code is wrong.

Differential Revision: https://phabricator.services.mozilla.com/D100418
2020-12-24 03:45:28 +00:00
harry
57e4db1090 Bug 1680022 - Add idMap property to getViewUpdate and prohibit dynamic results from setting their own IDs. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D100402
2020-12-24 04:44:09 +00:00
alwu
df9c134aa6 Bug 1683788 - add telemetry probe for the audio competition. r=bryce
If multiple audible tabs play at the same time, we call it as `Audio Competition`.

When the audio competition happens, there are several possibilities

(1) ignore that and keep multiple tabs playing at the same time
(2) user manually handles that by pausing or muting audible playing tabs, remaining only an audible playing tab
(3) user enables audio focus management, so gecko would pause them and only allow one audible tab playing at a time

By collecting these situations, we can know the details of how user would react for the audio compeition.

In addition, we also collect the situation where no audio competition happens, in order to know whether the audio competition is common to users.

Differential Revision: https://phabricator.services.mozilla.com/D100292
2020-12-24 02:42:56 +00:00
Jeff Muizelaar
2578d1b239 Bug 1684095 - More safety in profile writing. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100410
2020-12-24 00:22:42 +00:00
Masayuki Nakano
d047e80060 Bug 1683226 - part 14: Get rid of ComplexTextInputPanel r=m_kato
It's used only for a placeholder of composition string in plugins.

Depends on D100387

Differential Revision: https://phabricator.services.mozilla.com/D100388
2020-12-24 02:49:02 +00:00
Masayuki Nakano
44dced1d87 Bug 1683226 - part 13: Get rid of nsIWidget::StartPluginFocused() r=m_kato,ipc-reviewers,mccr8
Depends on D100386

Differential Revision: https://phabricator.services.mozilla.com/D100387
2020-12-24 02:46:46 +00:00
Masayuki Nakano
968d02a1a9 Bug 1683226 - part 12: Get rid of nsIWidget::SetPluginFocus() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D100386
2020-12-24 02:46:02 +00:00
Boris Chiou
11ab842010 Bug 1683424 - Take box sizing into account for replaced elements with aspect-ratio. r=TYLin
If aspect-ratio is '<ratio>', now the aspect-ratio works with box sizing
dimensions for replaced elements.

Also, ComputeRatioDependentSize() already considers writing-mode so we don't
need the conversion like logicalRatio in the old code.

For those calculations for intrinsic size contribution, we will fix them
in a separate patch.

Differential Revision: https://phabricator.services.mozilla.com/D100175
2020-12-23 22:58:35 +00:00
Boris Chiou
361f923f82 Bug 1683424 - Add UseBoxSizing for AspectRatio class, and fix non-replaced element usage. r=TYLin
Based on the spec, if the aspect-ratio property value is:
1) auto: we should always use content-box dimensions.
2) <ratio>: the aspect-ratio works with box sizing dimensions.
3) auto && <ratio>: we use content-box dimensions in all cases.

So we need an extra flag to address that we should use box-sizing or
always use content-box dimensions while computing the size in
ratio-dependent axis.

This also updates some wpts for non-replaced elements because we should
use content-box if aspect-ratio is 'auto && <ratio>'.

Differential Revision: https://phabricator.services.mozilla.com/D100072
2020-12-23 22:42:55 +00:00
Jean-Yves Avenard
cdb7b9878d Bug 1674315 - Fix logic error to determine if playback succeeded. r=alwu,bryce
Differential Revision: https://phabricator.services.mozilla.com/D100315
2020-12-23 18:15:50 +00:00
Mark Banner
14240cfee2 Bug 1680906 - Update Baidu search engine logo. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D100398
2020-12-23 19:23:04 +00:00
Caroline Cullen
d289669649 Bug 1684096 - Clean up JSOp spew for CacheIR health report. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D100403
2020-12-23 20:50:05 +00:00
Caroline Cullen
de4dff187a Bug 1683608 - Temporarily mark RateMyCacheIR as fuzzing unsafe. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D100296
2020-12-23 21:19:48 +00:00