Commit Graph

711600 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
f4aae6309b Bug 1643493 - Remove dead ParentShowInfo::fullscreenAllowed. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78392
2020-06-05 00:40:59 +00:00
Jan de Mooij
f52fb938a5 Bug 1643304 - Properly support try-catch in Warp. r=iain
WarpOracle was aborting on the JSOp::Exception. It's hard to (efficiently) skip
catch-blocks in WarpOracle too so this patch just adds it to the supported ops
and crashes in WarpBuilder since it's unreachable there.

This uncovered a few more test failures where we relied on specific exception messages.

Differential Revision: https://phabricator.services.mozilla.com/D78259
2020-06-04 15:03:11 +00:00
Jan de Mooij
67ea494127 Bug 1636942 part 3 - Add CacheIR generator for JSOp::ToPropertyKey. r=evilpie
The only new op we needed was LoadSymbolResult.

Also adds transpiler support for GuardToSymbol.

Differential Revision: https://phabricator.services.mozilla.com/D78041
2020-06-05 07:14:32 +00:00
Jan de Mooij
dfbeb38cce Bug 1636942 part 2 - Add IC support for JSOp::ToPropertyKey. r=evilpie
Just the fallback path, the next patch will add CacheIR support.

Differential Revision: https://phabricator.services.mozilla.com/D78040
2020-06-05 07:14:25 +00:00
Jan de Mooij
1d34735dbc Bug 1636942 part 1 - Rename JSOp::ToId to JSOp::ToPropertyKey. r=evilpie
Doesn't rename the MToId instruction because the next patch will make changes to
that anyway.

The comment in Interpreter.cpp was removed because this op is already (and better)
documented in vm/Opcodes.h

Differential Revision: https://phabricator.services.mozilla.com/D78039
2020-06-05 07:14:22 +00:00
Lars T Hansen
2517967e0e Bug 1637332 - wasm simd x86, part 2 - implement it. r=rhunt
This patch generalizes the x64 code that was moved into x86-shared
code in the previous patch, and makes it all work for x86.

Generally the changes are pedestrian.  The most interesting bit is
that signed right shift i64x2 is now scalarized in the compilers, not
in the macroassemblers, as this simplifies code everywhere.  This
gives rise to a new kind of porting API that reveals information about
what the macroassembler supports on the platform, in the form of the
MustScalarize/MustMaskShiftCount predicates in MacroAssembler.h.

Multiply i64x2, which is scalarized in the macroassemblers now, could
have been subjected to the same treatment, but I did not do so (yet)
because this op presented fewer problems than the right shift. (Discuss.)

Differential Revision: https://phabricator.services.mozilla.com/D74935
2020-06-05 06:39:32 +00:00
Lars T Hansen
daaf9a94e9 Bug 1637332 - wasm simd x86, part 1 - move stuff from x64 to x86-shared. r=rhunt
This patch only moves code from x64 to x86-shared.

There are no functional or indeed any other adjustments.  This patch
does not lead to code that will compile, it only makes review of the
substantive changes easier.  It must be landed together with the next
patch.

Differential Revision: https://phabricator.services.mozilla.com/D77237
2020-06-05 06:36:42 +00:00
Mark Banner
4cc3eda832 Bug 1632303 - Replace SearchUtils.fail with direct throws. r=daleharvey
Depends on D77649

Differential Revision: https://phabricator.services.mozilla.com/D77650
2020-06-04 21:54:47 +00:00
Mark Banner
ed636bbf8b Bug 1632303 - Replace SearchUtils.log with console.createInstance. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D77649
2020-06-04 21:47:57 +00:00
Gabriele Svelto
19363fa6c5 Bug 1637048 - Significantly increase the time we wait before killing a content process that hasn't finished shutting down r=jld
Differential Revision: https://phabricator.services.mozilla.com/D77905
2020-06-04 22:55:03 +00:00
Gabriele Svelto
cbadcd16da Bug 1632080 - Stop sending orphaned crash reports with synthesized crash annotations r=mconley
We originally added this functionality in bug 1566855 because we were
seeing a significant amount of orphaned crashes not being submitted.
Notably some of these were early content process startup crashes and
missing them made us unaware of severe issues that would affect our
users. In the meantime we've addressed most of the cases where a crash
would be orphaned. Since the crashes submitted this way have a buildid
that does not match the version of Firefox that actually crashed they
can be confusing during crash triage.

