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

800970 Коммитов

Автор SHA1 Сообщение Дата
Khushal Sagar cb339f5830 Bug 1778002 [wpt PR 34693] - blink: Ensure overflow clip and visible have consistent behaviour., a=testonly
Automatic update from web-platform-tests
blink: Ensure overflow clip and visible have consistent behaviour.

This includes the following set of changes in preparation to add
overflow:clip to all img elements in UA CSS. The aim is to have
consistent behaviour between overflow:visible/clip for the following
layout cases:

- Use min size:auto when overflow:clip is used on a child element with
  the ancestor using grid layout.
- Don't synthesize logical baseline for overflow:clip similar to overflow
  visible. See https://github.com/w3c/csswg-drafts/issues/6212 for
  context.
- When using spatial navigation, consider the topmost paint layer which
  has no self painting visible descendents instead of all visible
  descendents. This accounts for paint layers created for overflow which
  are for bookkeeping purposes and don't change the paint order.

Bug: 1321217
Change-Id: Ibd9327da9fb830fa78e18e8cc1cb29179eaba269
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3743910
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1020664}

--

wpt-commits: 5df633bf51921f94dd0f02fa34e9a4f08d2576bf
wpt-pr: 34693
2022-07-08 15:00:02 +00:00
moz-wptsync-bot 86eab257f9 Bug 1773955 [wpt PR 34389] - Update wpt metadata, a=testonly
wpt-pr: 34389
wpt-type: metadata
2022-07-08 15:00:01 +00:00
Blink WPT Bot 83b0c17b3a Bug 1773955 [wpt PR 34389] - Fix wpt/resource-timing/entries-for-network-errors.sub.https.html, a=testonly
Automatic update from web-platform-tests
Fix wpt/resource-timing/entries-for-network-errors.sub.https.html (#34389)

- Add a timing entry when resource loading is blocked.
 - cache: 'only-if-cached' must be used with the same-origin mode. Fix
   the test case.
 - `entry.duration` can be zero. Fix the test case.

Bug: 1275564
Change-Id: I9fec4450cdc099202e6dbd138996387bdd3d765b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3702411
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1019914}

Co-authored-by: Yutaka Hirano <yhirano@chromium.org>
--

wpt-commits: f338b7792b4a3a17a96daed1e5e72767418a585e
wpt-pr: 34389
2022-07-08 15:00:00 +00:00
Gerald Squelart 12a671a4c4 Bug 1692934 - Record meta.profilingEndTime in each process - r=canaltinova
This profilingEndTime is the time when this property is actually written, which
corresponds to the end of the profiling session.
If it's a shutdown profile, the exact same time is used for the existing
`meta.shutdownTime` property.

Depends on D151355

Differential Revision: https://phabricator.services.mozilla.com/D151356
2022-07-08 14:23:37 +00:00
Gerald Squelart 29a5385f1e Bug 1692934 - Record meta.contentEarliestTime in each process - r=canaltinova
This contentEarliestTime is the time when the earliest (and oldest) surviving
chunk was prepared to start receiving data.
It should be a good hint to the front-end about where the profiling data
actually starts.

Differential Revision: https://phabricator.services.mozilla.com/D151355
2022-07-08 14:23:36 +00:00
Gerald Squelart 1bc597cb95 Bug 1692934 - Record meta.profilingStartTime in each process - r=canaltinova
This profilingStartTime is the time (relative to the process absolute start
time) when the profiling session started.

Differential Revision: https://phabricator.services.mozilla.com/D151354
2022-07-08 14:23:36 +00:00
Kash Shampur ef4119b8f5 Bug 1778573 - Add temporary exception when running Raptor-Browsertime with python 3.10 r=perftest-reviewers,sparky
Currently Raptor-Browsertime does not run with Python 3.10. Until then, an Exception that kills the Browsertime  process with a message telling the user to downgrade their Python version would be useful.

