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

794832 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gaudet b94f0dd091 Bug 1769093 - Test262 Update: May 2022 r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D146219
2022-05-12 17:56:25 +00:00
Jens Stutte 4b7e774817 Bug 1767214: Avoid executing WorkerMainThreadRunnable::Run late in shutdown. r=dom-worker-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D145577
2022-05-12 16:13:28 +00:00
Luca Greco 5ccb26922f Bug 1768482 - Fix TV intermittent failure on Glean.extensions.startupCacheLoadTime set to 0. r=mixedpuppy,chutten
The test failing intermittently on test-verify jobs seems to be only the one that covers the newly added
Glean timespan metric named "extensions.startupCacheLoadTime".

Given that it seems to be only failing in test-verify jobs, and with the Glean metric set to a numeric value as expected
just not always a non-zero value as the test expectes, I suspect it may be because the startupCache is technically
empty or only including a pretty small amount data and so it may be able to be loaded so fast that the resulting
value is 0 milliseconds.

I'm unable to reproduce the same locally even when running the test locally using --verify, and so this patch
is actually relaxing the failing assertion to only check that the Glean metric value is numeric and the
mirror scalar is set to the exact same value, and in addition to that the test is not reseting the FOG data
and assert that the Glean metric is initially undefined until we expect it to be collected and set to a numeric value.

Differential Revision: https://phabricator.services.mozilla.com/D145904
2022-05-12 16:07:29 +00:00
Henrik Skupin 152d44aef0 Bug 1769026 - [devtools] Remove backward-compat comment for supportedResources. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D146165
2022-05-12 15:44:56 +00:00
Nika Layzell 730bd0605c Bug 1768956 - Allow canceling AsyncWait callbacks in DataPipe, r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D146129
2022-05-12 15:35:48 +00:00
Nicolas B. Pierron c8cb8a1597 Bug 1764276 - ParseTask::scheduleDelazifyTask check for OOM before cloning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D143466
2022-05-12 15:33:34 +00:00
Mike Kaply f69adc8eac Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 15:22:38 +00:00
R. Martinho Fernandes 5dafcaa801 Bug 1730434 - Limit length of allowCredentials set r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D145228
2022-05-12 15:21:31 +00:00
Narcis Beleuzu c7b283b6b7 Bug 1768894 - Fix lint failures. a=lint-fix CLOSED TREE 2022-05-12 18:43:05 +03:00
Norisz Fay f9687fa0cf Backed out changeset fcf35978c791 (bug 1768848) for causing build bustages on WebGPUBinding.cpp CLOSED TREE 2022-05-12 18:01:56 +03:00
Sergey Galich d67012954d Bug 1768894 - Refactor LoginManagerChild r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D146097
2022-05-12 14:48:22 +00:00
Andrew Osmond 4e812d5189 Bug 1751064 - Expose additional supported limits for WebGPU. r=gfx-reviewers,lsalzman,emilio
Differential Revision: https://phabricator.services.mozilla.com/D146071
2022-05-12 14:46:56 +00:00
Andrew Osmond eac9952307 Bug 1768848 - Update GPUComputePassEncoder method names to follow WebGPU spec. r=gfx-reviewers,lsalzman,emilio
Differential Revision: https://phabricator.services.mozilla.com/D146072
2022-05-12 14:45:27 +00:00
Norisz Fay b223fdafd4 Backed out changeset 31a206537bb6 (bug 1767952) for causing lint failure on authenticate.sjs CLOSED TREE 2022-05-12 17:47:13 +03:00
Bogdan Szekely abb14a39af Backed out changeset 0a74e9a67faa (bug 1722050) for causing xpcshell failures on test_sorted_alphabetically.js. CLOSED TREE 2022-05-12 17:19:37 +03:00
lyavor d1a257c0a2 Bug 1767952 - Update all .sjs test files that use base64ToString() instead of atob. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D145701
2022-05-12 13:58:24 +00:00
Emilio Cobos Álvarez ce985f9f3c Bug 1769034 - Remove ContainerTracker. r=miko
We don't use the stored container anymore, this can just be a boolean.

