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

800970 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 4fbcd99c2c Backed out changeset 558ec2a25702 (bug 1777886) for failures on browser_startup.js. CLOSED TREE 2022-07-08 03:09:14 +03:00
Daisuke Akatsuka 517c5e80fe Bug 1778335: Handle a URL that has www name in history correctly. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D151196
2022-07-08 00:06:17 +00:00
David Shin 00ee70f348 Bug 1766041: Part 5: C++ `ComputedTimingFunction` uses Rust's timing function calculation. r=emilio
This was made economical by having Rust's computed `easing::TimingFunction` use
a fully resolved function for `linear(...)` easing, as per draft resolution from
https://github.com/w3c/csswg-drafts/issues/7415

Differential Revision: https://phabricator.services.mozilla.com/D151295
2022-07-07 22:52:59 +00:00
David Shin 9dfbcf5b60 Bug 1766041: Part 4: Port bezier edge cases handling from C++ to Rust. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150569
2022-07-07 22:52:59 +00:00
David Shin 07b055639d Bug 1766041: Part 3: Migrate C++ `BeforeFlag` to that of Rust's. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150567
2022-07-07 22:52:58 +00:00
David Shin 0c20ef85f5 Bug 1766041: Part 2: Update rust's step function basd on C++ `ComputedTimingFunction`. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150566
2022-07-07 22:52:58 +00:00
David Shin 6a09761348 Bug 1766041: Part 1: Move Rust animation to `ComputedTimingFunction`. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D150565
2022-07-07 22:52:57 +00:00
Kris Maglione 834e8c64b8 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-07 22:31:29 +00:00
Iain Ireland 9e4cd3354f Bug 1776356: Ensure ballast when adding shape assertions r=nbp
I'm not including the testcase because it ends up being very slow in debug builds (because we're inserting thousands of shape assertions). The same testcase is fast in an opt build, so it doesn't seem worth pursuing.

Differential Revision: https://phabricator.services.mozilla.com/D150307
2022-07-07 22:16:20 +00:00
Mark Banner d4798a7d59 Bug 1762571 - Don't force set nodejs_path in remove_executables as this causes tests to use the wrong node version. r=firefox-build-system-reviewers,ahochheiden
Depends on D150796

Differential Revision: https://phabricator.services.mozilla.com/D151021
2022-07-07 22:09:01 +00:00
Mark Banner 7296cbd102 Bug 1762571 - Limit xpcshell-tests to node v12 whilst we still support Windows 7. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D150796
2022-07-07 22:09:01 +00:00
Mark Banner 68920ac756 Bug 1762571 - Update node_modules bundles and package-lock.json files for new node versions. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D147175
2022-07-07 22:09:00 +00:00
Mark Banner aa392632aa Bug 1762571 - Use existing node_modules bundles for devtools tests. r=marco
The eslint test already has these setup and uses them rather than running npm install each time.

Differential Revision: https://phabricator.services.mozilla.com/D147174
2022-07-07 22:09:00 +00:00
Mark Banner fbbe33b4ea Bug 1762571 - Upgrade NodeJS to v12 for the build system and v16 for tests. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147173
2022-07-07 22:08:59 +00:00
Mark Banner ab82e73786 Bug 1778155 - Finish enabling no-unused-vars on the global scope for xpcshell files in services/. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D151035
2022-07-07 21:54:34 +00:00
Iulian Moraru 171768af37 Merge mozilla-central to autoland on a CLOSED TREE 2022-07-08 00:51:44 +03:00
Mike Hommey dba3a210e5 Bug 1777436 - Update builders to rustc 1.62. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D150733
2022-07-07 21:49:05 +00:00
Mike Hommey a86654ea61 Bug 1777436 - Strip debug symbols from rust's libcompiler-builtins. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D150994
2022-07-07 21:49:05 +00:00
Iulian Moraru 5e6e08e53c Merge autoland to mozilla-central. a=merge 2022-07-08 00:48:00 +03:00
Morgan Reschenberg e1807daa21 Bug 1767304: Support ValueDescription, Orientation, Min, Max on AXIncrementors r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D151080
2022-07-07 21:31:17 +00:00
Andrew Osmond c5989fee52 Bug 1072107 - Part 9. Expose FontFaceSet on workers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149254
2022-07-07 21:24:11 +00:00
Andrew Osmond 15c3439858 Bug 1072107 - Part 8. Provide worker variant of FontFaceSetImpl. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149252
2022-07-07 21:24:11 +00:00
Andrew Osmond ae9f0f107d Bug 1072107 - Part 7. Make FontFaceLoader check for associated document. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150542
2022-07-07 21:24:10 +00:00
Andrew Osmond e28f840226 Bug 1072107 - Part 6. Dispatch font calls and callbacks as necessary. r=emilio
Also update thread assertions.