Differential Revision: https://phabricator.services.mozilla.com/D151330
2022-07-08 14:11:37 +00:00
lyavor 9618cb69b3 Bug 1778467 - Update browser/base/content/test/sanitize/ test files to use https r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D151260
2022-07-08 14:10:23 +00:00
smolnar 5141a24432 Backed out 5 changesets (bug 1777287, bug 1778610, bug 1778681, bug 1778608, bug 1778694) for causing assertion failures in mozilla/ServoUtils.h CLOSED TREE
Backed out changeset 0aef1644a90e (bug 1777287)
Backed out changeset 53145a539af3 (bug 1778694)
Backed out changeset d2ec7b6792ec (bug 1778681)
Backed out changeset 921a5cd15b42 (bug 1778608)
Backed out changeset d1b85405ea07 (bug 1778610)
2022-07-08 17:17:00 +03:00
smolnar 1547adcf3d Backed out 4 changesets (bug 1774854) for causing browser-chrome failures in antitracking/test/browser/browser_subResources.js
Backed out changeset 46884d2a4eb4 (bug 1774854)
Backed out changeset ee02080a80cc (bug 1774854)
Backed out changeset 5e01fd1a1423 (bug 1774854)
Backed out changeset 98244d30acff (bug 1774854)
2022-07-08 17:08:49 +03:00
Gerald Squelart 3a965409ce Bug 1480331 - Compile and build JsonCpp without exception handling - r=glandium
JsonCpp is used in different places around Firefox, which is normally built
without exception handling, so we don't want JsonCpp to `throw`.
Because we don't want to modify the JsonCpp files themselves (to ease future
update from the source), and some of its headers are directly included around
Firefox, we need to define `JSON_USE_EXCEPTION` to be 0 everywhere, which can
be done through moz.configure.
JsonCpp replaces its exception-triggering code with C asserts and aborts.

Differential Revision: https://phabricator.services.mozilla.com/D151190
2022-07-08 13:32:37 +00:00
Andrew Osmond 9e32b36f8f Bug 1777287 - Integrate FontFaceSet with OffscreenCanvas on workers. r=emilio,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D150640
2022-07-08 13:24:36 +00:00
Andrew Osmond f5944aec0b Bug 1778694 - Make gfxUserFontSet::IncrementGeneration use an atomic for tracking generations. r=jfkthame
This resolves some tsan warnings.

Differential Revision: https://phabricator.services.mozilla.com/D151366
2022-07-08 13:24:36 +00:00
Andrew Osmond ae8452be9b Bug 1778681 - Cache prefs for gfxPlatformFontList::GetDefaultGeneric at initialization. r=jfkthame
Caching the pref values at initialization instead of on demand allows
this code to be threadsafe and accessible from DOM workers.

Differential Revision: https://phabricator.services.mozilla.com/D151365
2022-07-08 13:24:35 +00:00
Andrew Osmond 5865d04029 Bug 1778608 - Fix FontFaceSetWorkerImpl destruction off main thread. r=emilio
The loaders need to be destroyed on the main thread. Assertions for
gfxUserFontSet and gfxFontFamily need to be updated for workers.

Depends on D151342

Differential Revision: https://phabricator.services.mozilla.com/D151343
2022-07-08 13:24:35 +00:00
Andrew Osmond f61d0a1634 Bug 1778610 - Ensure we support flushing user fonts for FontFaceSetWorkerImpl. r=emilio
This is necessary for when we want to draw text with Canvas 2D and a
user font. This ensures the necessary font families are populated prior
to processing the text run.

Differential Revision: https://phabricator.services.mozilla.com/D151342
2022-07-08 13:24:34 +00:00
Gerald Squelart 5b1832118f Bug 1778591 - Assert that the main-thread buffer, if alive, should always be in-session - r=canaltinova
Some test failures suggest that somehow the main-thread pre-allocated buffer
was available, but not in-session (because its chunk manager pointer was null).
The code shouldn't allow this situation:
- EnsureBufferForMainThreadAddMarker() creates the buffer with a
  non-fallibly-allocated chunk manager.
- ReleaseBufferForMainThreadAddMarker() destroys the whole buffer, including
  its chunk manager.
- In GetClearedBufferForMainThreadAddMarker(), Clear() should not destroy the
  chunk manager.

So this patch adds some more asserts, to verify my assumptions, and potentially
catch the issue closer to where it happens.

Differential Revision: https://phabricator.services.mozilla.com/D151351
2022-07-08 13:23:29 +00:00
Julian Seward f79d07a0fb Bug 1777949 - LUL initialisation: don't use `std::map` in `class CallFrameInfo::RuleMap`. r=mstange.
When reading Dwarf unwind info, `CallFrameInfo::RuleMap::registers_` is a
`std::map<int, Rule>` used to map (Dwarf) register numbers to the current
unwind rule for each number.  These mappings are very small (typically <= 7
elems) and very short lived.  Result is that `std::map` creates a lot of
overhead because it is implemented as a Red-Black tree, and hence does a lot
of malloc/freeing of nodes.