Given the above we can safely remove this functionality. This patch
reverts most of the changes from bug 1566855 but leaves the test
refactorings in place.

Differential Revision: https://phabricator.services.mozilla.com/D78219
2020-06-05 06:32:24 +00:00
Mark Banner
0837dfa5be Bug 1643468 - Use a different pref for search engine configuration experiments. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D78366
2020-06-04 23:19:17 +00:00
Morgan Reschenberg
3083026d43 Bug 1641932: Add Mac subroles to role map. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D77500
2020-06-05 03:45:44 +00:00
Csoregi Natalia
529ff034d6 Backed out 5 changesets (bug 1640709, bug 1631609) for failures on browser_providerSteering.js. CLOSED TREE
Backed out changeset 823fd61b186a (bug 1640709)
Backed out changeset ff63aadf849b (bug 1631609)
Backed out changeset 82d569115be0 (bug 1631609)
Backed out changeset d07c7c9978d5 (bug 1631609)
Backed out changeset cdc7ddcbeae9 (bug 1631609)
2020-06-05 06:33:47 +03:00
Ting-Yu Lin
e3ba3c551e Bug 1643173 Part 2 - Unify GetDisplayFlag helpers for flex and grid items. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D78167
2020-06-05 02:52:58 +00:00
Ting-Yu Lin
1022daa063 Bug 1643173 Part 1 - Convert enum nsIFrame::DISPLAY_CHILD_* to enum class. r=dholbert
The modifications are all straightforward conversion except the one in
nsMathMLContainerFrame, where it is simplified by calling the equivalent
BuildDisplayListForInline() helper.

Differential Revision: https://phabricator.services.mozilla.com/D78166
2020-06-05 02:52:05 +00:00
Thom Chiovoloni
d76d4f4c46 Bug 1629116 - Add an overrideTelemetryName to bridged extension storage. r=markh
Add an overrideTelemetryName to bridged extension storage.

Differential Revision: https://phabricator.services.mozilla.com/D78413
2020-06-05 01:10:10 +00:00
John Lin
b6a091d9dd Bug 1628792 - p2: update GeckoHls* for API changes in exoplayer. r=agi,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78390
2020-06-05 02:06:14 +00:00
John Lin
68b7382249 Bug 1628792 - p1: merge exoplayer r2.11.4 codebase. r=agi,geckoview-reviewers
Reference bugs:
- bug 1341990 (original import)
- bug 1523544 (package renaming)
- bug 1457255 (warning fixes)
- bug 1459420 (Firefox ProxySelector support)

Differential Revision: https://phabricator.services.mozilla.com/D78389
2020-06-04 21:18:43 +00:00
Glenn Watson
0cc2ef2ac9 Bug 1641751 - Part 3 - Refactor some texture cache code for future eviction changes. r=Bert,kvark
* Maintain a running total of bytes allocated in both standalone and
  shared cache regions. This is used as a threshold to know when to
  force a mid-frame eviction. Previously, as soon as the currently
  allocated set of shared textures were full, we'd force an eviction.
  This means that in typical use cases, we were forcing an eviction
  as soon as the texture cache is > 16 MB, which is inefficient.

* Separate out picture cache eviction from the normal cache eviction
  path. This will be important in the next patch which will change
  the eviction algorithm for all shared / standalone entries.

* Remove Eviction::Eager as a policy option for shared and standalone
  textures. As part of this, switch render task cache entries to use
  Eviction::Auto. This is a better option anyway, there is no real
  benefit to evicting render tasks as soon as possible - they should
  be expired based on usage, just as for normal cache entries.

Differential Revision: https://phabricator.services.mozilla.com/D77983
2020-06-05 00:53:17 +00:00
Noemi Erli
184f382e28 Backed out changeset 6b49139f2b9d (bug 1641033) for causing assertions in gfxPlatform.cpp CLOSED TREE 2020-06-05 04:31:45 +03:00
Noemi Erli
795e870d49 Backed out changeset 94f2fb2c3a94 (bug 1619320) for causing failures in browser_editCreditCardDialog.js 2020-06-05 04:27:52 +03:00
Dana Keeler
1130f3ee6a Bug 1630434 - de-duplicate preloaded intermediates that may have been cached in cert9.db r=kjacobs,bbeurdouche
In general, PSM caches intermediates from verified certificate chains in the
NSS certdb. Before bug 1619021, this would include preloaded intermediates,
which is unnecessary because cert_storage has a copy of those certificates, and
so they don't need to take up time and space in the NSS certdb. This patch
introduces the intermediate preloading healer, which periodically runs on a
background thread, looks for these duplicate intermediates, and removes them
from the NSS certdb.