Differential Revision: https://phabricator.services.mozilla.com/D146187
2022-05-12 13:43:18 +00:00
Mike Kaply 523416b7fb Bug 1722050 - Add policy for opening executable files based on domain/extension pairs. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144214
2022-05-12 13:17:30 +00:00
Meg Viar 5b655b243e Bug 1767511 - Many messaging-system/onboarding pings missing required event identifier r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D145615
2022-05-12 13:02:59 +00:00
stransky c0cb7fd820 Bug 1750388 [Linux] Switch back to SW decode if HW decode is slow r=alwu
Switch back to SW decode when frame decode time and averange decode time is bigger
than frame interval for defined number of frames.

Differential Revision: https://phabricator.services.mozilla.com/D145871
2022-05-12 12:40:14 +00:00
Hiroyuki Ikezoe 641c9d3055 Bug 1766805 - Ignore snap points behind scroll direction on intended direction scroll operations. r=botond
Depends on D145191

Differential Revision: https://phabricator.services.mozilla.com/D145192
2022-05-12 12:25:16 +00:00
Hiroyuki Ikezoe a457a5cfbb Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond
The scroll snap spec defines the concepts [1]. There are three type of scroll
operations. 1) intended end position, 2) intended direction and end position
and 3) intended direction.

Basically our existing ScrollUnits types correspond;

1) DEVICE_PIXELS, WHOLE => intended end position
2) PAGES => intended direction and end position
3) LINES => intended direction

There are two exceptions in the `intended direction and end position` case,
scrollBy() and fling gestures (on Linux). They were defined as scroll operations
with DEVICE_PIXELS unit, but the spec cleary says they are `intended direction
and end position` operations.

Note that we will also use this information for scroll-snap-stop property since
the properly will only have effects on both 2) and 3) cases.

[1] https://drafts.csswg.org/css-scroll-snap/#scroll-types

Depends on D145190

Differential Revision: https://phabricator.services.mozilla.com/D145191
2022-05-12 12:25:15 +00:00
Hiroyuki Ikezoe 2e15649588 Bug 1766805 - Give the proper destination to GetSnapPointForDestination for ScrollUnit::WHOLE on the main-thread. r=botond
Now the proper destination is same as what we do for ScrollUnit::WHOLE [1].

With the proper points we no longer need special handlings in
CalcSnapPoints::AddEdge for ScrollUnit::WHOLE. In my sense the special handling
wasn't necessary though.

[1] https://searchfox.org/mozilla-central/rev/dc09246dfbfd8dafeb6d55ebee18a6294d525443/gfx/layers/apz/src/AsyncPanZoomController.cpp#2105-2112

Differential Revision: https://phabricator.services.mozilla.com/D145190
2022-05-12 12:25:15 +00:00
Andrew McCreight f9f01d9f0c Bug 1767048 - Disable negative heap-unclassified assertion for frequent failure in central-as-beta simulations r=perftest-reviewers,sparky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D145897
2022-05-12 12:07:35 +00:00
Jonathan Watt ebabc1e31f Bug 1768919 - Avoid checking the original document for focus in nsPrintJob. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146110
2022-05-12 12:06:57 +00:00
Jonathan Kew 434f2762eb Bug 1768759 - Disable use of SVG-in-OpenType glyphs when text rendering is not happening on the main thread. r=lsalzman
We might want to look into this further and see if it can be supported, but for now at least
the safest option is to disable any attempt by Gecko to render such glyphs.

(Actually, in some cases they may work anyhow, if they're natively supported by the system font
rasterizer we're using; I'm seeing this on current macOS thanks to Core Text. Maybe at some point
we can switch off our SVG-glyph code altogether and just rely on the platform.)