This patch replaces it with a simple vector, wrapped up in a new `class
CallFrameInfo::RuleMapLowLevel`.  Comments have also been improved.  The
resulting performance changes are as follows:

                user time    insns     #malloc       #megabytes
                seconds      million   calls         allocated

x86_64 before   0.42         5609      5,891,857     560.8
x86_64 after    0.27         3906        894,188     323.1

arm64  before   0.46         7697      8,469,659     680.8
arm64  after    0.24         4922      1,043,154     427.1

x86_64: Intel Core i5 1135G7, 4.2GHz, Fedora 35
arm64:  Apple M1, ??? MHz, Fedora 33 running on Parallels Workstation

Differential Revision: https://phabricator.services.mozilla.com/D151261
2022-07-08 13:22:22 +00:00
Nicolas B. Pierron 49f29dc411 Bug 1776205 - Set the delazify option in all ScriptLoader code paths. r=arai
This patch move the ShouldApplyDelazificationStartegy as well as the
ApplyDelazificationStrategy under FillCompileOptionsForRequest.

As not all delazification strategies are capable of handling modules yet (Bug
1760334), and do not apply to cached-stencil, we have to add extra filters to
prevent ShouldApplyDelazificationStrategy to access custom delazification mode.

Differential Revision: https://phabricator.services.mozilla.com/D150118
2022-07-08 13:19:30 +00:00
Jan-Erik Rediger ff4d8a94ee Bug 1776203 - Remove reference to exported Glean symbol `rlb_flush_dispatcher`. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D150117
2022-07-08 12:46:13 +00:00
Bas Schouten 740a43ba09 Bug 1772510: Add 'mach perf-data-review' command that generates a template data review for simple performance monitoring probes. r=chutten,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D148255
2022-07-08 12:40:44 +00:00
Benjamin VanderSloot c61fece71c Bug 1774854, part 4 - Functional tests for new version of storage access API, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D150106
2022-07-08 12:36:43 +00:00
Benjamin VanderSloot 41fda4001e Bug 1774854, part 3 - Define new IPC to allow the forward declared SAAPI permission to be written and read across site boundaries, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D149662
2022-07-08 12:36:43 +00:00
Benjamin VanderSloot e175bc03d6 Bug 1774854, part 2 - Create helper function for the forward-declared storage access handoff permission, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D149661
2022-07-08 12:36:43 +00:00
Benjamin VanderSloot 5b9e145ce3 Bug 1774854, part 1 - Create new preferences and document member functions for the forward-declared SAAPI, r=timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D149660
2022-07-08 12:36:42 +00:00
Emilio Cobos Álvarez f6e2a99fb9 Bug 1778695 - Account for color-mix pref in test_bug877690.
Differential Revision: https://phabricator.services.mozilla.com/D151370
2022-07-08 12:34:55 +00:00
Nicolas Silva c81b99c8ff Bug 1770219 - Disallow large buffer allocations. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D149631
2022-07-08 11:51:55 +00:00
Tooru Fujisawa b6881f6dea Bug 1778418 - Directly run are-we-esmified-yet.py inside gecko checkout toplevel. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D151192
2022-07-08 11:27:20 +00:00
Tiaan Louw 2dff9781d9 Bug 1767256 - Include elements with display:contents when calculating range bounding rect r=emilio
Elements with display:contents does not participate in layout, but it's children does.  When
calculating the bounding rect of a range, those children have to be taken into account.

Differential Revision: https://phabricator.services.mozilla.com/D151229
2022-07-08 10:49:47 +00:00
Dave Townsend bc86581122 Bug 1778663: Correct isUsedRemoved typo in snapshot scorer. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151361
2022-07-08 10:11:43 +00:00
Henrik Skupin fc98681137 Bug 1775141 - [webdriver-bidi] Send live "browsingContext.contextCreated" events with "about:blank" as URL. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D151321
2022-07-08 10:01:47 +00:00
Jon Coppeard 3e69adc940 Bug 1777450 - Separate error messages for module resulution failure when the specifier might be bare r=allstarschh,flod
This fixes the original case by adding an extra error reason which is used when
the specifier could be bare and and only warning about relative URLs in this
case.

The same problem happens with import maps enable where "./foo.js" produces an
error about it being a bare specifier, which it's not. For that case make
ParseURLLikeImportSpecifier return a ResolveResult and use the same approach.