Differential Revision: https://phabricator.services.mozilla.com/D149253
2022-07-07 21:24:10 +00:00
Andrew Osmond 3a9bb7fc8e Bug 1072107 - Part 5. Skip logging to the console for workers right now r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149246
2022-07-07 21:24:10 +00:00
Andrew Osmond 05d24c06de Bug 1072107 - Part 4. Rework gfxFontSrcPrincipal creation to never be lazy. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150541
2022-07-07 21:24:09 +00:00
Andrew Osmond e24677ee1b Bug 1072107 - Part 3. Expose GetURLExtraData on FontFaceSetImpl. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150540
2022-07-07 21:24:09 +00:00
Andrew Osmond 508ecd766a Bug 1072107 - Part 2. Expose FontFaceSet on nsIGlobalObject. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149245
2022-07-07 21:24:08 +00:00
Andrew Osmond 47426f9e36 Bug 1072107 - Part 1. Expose method to load user fonts from workers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149244
2022-07-07 21:24:08 +00:00
Emilio Cobos Álvarez a4a6aa18d7 Bug 1778444 - Clear UISettings on shutdown. r=kaie
This should be the right fix.

Differential Revision: https://phabricator.services.mozilla.com/D151311
2022-07-07 21:17:36 +00:00
Markus Stange aa49005e37 Bug 1776763 - Only defer menu item activation if we know that the menu is open. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D151274
2022-07-07 20:47:38 +00:00
Kagami Sascha Rosylight da08d29db4 Bug 1777661 - Always expose "proxable" IDB interfaces r=twisniewski,asuth
This fixes websites using jakearchibald/idb@v3 which has been downloaded 1 million times in NPM (https://www.npmjs.com/package/idb).

The library creates proxies for those interfaces while assuming those are always globally available, and we get an `undefined identifier` error if those don't exist.

Only the version 3 is affected and v4+ is okay per my testing, but v3 is downloaded too many times to ignore.

Differential Revision: https://phabricator.services.mozilla.com/D151086
2022-07-07 19:45:29 +00:00
Mozilla Releng Treescript f78290e336 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
da -> 2e7f937e2f8409ba8525986b7a08798aaf0e0b27
fi -> 433270def265c15f1c0c082148ccf20fc2113384
hu -> d6795607a4a80bf666b34cc18c72562423303ae8
it -> 81b12d188498fa459307bc06a9124f476381f3ee
kk -> 730a8e96f01684eedce7db0995a0cdd18b8e2314
nl -> d530826100a72d7a7ef622903ea5e3a3fa880e9c
tg -> 87925c0e1a4133b5c1070057a5513a8c33ca7174
tr -> 24179e96c206916f15ee475e7de00a26257ff63a
2022-07-07 19:05:34 +00:00
Ting-Yu Lin dc7ac912b3 Bug 1323517 Part 7 - Fix the placement of an orthogonal float with an auto block-size. r=jfkthame
The old code in AddFloat() used to call nsBlockFrame::ComputeFloatISize() to
compute a float's inline-size, compare it with current line's available
inline-size, and determine whether FlowAndPlaceFloat() should be called.
However, it doesn't handle an orthogonal float with an auto block-size.

Luckily, FlowAndPlaceFloat() already has logic dealing with orthogonal
floats (bug 1141867), so this patch defers the decision to place a float below
the current line until the float's margin inline-size is computed in
FlowAndPlaceFloat().

Differential Revision: https://phabricator.services.mozilla.com/D151209
2022-07-07 19:01:56 +00:00
Ting-Yu Lin b9cb8817f5 Bug 1323517 Part 6 - Change FlowAndPlaceFloat()'s return value to a tri-state enum. r=jfkthame
This patch is a preparation for the next part, and doesn't change the behavior
yet.

FlowAndPlaceFloat() is used to return true and false. This patch changes its
return value `true` to `PlaceFloatResult::Placed` and `false` to
`PlaceFloatResult::ShouldPlaceInNextContinuation`.

In the next part, we'll move the logic dealing with "below the current line
floats" into FlowAndPlaceFloat(), and make it return
`PlaceFloatResult::ShouldPlaceBelowCurrentLine`.

Differential Revision: https://phabricator.services.mozilla.com/D151208
2022-07-07 19:01:56 +00:00
Ting-Yu Lin 48a466967c Bug 1323517 Part 5 - Improve the available size computation for reflowing a float. r=jfkthame
First of all, `nsBlockFrame::AdjustFloatAvailableSpace()` is misleading. It
doesn't adjust the argument `aFloatAvailableSpace` at all, nor does it use any
fields in nsBlockFrame. It simply returns the available space in the parent
block's content area. Thus, I move it into BlockReflowState, and have it return
the available size rather than a rect because a size is sufficient for reflowing
a float.

Also, nsBlockFrame::ReflowFloat() only cares about the available size, but not
the position of the available space, so it is sufficient to pass a LogicalSize
computed by the new method ComputeAvailableSizeForFloat().

In FlowAndPlaceFloat(), there is a loop searching for a wide enough band to
place the float. We don't need to adjust availSize every time mBCoord is changed
in the loop. We can just call ComputeAvailableSizeForFloat() to get a new
available size before reflowing the float in the `!earlyFloatReflow` branch.

This patch shouldn't change the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D151207
2022-07-07 19:01:56 +00:00
Ting-Yu Lin 70e03e7368 Bug 1323517 Part 4 - Pass a dummy rect into ReflowBlock() when reflowing a float. r=jfkthame
This is a preparation for the next part.

Differential Revision: https://phabricator.services.mozilla.com/D151206
2022-07-07 19:01:55 +00:00
Ting-Yu Lin 9727d0b740 Bug 1323517 Part 3 - Rename GetLowestFloatTop to LowestFloatBStart. r=jfkthame
Both the method's documentation and implementation already use logical
coordinate.

Differential Revision: https://phabricator.services.mozilla.com/D151205
2022-07-07 19:01:55 +00:00
Ting-Yu Lin 0b0c4753f9 Bug 1323517 Part 2 - Remove float debug log that requires manual #define. r=jfkthame
These are small printf statements that are not build by CI, which increase
maintenance burden.

Differential Revision: https://phabricator.services.mozilla.com/D151204
2022-07-07 19:01:54 +00:00
Ting-Yu Lin ed00bfdbb9 Bug 1323517 Part 1 - Remove a duplicate assertion, and assert a fresh reflow status in ReflowFloat(). r=jfkthame
In FlowAndPlaceFloat(), condense two identical assertions about float frame
parent into one.

FlowAndPlaceFloat() calls ReflowFloat() only once, either an early reflow (when
`earlyFloatReflow` is `true`) or a late reflow (when `earlyFloatReflow` is
`false`), so the reflow status is always fresh.

Differential Revision: https://phabricator.services.mozilla.com/D151203
2022-07-07 19:01:54 +00:00
Luca Greco c2e2ac2e01 Bug 1777487 - Only query active StreamFilters if webRequestBlocking permission is granted and prevent race with extension shutdown. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D150753
2022-07-07 18:55:38 +00:00
Neil Deakin 307cdb4029 Bug 1773894, special-case some extensions when downloading them, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150386
2022-07-07 18:51:09 +00:00
Tom Ritter b66abd2909 Bug 1778505: Remove the temporary pref sanitization prefs r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D151289
2022-07-07 18:40:59 +00:00
Boris Chiou 74f6246cda Bug 1775327 - Part 3: Do normalization for NormalizedTiming(). r=firefox-animation-reviewers,birtles
This implements the normalization of the specified time, defined in
[web-animations-2]:
https://drafts.csswg.org/web-animations-2/#normalize-specified-timing.
However, it is possible to update this, based on the spec issue:
https://github.com/w3c/csswg-drafts/issues/4862.

For now, we just do normalization for delay, end delay, and
iteration duration based on the end time. And make sure the end time is
equal to the timeline duration.

Differential Revision: https://phabricator.services.mozilla.com/D149685
2022-07-07 18:33:42 +00:00
Boris Chiou db1b58d707 Bug 1775327 - Part 2: Fix playing finished scroll animation on reversing scrolling. r=firefox-animation-reviewers,birtles
We have to make sure the scroll animations is still responsive at
boundaries even if it's playstate is finished.

This patch includes the update of UpdateFinishedState() to match the
spec, and make sure we still tick scroll animations at finished play state.

Getting a finished state might be strange for scroll animations, and this
might be a spec issue. However, for consistency with JS-generated animations,
we'd like to align the behaviors with other browsers, and make sure we are
still match the definition of finished state in the spec.

Besides, we have to use EndTime() on the compositor so
animation-iteration-count works properly.

Tests are in the last patch.

Differential Revision: https://phabricator.services.mozilla.com/D149940
2022-07-07 18:33:41 +00:00
Boris Chiou ee025d7686 Bug 1775327 - Part 1: Make sure the scroll animation is still in active phase at boundaries. r=firefox-animation-reviewers,birtles
We have to introduce "at progress timeline boundary" which is defined in
web-animations-2 [1]. We need this to make sure the scroll animations
do not go into before phase or after phase.

The test of fill-mode should be together with delay, so I'd like to add the
tests in the last patch.

[1] https://drafts.csswg.org/web-animations-2/#at-progress-timeline-boundary

Differential Revision: https://phabricator.services.mozilla.com/D149684
2022-07-07 18:33:41 +00:00
David Shin 309272c871 Bug 1778533 - Remove accidental *.orig commits. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D151296
2022-07-07 17:48:38 +00:00
Meg Viar e228beb9db Bug 1778525 - Remove progress bar styling from AboutWelcome defaults r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D151290
2022-07-07 17:18:19 +00:00
Harveer Singh 24871b6adf Bug 1774467: Fixed bug where premature shutdown of dedicated worker could lead to browser crash. r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151288
2022-07-07 17:13:56 +00:00
Jan de Mooij 710fefa5e0 Bug 1754699 - Don't use the watchtower testing callback for swap. r=iain
Swapping objects is complicated and calling arbitrary JS adds a lot of additional
complexity.

Differential Revision: https://phabricator.services.mozilla.com/D151269
2022-07-07 16:40:22 +00:00