Differential Revision: https://phabricator.services.mozilla.com/D146052
2022-05-12 11:42:28 +00:00
Norisz Fay ce587cb281 Backed out 3 changesets (bug 1766805) for causing build bustage on AsyncPanZoomController.cpp CLOSED TREE
Backed out changeset e35a130f2bce (bug 1766805)
Backed out changeset 9f9e2030fbc1 (bug 1766805)
Backed out changeset 898bd12a5da8 (bug 1766805)
2022-05-12 13:42:36 +03:00
Joel Maher c46d70e419 Bug 1766212 - Remove DFPI variant. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D145481
2022-05-12 10:17:35 +00:00
Nicolas Silva 70704d1c67 Bug 1768829 - Fix test partial-prerender-translate-6.html to use blob images. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D146073
2022-05-12 10:03:19 +00:00
Bogdan Szekely e6703d76c7 Merge mozilla-central to autoland. CLOSED TREE 2022-05-12 12:59:38 +03:00
Bogdan Szekely f39a9bb111 Merge autoland to mozilla-central. a=merge 2022-05-12 12:48:28 +03:00
Dão Gottwald f7c7439ca2 Bug 1768750 - Replace stray reference to --toolbarbutton-focus-outline. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D146050
2022-05-12 09:36:14 +00:00
ui.sayuree 4188190076 Bug 1766231 - edit observer. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D146146
2022-05-12 08:46:45 +00:00
Martin Giger 86738ee648 Bug 1766823 - Select multiple dictionaries if document has multiple Content-Language values. r=dminor,smaug
Persist dictionary preference in document content language field for mail editors so multiple dictionary selection can persist.

Differential Revision: https://phabricator.services.mozilla.com/D144935
2022-05-12 08:29:36 +00:00
Henrik Skupin d806a68833 Bug 1768742 - browser_preferences_usage.js - reduce min values for gfx.*.azure.backends to account for pre-allocated content processes. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D146120
2022-05-12 08:04:36 +00:00
Jan de Mooij e3fa19a519 Bug 1768790 part 3 - Simplify WarpBuilder::build_JumpTarget more. r=iain
We can now set/use `current` directly and get rid of the `joinBlock` variable.

Depends on D146046

Differential Revision: https://phabricator.services.mozilla.com/D146047
2022-05-12 07:47:41 +00:00
Jan de Mooij e9350c5cac Bug 1768790 part 2 - Inline addEdge lambda into sole caller. r=iain
Depends on D146045

Differential Revision: https://phabricator.services.mozilla.com/D146046
2022-05-12 07:47:41 +00:00
Jan de Mooij d08d1552b8 Bug 1768790 part 1 - Simplify PendingEdge and WarpBuilder::build_JumpTarget. r=iain
After bug 1767966 we can simplify this a bit. The new code is also more similar to
how Wasm => MIR generation works.

Differential Revision: https://phabricator.services.mozilla.com/D146045
2022-05-12 07:47:40 +00:00
Hiroyuki Ikezoe c578fe6929 Bug 1766805 - Ignore snap points behind scroll direction on intended direction scroll operations. r=botond
Depends on D145191

Differential Revision: https://phabricator.services.mozilla.com/D145192
2022-05-12 07:45:59 +00:00
Hiroyuki Ikezoe 098b8bc1a5 Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond
The scroll snap spec defines the concepts [1]. There are three type of scroll
operations. 1) intended end position, 2) intended direction and end position
and 3) intended direction.

Basically our existing ScrollUnits types correspond;

1) DEVICE_PIXELS, WHOLE => intended end position
2) PAGES => intended direction and end position
3) LINES => intended direction

There are two exceptions in the `intended direction and end position` case,
scrollBy() and fling gestures (on Linux). They were defined as scroll operations
with DEVICE_PIXELS unit, but the spec cleary says they are `intended direction
and end position` operations.