Differential Revision: https://phabricator.services.mozilla.com/D77152
2020-06-05 00:44:52 +00:00
Dan Glastonbury
4b0f865b02 Bug 1643239 - Add LoadInfo to support loading non-frame content. r=mattwoodrow
DocumentLoadListener assumes loading of frames with an available
BrowsingContext. Most of the required information is obtained from the BC's
WindowGlobalParent. Extract that common functionality to support using DLL to
load content from <object>/<embed>.

Differential Revision: https://phabricator.services.mozilla.com/D78221
2020-06-05 00:39:30 +00:00
Martin Thomson
e610b0e676 Bug 1643229 - Disable TLS 1.0 in release channels, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D78215
2020-06-05 00:29:13 +00:00
Kenny Levinsen
3950a7a3bf Bug 1641033 - Fire vsync observers directly from Wayland frame callback. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D77047
2020-06-04 23:39:30 +00:00
Nihanth Subramanya
a3f2cd5e58 Bug 1640709 - Also clear doh-rollout.uri if doh-rollout.trr-selection.commit-result is falsey. r=valentin,johannh
Depends on D76619

Differential Revision: https://phabricator.services.mozilla.com/D76728
2020-06-04 23:45:28 +00:00
Nihanth Subramanya
7175799fec Bug 1631609 - Test provider steering heuristic. r=valentin,johannh
Depends on D76618

Differential Revision: https://phabricator.services.mozilla.com/D76619
2020-06-04 23:45:15 +00:00
Nihanth Subramanya
10630a0f0d Bug 1631609 - Use an actual URI for dummy TRR in tests. r=johannh,valentin
This ensures we can check gDNSService.currentTrrURI

Depends on D76617

Differential Revision: https://phabricator.services.mozilla.com/D76618
2020-06-04 23:44:56 +00:00
Nihanth Subramanya
f896e6c2c0 Bug 1631609 - Stop mocking DoH heuristics for tests. r=johannh
Depends on D76414

Differential Revision: https://phabricator.services.mozilla.com/D76617
2020-06-04 23:44:27 +00:00
Nihanth Subramanya
43af9d8860 Bug 1631609 - Steer to network-indicated DoH endpoint if detected. r=valentin,dragana,NhiNguyen,johannh
Differential Revision: https://phabricator.services.mozilla.com/D76414
2020-06-04 23:44:13 +00:00
Botond Ballo
97b30c6183 Bug 1643212 - Use the expanded scroll port to constrain the dirty rect in ScrollFrameHelper::BuildDisplayList(). r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D78220
2020-06-04 22:46:43 +00:00
cbrewster
72444deba6 Bug 1642549: Fix incorrect offset scaling when handling mix-blend readback r=gw
When handling mix-blend readbacks, we need to calculate the origin of the source picture in the backdrop's space.
Before this patch, this was done by scaling the source picture origin by the backdrop's device pixel scale.
However, this is the incorrect scaling; We really want the relative scale between source and backdrop instead.
This patch computes the relative scaling from the device pixel scale of both the source and backdrop pictures.

This bug likely went unnoticed because the device pixel scale used to be 1 in most cases, but now we sometimes
increase the device pixel scale for raster roots.

Differential Revision: https://phabricator.services.mozilla.com/D78217
2020-06-04 21:26:38 +00:00
James Teh
c45ca37cf4 Bug 1151648: Construct accessible objects for SVG elements which have title or desc. r=MarcoZ,yzen
According to SVG Accessibility API Mappings, an SVG element which has title or desc element must be exposed.
https://w3c.github.io/svg-aam/#include_elements
Previously, we didn't expose <g> elements at all even if they had a title/desc, and we unconditionally exposed some other SVG elements even when they didn't.

This removes the Dev Tools A11y Panel code which explicitly allowed unlabelled descendants of role="img" <svg> elements, since we don't create descendants if they don't have a label now anyway.
The associated tests had to be tweaked as well, since now we don't create unlabelled descendants.

Original patch by Takeshi Kurosawa.

