Commit Graph

739680 Commits

Author SHA1 Message Date
Henrik Skupin
8f891b15aa Bug 1638962 - [geckodriver] Remove broken geckodriver-test mach command. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D100901
2021-01-06 12:36:17 +00:00
Nika Layzell
6f44867564 Bug 1643450 - Allow creating windows from closing tabs, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D100165
2021-01-06 15:19:32 +00:00
Paul Zuehlcke
fb6c90b7b4 Bug 1685306 - Enable dFPI MVP UI pref by default. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D100920
2021-01-06 14:47:29 +00:00
Jon Coppeard
41491a3ded Bug 1683454 - Fix test failure on Android r=allstarschh
This is complaining that there's already a GC in progress, so make sure we
finish it before starting the new one. This fixes the failure on try.

Differential Revision: https://phabricator.services.mozilla.com/D100916
2021-01-06 14:38:56 +00:00
Florin Strugariu
f64bc187a4 Bug 1663449 - Disable conditioned profiles on raptor webext tests. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D100874
2021-01-06 14:03:52 +00:00
Tarek Ziadé
8f2fd947f2 Bug 1681267 - Improve error message when the hook can't get the webnetem secret. r=davehunt
Improves the error message when the hook can't get the secret for webnetem.

Differential Revision: https://phabricator.services.mozilla.com/D99754
2021-01-06 14:30:28 +00:00
Kimberly Sereduck
3a9d277c74 Bug 1683906 - Update Android tests to use Chrome 87; r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D100340
2021-01-05 10:43:41 +00:00
Mark Banner
d866ed81a6 Bug 1685053 - Fix ESLint's setup_helper.py to continue working when a dependency section is missing in package.json. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D100765
2021-01-06 14:14:30 +00:00
Dão Gottwald
17a7a2a463 Bug 1544012 - Remove border around the content area in restored windows on Windows 7 and 8. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D27292
2021-01-06 12:57:57 +00:00
Mike Hommey
15c4d4af6e Bug 1685244 - Update sccache to a version with patched tiny-http. r=firefox-build-system-reviewers,mhentges
Bug 1683824 updated to the 0.2.14 tag, but that's patched in order to
publish to crates.io such that tiny-http is not patched anymore.
Unfortunately, that breaks sccache-dist, which is a known issue and will
eventually fixed when addressing
https://github.com/mozilla/sccache/issues/912.
So here we update to a corresponding version on master (the first that
bumps the version to the next number).

Differential Revision: https://phabricator.services.mozilla.com/D100863
2021-01-06 14:01:13 +00:00
Andi-Bogdan Postelnicu
d7fb68e56d Bug 1683613 - For non-unified build have a task that runs checks when merging to mozilla-central r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D100796
2021-01-05 19:40:23 +00:00
Jan de Mooij
43ad95caa8 Bug 1632672 - Optimize OOB accesses with int32 index better for typed arrays. r=anba
Without type monitoring we can more easily support this now.

Differential Revision: https://phabricator.services.mozilla.com/D100764
2021-01-06 11:13:44 +00:00
Paul Dill
d6a13bfdd2 Bug 1672384 - Links to PDFs from other PDFs don't show the option 'Open with Firefox' r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99577
2021-01-06 12:58:09 +00:00
Abhishek Sharma
7281b04a6b Bug 1681890 - [devtools] Remove defer import in devtools/client/shared/components/test/chrome/head.js r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D100886
2021-01-06 12:43:45 +00:00
sotaro
c1ea187aa6 Bug 1685253 - Fix error handling of RenderCompositorEGL::Resume() r=nical
Changed as to return false when resume fails.

Differential Revision: https://phabricator.services.mozilla.com/D100872
2021-01-06 12:12:42 +00:00
Andi-Bogdan Postelnicu
68d22d4e10 Bug 1685281 - Fix IndexedDatabaseManager in the non-unified environment. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D100890
2021-01-06 12:00:56 +00:00
Edgar Chen
030aaf9626 Bug 1489437 - Part 2: HTML parser should invoke custom element's callbacks before appending child nodes if it is not created for fragment; r=smaug
See https://github.com/whatwg/html/issues/4025.

Depends on D10226