Note that we will also use this information for scroll-snap-stop property since
the properly will only have effects on both 2) and 3) cases.

[1] https://drafts.csswg.org/css-scroll-snap/#scroll-types

Depends on D145190

Differential Revision: https://phabricator.services.mozilla.com/D145191
2022-05-12 07:45:59 +00:00
Hiroyuki Ikezoe fbbbe95ea6 Bug 1766805 - Give the proper destination to GetSnapPointForDestination for ScrollUnit::WHOLE on the main-thread. r=botond
Now the proper destination is same as what we do for ScrollUnit::WHOLE [1].

With the proper points we no longer need special handlings in
CalcSnapPoints::AddEdge for ScrollUnit::WHOLE. In my sense the special handling
wasn't necessary though.

[1] https://searchfox.org/mozilla-central/rev/dc09246dfbfd8dafeb6d55ebee18a6294d525443/gfx/layers/apz/src/AsyncPanZoomController.cpp#2105-2112

Differential Revision: https://phabricator.services.mozilla.com/D145190
2022-05-12 07:45:58 +00:00
Emilio Cobos Álvarez 9e02f38a2e Bug 1766909 - Wrap ObservableArray proxy on getter, rather than throwing. r=peterv
This will still prevent them from accessing stuff (.length will be
undefined, etc), but seems better than unexpectedly throwing. This fixes
the issue at hand at least.

With this patch, we reject length accesses here:

  https://searchfox.org/mozilla-central/rev/86c98c486f03b598d0f80356b69163fd400ec8aa/js/xpconnect/wrappers/XrayWrapper.cpp#229-233

Your call on whether this patch is enough as-is, or more work is needed.
Also your call on whether if more work is needed that needs to happen on
this bug or somewhere else.

I'm not sure what we'd need to do to support this more "properly",
presumably we'd need to add special XRay support to
ObservableArrayProxyHandler or so? Pointers (or patches of course ;))
welcome.

Also unsure about the setter situation, I _think_ it's fine not to throw
given the code I read, but please sanity-check.

Differential Revision: https://phabricator.services.mozilla.com/D145045
2022-05-12 07:36:03 +00:00
Alex Finder 218b3891f5 Bug 1762857 Fix permanent imdb non-live chrome/chromium raptor-browsertime r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D145963
2022-05-12 07:21:05 +00:00
Mozilla Releng Treescript a0e80b0c52 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
is -> 2a47dc529fcb53e12c5c25a55c1883eb26d99c26
ko -> 52f00bbc20fcd67e02368a0cca1b0172eeba5a7c
tg -> 1a618e51ddbf373bc49f6ec5d45b7649b10c68d5
2022-05-12 06:58:05 +00:00
sotaro 25a13f8e9c Bug 1761402 - Let session change handling of window occlusion on Windows ride the trains to release r=jrmuizel,gfx-reviewers
Since Bug 1732739, "session change handling of window occlusion on Windows" is enabled until early beta. And no regression was reported. Then it seems OK to enable it until release.

Differential Revision: https://phabricator.services.mozilla.com/D145193
2022-05-12 06:57:32 +00:00
Kelsey Gilbert 4416195118 Bug 1743767 - Tighten bounds and add asserts for row-by-row ReadPixels. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D144900
2022-05-12 03:23:40 +00:00
criss 29bfef65cb Bug 1768964 - Fix black lint failure, r=fix. CLOSED TREE 2022-05-12 02:07:27 +03:00
Alexandre Lissy 16e4ebbd58 Bug 1768696 - Correct start/stop Utility Process test logic r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146067
2022-05-11 22:52:25 +00:00
Alexandre Lissy e52065148a Bug 1768696 - Unregister correct memory reporter on UtilityProcessParent r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146066
2022-05-11 22:52:25 +00:00
Eitan Isaacson 5b5c37736c Bug 1768964 - Use setattr on Namespace object. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D146133
2022-05-11 22:44:29 +00:00