Differential Revision: https://phabricator.services.mozilla.com/D151153
2022-07-08 09:58:33 +00:00
Nicolas Chevobbe c8b4947fdc Bug 1759458 - [devtools] Make Netmonitor Clear/Send buttons always visible. r=bomsy.
The container is turned into a footer and moved outside of
its current parent so it always stick to the bottom.
CSS was tweaked to keep it nice.

Differential Revision: https://phabricator.services.mozilla.com/D151284
2022-07-08 09:47:14 +00:00
Norisz Fay 3ebc0a3b72 Merge mozilla-central to autoland CLOSED TREE 2022-07-08 12:35:20 +03:00
Norisz Fay 657dc24e72 Merge autoland to mozilla-central a=merge 2022-07-08 12:13:39 +03:00
Gabriele Svelto aa4e786b67 Bug 1778497 - Update the symbol scrapers to fetch Arch debug information r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D151272
2022-07-08 09:04:31 +00:00
Calixte 981db3428b Bug 1777695 - Add some entries in the context menu when editing a PDF r=mconley
It adds the entries Undo, Redo, Cut, Copy, Paste, Delete and Select all,
only when the pdf editing mode is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D151122
2022-07-08 08:27:18 +00:00
Mike Hommey a753b3db0b Bug 1778604 - Switch rust-dev to "stable" rust. r=firefox-build-system-reviewers,andi
Sanitizer builds require unstable features from the rust compiler, and
the common way to achieve this is to use a nightly rust compiler,
which we had been doing for a while.

Later on, we also needed to use unstable features that actually require
some patches to both rustc and cargo to work properly for our needs, so
we switched to taking the source of a nightly rust compiler, patch and
build it, and use that.

But finding an appropriate nightly rust compiler is not always easy. We
want something close enough from the stable rust compiler we're using
otherwise, which we've been using the first nightly that has the
following version number for. But it also can happen that those versions
have bugs that have been fixed later and then uplifted during the beta
period (and thus fixed in the stable rust compiler).

On the other hand, taking the source of the stable rust compiler and
compiling it with a `channel` set to `dev` (actually the default) or
`nightly` yields a compiler that is very close to the actual stable rust
compiler, but acts like a nightly compiler and allows to enable unstable
features.

So instead of trying to pick a good version from the nightly channel,
just use the same version as the stable rust version we use.

Differential Revision: https://phabricator.services.mozilla.com/D151341
2022-07-08 08:19:07 +00:00
Mike Hommey 68050fbe08 Bug 1778583 - Upgrade wine to version 7.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D151340
2022-07-08 08:18:55 +00:00
lyavor dfd3fc0633 Bug 1778442 - Update devtools/client/shared test files to use https r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D151243
2022-07-08 08:14:33 +00:00
Nicolas Silva ba23af9d48 Bug 1750576 - Avoid passing raw strings in a couple of wgpu bindings entry points. r=emilio
Inspired by emilio's suggestion in the shader module API patch. This tries to be the most straightforward way to go from the strings coming from IPC to the ones consumed by wgpu.

Differential Revision: https://phabricator.services.mozilla.com/D151024
2022-07-08 08:11:39 +00:00
Nicolas Silva 1d6db74e44 Bug 1750576 - WebGPU shader module asynchronous CompilationInfo API. r=aosmond,emilio
This patch is a lot of plumbing for not that much functionality. The goal is to align CreateShaderModule's error reporting with the spec.
Creating a shader module is now a dedicated async IPDL message returning the compilation info so that it can be exposed as a promise by the WebGPU API.

Differential Revision: https://phabricator.services.mozilla.com/D146817
2022-07-08 08:11:39 +00:00
Mirko Brodesser 21b693f361 Bug 1774787: re-enable <dom/events/test/browser_navigator_clipboard_readText.js> on Linux. r=edgar
Didn't fail in the last six Try runs.