Differential Revision: https://phabricator.services.mozilla.com/D10228
2021-01-05 21:40:26 +00:00
Edgar Chen
3a7902f2c4 Bug 1489437 - Part 1: Make HTML parser distinguish network, document.write and fragments in append operation; r=smaug,hsivonen
For custom element reaction invocation in the parser, we need a way to distinguish the tree appending operation is from fragments or not,
since we don't want to execute reactions until innerHTML finishes running.
(See spec changes https://github.com/whatwg/html/issues/4025)

We don't need to do anything for opAppendText and opAppendCommand since the text and command won't have any chance to
be a custom element.

Differential Revision: https://phabricator.services.mozilla.com/D10226
2021-01-06 09:29:41 +00:00
Henrik Skupin
76ab9e2294 Bug 1684054 - [marionette] Remove unused focus argument from "WebDriver:SwitchToFrame". r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D100397
2021-01-06 10:50:01 +00:00
Mihai Alexandru Michis
b4e3622ffe Backed out changeset c17d361450d3 (bug 1681893) for causing eslint failures in test_nesting-<01/02>.js
CLOSED TREE
2021-01-06 12:40:55 +02:00
Jan de Mooij
fb53d7e8e0 Bug 1682767 part 34 - Discard phis completely in MBasicBlock::clear. r=iain
This reverts a change made for IonBuilder loop restarts (to preserve loop header
phis when restarting a loop).

Then removeBlockIncludingPhis can be removed because removeBlock now always removes
phis too.

Depends on D100790

Differential Revision: https://phabricator.services.mozilla.com/D100791
2021-01-05 18:42:36 +00:00
Jan de Mooij
b31efcd93d Bug 1682767 part 33 - Remove/change more IonBuilder-specific code and comments. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D100790
2021-01-05 18:39:26 +00:00
Jan de Mooij
64db67961d Bug 1682767 part 32 - Remove some dead code from EliminateRedundantChecks. r=iain
This was also used to optimize object-or-null type barriers but now it's only
used for bounds checks.

Differential Revision: https://phabricator.services.mozilla.com/D100789
2021-01-05 18:34:30 +00:00
cshankerj
e2a8798e52 Bug 1684648 nsHttpHeaderArray.cpp: do not use 'else' after 'continue' r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D100628
2021-01-06 10:07:19 +00:00
pedrofonsecadev
3a0474b856 Bug 1681893 -[devtools] Remove defer usage in devtools/server/tests/xpcshell/head_dbg.js r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D100880
2021-01-06 10:06:31 +00:00
Hubert Boma Manilla
bf8708542a Bug 1685262 - [devtools] Add blockRequest/unblockRequest commands support r=ochameau,devtools-backward-compat-reviewers,nchevobbe
Fixes browser_jsterm_block_commands.js test

Differential Revision: https://phabricator.services.mozilla.com/D99622
2021-01-06 09:46:43 +00:00
Kagami Sascha Rosylight
89ed474414 Bug 1685024 - Disable test_bug1646140-2 in headless mode r=mbrodesser
Differential Revision: https://phabricator.services.mozilla.com/D100776
2021-01-06 09:03:49 +00:00
Rahul Yedida
398a8d1051 Bug 1678298 - [devtools] Use decodeURIComponent instead of decodeURI r=bomsy
Depends on D98294

Differential Revision: https://phabricator.services.mozilla.com/D98388
2021-01-06 09:13:08 +00:00
Jean-Yves Avenard
5c7a830260 Bug 1681043 - P6. Remove no longer necessary workaround. r=alwu,bryce
The WMFDecoderModule now uses a crash guard around the loading of the VP9/VP8 MFT. We don't want to always assume that we have a VPx decoder in the GPU process in particular, as it will only be true if a HW decoder is available.

Differential Revision: https://phabricator.services.mozilla.com/D100309
2021-01-06 08:33:35 +00:00
Jean-Yves Avenard
6f1544075f Bug 1681043 - P5. Recalculate decoder capabilities if CanUseHardwareVideoDecoding changes. r=alwu,bryce
Not the most elegant, but reworking the PDMFactory to be fully re-initialized would be a significant change, as only the WMFDecoderModule requires it we take some shortcuts.

Differential Revision: https://phabricator.services.mozilla.com/D100308
2021-01-06 08:33:28 +00:00
Jean-Yves Avenard
3631cb632e Bug 1681043 - P4. Stop checking on gfxVars::CanUseHardwareVideoDecoding on mac. r=alwu
gfxVars::CanUseHardwareVideoDecoding is often set after the first use of the PDMFactory; in this case this would disable HW VP9 decoding for the entire session of the browser.

This value will always end up being true on macOS, so ignore its value in the static Init method.

Differential Revision: https://phabricator.services.mozilla.com/D100307
2021-01-06 08:33:20 +00:00
Jean-Yves Avenard
dfb40277e0 Bug 1681043 - P3. Retrieve decoding capabilities in GPU or RDD process and pass it to content. r=alwu,bryce
Upon starting the RDD and GPU process; we check their decoding capabilities and send it to the parent process. It will then broadcast this information to all content children so that RemodeDecoderModule::Supports can return if a codec is supported or not.

Differential Revision: https://phabricator.services.mozilla.com/D100306
2021-01-06 09:05:31 +00:00
Jean-Yves Avenard
50a06cc6c5 Bug 1681043 - P2. Don't reject outright support for a GPU decoder if compositor isn't known. r=alwu,bryce
When calling PDM::SupportsMimeType not enough information is provided for the PDM to categorically state that a codec isn't supported.

Only  creating the decoder successfully matters and the PDMFactory only uses the value returned by Support as a hint to further query the PDM.

Without this change WMFDecoderModule::SupportsMimeType in the GPU process would always return false as it doesn't know yet the KnownCompositor.

Differential Revision: https://phabricator.services.mozilla.com/D100305
2021-01-06 08:32:59 +00:00
Jean-Yves Avenard
db79f94d4f Bug 1681043 - P1. Create method to launch RDD process early. r=alwu
We can launch the RDD process early now that it is a fully asynchronous process and doesn't block anything.

This will allow to retrieve the decoding capabilities of the RDD process right away.

Calling this method will actually be handled in bug 1684991 once blockers are sorted (tests and sandbox)

Differential Revision: https://phabricator.services.mozilla.com/D100304
2021-01-06 08:53:38 +00:00
longsonr
f518393a92 Bug 1518099 - Add support for lighter operator in feComposite r=jrmuizel,emilio
Spec: https://www.w3.org/TR/filter-effects-1/#attr-valuedef-operator-lighter

Lighter is defined in the compositing & blending spec as equivalent to porter-duff plus, https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_plus.

The 'lighter' composite mode already works in <canvas> (via globalCompositeOperation), and it's the same there.

Chrome implemented support in https://bugs.chromium.org/p/chromium/issues/detail?id=439037

Per https://github.com/w3c/svgwg/issues/424 we should expose the new value in webidl and Chrome uses 7 too (https://codereview.chromium.org/779963002/patch/120001/130009)

Differential Revision: https://phabricator.services.mozilla.com/D100605
2021-01-05 20:49:00 +00:00
Xidorn Quan
2b537ae32a Bug 1684238 - Remove dependency to failure crates from bitsdownload. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D100480
2021-01-05 22:32:00 +00:00
Julian Descottes
a3709d6c16 Bug 1684857 - [devtools] Export current DAMP runner from damp.js r=ochameau,perftest-reviewers,kimberlythegeek
Depends on D97733

Exporting the current DAMP runner as a singleton from damp.js simplifies the dependency management between damp.js and head.js

Differential Revision: https://phabricator.services.mozilla.com/D100670
2021-01-06 08:26:52 +00:00
Gabriele Svelto
7c4527f7ab Bug 1621475 - Generate symbol files in MinGW builds r=tjr
This uses the new cross-platform dump_syms tool to generate symbols for MinGW
builds, just like on all other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D100707
2021-01-06 08:22:31 +00:00
Renovate Bot
c2ff53383e Bug 1685147 - Update dependency sphinx-rtd-theme to v0.5.1 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100812
2021-01-05 22:10:19 +00:00
Makoto Kato
c20f1137cb Bug 1624562 - Remove Fennec theme files. r=geckoview-reviewers,agi
Now, Fennec theme files (mobile/android/themes/core) are unused and
GV's files are in mobile/android/themes/geckoview.

So we can remove Fennec theme files.

Differential Revision: https://phabricator.services.mozilla.com/D100755
2021-01-05 20:14:15 +00:00
Brindusan Cristian
f63ad75b46 Backed out 6 changesets (bug 1655052) for xpcshell failures at test_protocol_children.js. CLOSED TREE
Backed out changeset 0a841c531e0d (bug 1655052)
Backed out changeset b539cd841c63 (bug 1655052)
Backed out changeset fad29724ccd6 (bug 1655052)
Backed out changeset fd6f6cc20a90 (bug 1655052)
Backed out changeset c3dcadf05381 (bug 1655052)
Backed out changeset 374aebc92cc2 (bug 1655052)
2021-01-06 08:34:36 +02:00
nchevobbe
1624b5bc35 Bug 1683882 - Parse console.trace for custom styling. r=baku.
Differential Revision: https://phabricator.services.mozilla.com/D100669
2021-01-06 06:03:49 +00:00
Ting-Yu Lin
d8e2ab4e7b Bug 1683976 Part 4 - Reset ReflowInput's mBSizeIsSetByAspectRatio flag if we override flex item's block-size. r=dholbert
If the flex container overrides a flex item's block-size, we don't want
to apply aspect-ratio's automatic content-based minimum sizes [1] in
that axis.

[1] https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum

Differential Revision: https://phabricator.services.mozilla.com/D100809
2021-01-06 04:42:59 +00:00
Ting-Yu Lin
d3311cec5d Bug 1683976 Part 3 - Make flex item work with box-sizing when its aspect-ratio is set from <ratio>. r=dholbert
When specifying aspect-ratio: '<ratio>' [1], the size calculations
involving the aspect ratio work with the dimensions of the box specified
by box-sizing. However, when specifying aspect-ratio: 'auto && <ratio>'
[2] the size calculations involving the aspect ratio work with the
content box dimensions always.

MainSizeFromAspectRatio() doesn't consider box-sizing, so we replace it
with AspectRatio::ComputeRatioDependentSize() which considers
box-sizing.

[1] https://drafts.csswg.org/css-sizing-4/#valdef-aspect-ratio-ratio
[2] https://drafts.csswg.org/css-sizing-4/#valdef-aspect-ratio-auto--ratio

Differential Revision: https://phabricator.services.mozilla.com/D100371
2021-01-06 04:42:57 +00:00
Ting-Yu Lin
4b334ebdb8 Bug 1683976 Part 2 - Move ClampMainSizeViaCrossAxisConstraints() into FlexItem. r=dholbert
We are going to revise this method in the next part, so this patch
simply moves this method into FlexItem without doing any improvement.

Differential Revision: https://phabricator.services.mozilla.com/D100370
2021-01-05 19:14:08 +00:00
Ting-Yu Lin
63d6943077 Bug 1683976 Part 1 - Rename intrinsic ratio to aspect ratio in nsFlexContainerFrame. r=dholbert,boris
FlexItem::mIntrinsicRatio caches the AspectRatio from
nsIFrame::GetAspectRatio(), which can either be the natural aspect-ratio
of the element or the aspect-ratio set from style system. Rename it and
its accessors for accuracy.

The comments are revised to match the term "preferred aspect ratio" used
throughout the flexbox spec.

Differential Revision: https://phabricator.services.mozilla.com/D100369
2021-01-05 19:14:01 +00:00
Paul Bone
71f32490f9 Bug 1683032 - Always check active count in IdleSchedulerParent r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D100301
2021-01-06 05:07:20 +00:00
Daniel Holbert
ac4480af11 Bug 1685231: Fix the typo "ot" in various code-comments (to "to", "of", or "not"). r=mccr8
DONTBUILD because this is a comment-only change and hence doesn't affect
behavior at all.

I ran across this typo in nsPageFrame.cpp, and figured I might as well grep for
it and fix it more comprehensively. And while I'm at it, I also fixed some
neighboring instances of a duplicated word around a linebreak, in
nsXMLContentSerializer.h.

Differential Revision: https://phabricator.services.mozilla.com/D100852
2021-01-06 04:54:51 +00:00
sotaro
1d9dcf011a Bug 1684003 - Recycle ID3D11Query in CompositorD3D11 r=nical
ID3D11Query could be recycled. It was already done at RenderCompositorANGLE.
CompositorD3D11 is used in RenderCompositorD3D11SWGL.

Differential Revision: https://phabricator.services.mozilla.com/D100380
2021-01-06 04:54:27 +00:00
Ted Campbell
2e121d97b0 Bug 1655052 - Remove AbstractScopePtr::nextFrameSlot. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D100817
2021-01-06 02:54:42 +00:00