Differential Revision: https://phabricator.services.mozilla.com/D77763
2020-06-03 13:18:38 +00:00
Zibi Braniecki
7c97f420c8 Bug 1619320 - Disable address field in Credit Card Entry. r=abr,MattN
Differential Revision: https://phabricator.services.mozilla.com/D78157
2020-06-04 23:27:06 +00:00
Dale Harvey
d6c0f56661 Bug 1627546 - Update urlFormatter to use new Region.jsm r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D76947
2020-06-04 15:35:13 +00:00
Stepan Stava
baf1cd4924 Bug 1581708 - Inline preview for exceptions r=jlast,nchevobbe
Underlines the expression that throws the exception and highlights the whole line in red.
Adds exception tooltip while hovering over the underlined token.

Differential Revision: https://phabricator.services.mozilla.com/D71337
2020-06-04 23:11:56 +00:00
Kannan Vijayan
74503317ae Bug 1639612 - Reorganize Scope::Data structures to factor out non-GC state used by the parser. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D76168
2020-06-04 22:32:32 +00:00
Andrew McCreight
dac77169a3 Bug 1639398 - Only create VRManager in processes where it can be used. r=daoshengmu,kip
This avoids about 77kb of content process overhead.

Differential Revision: https://phabricator.services.mozilla.com/D78054
2020-06-04 21:22:33 +00:00
Tomislav Jovanovic
e4d116f876 Bug 1642956 - Rename extension.whiteListedHosts to allowedOrigins r=mixedpuppy,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78050
2020-06-04 21:39:27 +00:00
Gijs Kruitbosch
874c03c104 Bug 1641866 - fix XUL cache disabling code to actually revert it, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D77485
2020-06-04 20:12:15 +00:00
Gabriele Svelto
b046f4d5be Bug 1583247 - Handle errors in minidump analysis so that crashes can always be submitted r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D78218
2020-06-04 21:04:47 +00:00
Steve Fink
26f7c8e009 Bug 1642503 - Fix the name and type gdb uses to catch wasm's SIGSEGV handler r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D77718
2020-06-02 08:01:34 +00:00
Emilio Cobos Álvarez
bcc9724c16 Bug 1638118 - Ignore redundant calls to enterResponsiveMode() / leaveResponsiveMode(). r=mtigley
We can get two calls to enterResponsiveMode() for a tab, via the two
callsites in devtools/client/responsive/ui.js.

Calling enterResponsiveMode() is not idempotent after bug 1634621, as
the second call will lose the zoom information. Prevent this from
happening by making the call a no-op if we're already in responsive
mode.

Do the same in leaveResponsiveMode() for consistency.

Differential Revision: https://phabricator.services.mozilla.com/D78294
2020-06-04 21:16:11 +00:00
Csoregi Natalia
cd4ffe7bbe Backed out 5 changesets (bug 1640709, bug 1631609) for doh-rollout failures. CLOSED TREE
Backed out changeset 9e1db3f3e44a (bug 1640709)
Backed out changeset 87f51b855906 (bug 1631609)
Backed out changeset f201e950b155 (bug 1631609)
Backed out changeset b40a0f8c92b4 (bug 1631609)
Backed out changeset a72c39358236 (bug 1631609)
2020-06-05 01:50:19 +03:00
Csoregi Natalia
63635ef2aa Backed out 7 changesets (bug 1641496) for failures on test_trr.js. CLOSED TREE
Backed out changeset 1c927e612dda (bug 1641496)
Backed out changeset 0f1ba77e3942 (bug 1641496)
Backed out changeset a626e86ce5c9 (bug 1641496)
Backed out changeset 196381953eac (bug 1641496)
Backed out changeset 70b0af678bfd (bug 1641496)
Backed out changeset bf41bd8ca89c (bug 1641496)
Backed out changeset 745da0e1cb80 (bug 1641496)
2020-06-05 01:39:19 +03:00
Kartikaya Gupta
621c1f3b9d Bug 1643381 - Inline ProcessUpdateFrame and remove stale declaration. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D78322
2020-06-04 21:43:24 +00:00
Marco Castelluccio
9e95f1a2e5 Bug 1637544 - Add a 'project' to the fake parameters used during taskgraph tests. r=tomprince DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D78399
2020-06-04 21:52:34 +00:00
Jonathan Watt
4f0f4b029d Bug 1643418. Don't overwrite the print range type if 'Print Selection Only' is unchecked. r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D78394
2020-06-04 21:09:12 +00:00
Edwin Takahashi
01ecd3cda9 Bug 1643452 - update runtime information using median values r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D78367
2020-06-04 21:04:39 +00:00