Differential Revision: https://phabricator.services.mozilla.com/D151277
2022-07-08 07:51:12 +00:00
Mozilla Releng Treescript 642006e064 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ar -> 77ebbdf3ca1cb49d239d0221d561c873dd9d61b4
ast -> bebee4da7dc2431e11fedca8f1acdc63f79ed8bf
be -> ea81ab240cd118edb0a92b168cadd9b7b1ca6fdd
bg -> e6aea5faf28151fb687bf107492775cd2996ca33
br -> 0b3a3b5a26f3021d1c1b39044dcf28ba16f9a7f7
bs -> 72a42f9a270ebe476aa1b4838cb221404b8fa8d7
ca -> ae7abdf270ff0945d5de9f062ae5b164c03215e0
cak -> da3b28e08d4abd9036e0be5f525ab355724af97a
en-CA -> d1b6adf1df79e2ce8a5e02f6150c37b7c96421b4
es-AR -> 4a5fea3c89447693bc4d6bb1d9e224791ede818c
fi -> b3ddac8782bc2a386f8b8039926fbbf8ccffd3fa
ga-IE -> e556e6e6a3f61d8d46733b72cfd07a4a495f9574
gd -> 5c655e2c21e4b6dcddc291d6a583df1ef4fb6085
gl -> 7111036f8184c62e41906c7dfed55dcbd11e18be
he -> 9197cf50366ccd7a36e364ca4f48a8cdb89d9961
hr -> dac64a2e67c6c84316a6939251c66a2f389a9df8
hy-AM -> 10ae334d998e9b02172b773ed6f64f2c9509a269
hye -> b37bed52fc7a1d054cbfac9edeadeecfdf3611c5
id -> b5b77c9c16ea60d08540577ac6e05fbf1ee1139e
kab -> bd32464f21975d130a3bb976cd927210521a14e8
kk -> 4738649f9fcc68df1cebd144d1642bb70b234277
km -> c70f959373acb7c9452a300ee599e99e6fb7ed3d
ko -> 8e4d85866cafa785631546a0d7e6c406c2330889
lt -> 8c190e1e129a79989c61eae23df62326be4fa8dc
lv -> 145f638693e8e5af903770186537c3fe4b59628c
ms -> bbc7a35cf040a46d542b4dc50b19c76143cfdbd7
nb-NO -> 1166afc922d333d4b9535dad79c33183c7027cd6
nn-NO -> 684230da9a474195a9e33d0fd491c6ab4898540a
pa-IN -> 6f6eba71047e38cbb836a53b0245158efc0e547f
pt-PT -> 3ea7e559b0154793e36dab1f990495d8c13fc851
ro -> 7965bfbe59e7db7112c8fb07ab005633c82b3d94
sq -> 13b4c0b412c2aaf545801e2f954b8f80659080ab
sr -> 5744b72ede27a0aa87d17ec1741bc59a5a85e8f4
th -> 8eaeae8eed6d8188736d239944981c395b17f1a1
uz -> d2fd930806faec83608c9b029095515d29bb2c55
2022-07-08 06:58:45 +00:00
Mark Hammond 9b94cad40f Bug 1731249 - add an allow-list of prefs that will sync even if the default value. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D150095
2022-07-08 06:04:22 +00:00
Nicolas Chevobbe 2b6a1911f7 Bug 1777587 - [devtools] Preview support for URLSearchParams objects. r=ochameau.
Also add an `<entries>` node in the ObjectInspector for URLSearchParams instances.

Differential Revision: https://phabricator.services.mozilla.com/D150810
2022-07-08 05:46:47 +00:00
Nicolas Chevobbe 5d103461fc Bug 1695382 - [devtools] Add color swatches inside `color-mix()`. r=jdescottes.
This is done by adding `color-mix` to `COLOR_TAKING_FUNCTIONS`.
Test case is added, alongside with cases for other functions in which we
should show color swatches.

Differential Revision: https://phabricator.services.mozilla.com/D151224
2022-07-08 05:02:03 +00:00
sotaro b9e60f30de Bug 1778431 - Allocate canvas render thread for out-of-process WebGL r=gfx-reviewers,aosmond
If dedicated thread for out-of-process WebGL exists, compositor thread tasks are not delayed by WebGL tasks.

And Bug 1712486 requests that WebGL run on non-compositor thread.

Differential Revision: https://phabricator.services.mozilla.com/D151210
2022-07-08 04:02:41 +00:00
Kris Maglione a78b44be00 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-08 00:59:02 +00:00
Csoregi Natalia 33193d6158 Backed out 5 changesets (bug 1766041) for gtest failures on APZCBasicTester. CLOSED TREE
Backed out changeset 3b0cd4ee7d1e (bug 1766041)
Backed out changeset 5de0ed4fd59b (bug 1766041)
Backed out changeset cc7ffb683e8a (bug 1766041)
Backed out changeset ce5a895e7a06 (bug 1766041)
Backed out changeset 315578c436ca (bug 1766041)
2022-07-08 03:12:42 +03:00