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

777873 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] e80bd061fe Bug 1741278 [wpt PR 31637] - Bump hypothesis from 6.24.2 to 6.24.4 in /tools, a=testonly
Automatic update from web-platform-tests
Bump hypothesis from 6.24.2 to 6.24.4 in /tools

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.24.2 to 6.24.4.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.24.2...hypothesis-python-6.24.4)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 7a6c0b18f29fac905c6121c8ff31e3c60d9e3e32
wpt-pr: 31637
2021-11-26 20:19:11 +00:00
Stephen McGruer 5fc33176e9 Bug 1741407 [wpt PR 31646] - [PaymentHandler] Avoid crash from too-long icon type, a=testonly
Automatic update from web-platform-tests
[PaymentHandler] Avoid crash from too-long icon type

Before this CL, passing a (very) large string for an icon's type to
paymentManager.instruments.set would result in mojo killing the
renderer for being badly behaved. This CL changes the Blink-side logic
to truncate the type to 4096 characters, which should be more than
enough given the type has to be a valid MIME type by spec[0].

[0]: https://www.w3.org/TR/payment-handler/#dfn-convert-image-objects

Bug: 810792
Change-Id: I78beebb9d934d321c640b8238ad27d094fd6b3dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3283985
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#942156}

--

wpt-commits: eb0e4d11a3445af73a8281d0bd1a339a5bdb7516
wpt-pr: 31646
2021-11-26 20:19:10 +00:00
Mark Rogers b5c839d43a Bug 1737142 [wpt PR 31354] - fix(conformance-checkers): U+007C (|) is a forbidden host code point, a=testonly
Automatic update from web-platform-tests
fix(conformance-checkers): U+007C (|) is now a forbidden host code per url standard (validator issue 1207)

--

wpt-commits: 312afcfe4f54add602d1200ab613c3e894b2688c
wpt-pr: 31354
2021-11-26 20:19:10 +00:00
Philip Jägenstedt 3b47c66e9a Bug 1728318 [wpt PR 30256] - [Azure Pipelines] Upgrade to macOS 11 (Big Sur), a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] Upgrade to macOS 11 (Big Sur) (#30256)

This moves to using acceptInsecureCerts with a new enough release of
Safari, which removes the blocker to running STP on Azure Pipelines
documented in #31147, whereby trusting certificates in Big Sur or
later requires either user interaction or SIP being disabled, which is
infeasible on Azure Pipelines.  See
https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes#Security
for details about the behaviour change in Big Sur.

For now, this keeps Safari (stable) on Catalina, as it doesn't support
acceptInsecureCerts.

Additionally, this moves all usage of Python on Big Sur to 3.7, as 3.6
is not available Azure Pipelines' macOS 11 VMs.

--

wpt-commits: 5c2d714ee3a56d680604591e61a36d80513451a6
wpt-pr: 30256
2021-11-26 20:19:09 +00:00
Harald Alvestrand f385a3447e Bug 1741376 [wpt PR 31644] - Remove crash expectation for rtp-payloadtypes on Linux, a=testonly
Automatic update from web-platform-tests
Remove crash expectation for rtp-payloadtypes on Linux

Also log failing payload type in test.
Note: the bug blamed in TestExpectations (1200671) seems irrelevant.

Bug: none
Change-Id: Id017ef6354467534598978f259b2d72a8466f46b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3284643
Reviewed-by: Florent Castelli <orphis@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#942099}

--

wpt-commits: b2269ffb31dca6b03da48a1a9c5ef4fa7b01a1b8
wpt-pr: 31644
2021-11-26 20:19:09 +00:00
Vladimir Levin ba26c08628 Bug 1741329 [wpt PR 31639] - Paint: Handle nested display locks during cull rect update., a=testonly
Automatic update from web-platform-tests
Paint: Handle nested display locks during cull rect update.

This patch ensures that we handle nested display locks while
propagating the cull rect update needed dirty bit.

R=pdr@chromium.org, wangxianzhu@chromium.org

Fixed: 1270206
Change-Id: I5104fc9bb3733d8c21d8eda5d00cb176b86012ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3282887
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#942022}

--

wpt-commits: 4f966a1f2015aa5463ba1c02c183e505488efe6d
wpt-pr: 31639
2021-11-26 20:19:08 +00:00
Steven Bingler 6025ba26a1 Bug 1740962 [wpt PR 31621] - Refactor out common partitioned service worker WPT code, a=testonly
Automatic update from web-platform-tests
Refactor out common partitioned service worker WPT code

Refactor common utility functions into their own file to reduce
duplicate code.

Bug: 1246549
Change-Id: Ib14ae0359f63f00848ea5d6b2ee8b723d4e7e30a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3279125
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Steven Bingler <bingler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941711}

--

wpt-commits: fe4e89cfbaa984f46765e00d962389f410290656
wpt-pr: 31621
2021-11-26 20:19:08 +00:00
moz-wptsync-bot 297ccc4ce5 Bug 1740977 [wpt PR 31625] - Update wpt metadata, a=testonly
wpt-pr: 31625
wpt-type: metadata
2021-11-26 20:19:07 +00:00
Ian Kilpatrick 719c2514a7 Bug 1740977 [wpt PR 31625] - [GridFragmentation] Support break-inside:avoid with MovePastBreakpoint, a=testonly
Automatic update from web-platform-tests
[GridFragmentation] Support break-inside:avoid with MovePastBreakpoint

This patch adds support for avoiding un-appealing breaks inside items
by using MovePastBreakpoint.

If the current row for an item has container-separation, and
MovePastBreakpoint returns false - we should move the entire row into
the next fragmentainer.

This implicitly expands the intrinsic block-size of the grid.

The grid-data structures currently assume that we can't have "holes" in
our grid needed to support this. (Or at least non-uniform "holes"
grid-gap/align-items/etc are all currently uniform).

To support the grid splitting in this way it also introduces
row_offset_adjustments to accommodate pushing a particular row into the
next fragmentainer.

Bug: 614667
Change-Id: I252fecc122ade410eb9b574836d64de3d82eb72d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3270413
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#941957}

--

wpt-commits: c0ada9a809dead12f56cf52069a60c269b2cea7e
wpt-pr: 31625
2021-11-26 20:19:07 +00:00
Philip Rogers 0a3700c1ab Bug 1741276 [wpt PR 31635] - Do not skip compositing update for non-animation transform changes, a=testonly
Automatic update from web-platform-tests
Do not skip compositing update for non-animation transform changes

Properties like "will-change: transform" are direct compositing reasons
which let us skip raster when properties change. Usually, we still need
to update compositing when directly-composited transforms change because
overlap can change. An exception to this is animations which assume
worst-case overlap in |PendingLayer::VisualRectForOverlapTesting|. This
patch stops skipping the compositing update for non-animation transform
changes.

An alternative approach of assuming worst-case overlap for will-change
transform was investigated in https://crrev.com/c/3280439 but this has
two downsides: complexity and compositing memory (a good example is
composited-scroll-overlap-test.html). Before CompositeAfterPaint, we
would need to run compositing as well, so the approach in this patch
has precedent. We may want to expand the visual rect for
will-change: transform in the future, for performance parity with
animations.

Bug: 1267689
Change-Id: I9812426e9a159bdbe44476390e10fe53478f9ccc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3282945
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941904}

--

wpt-commits: 22bf1f9e0ed1f729fb91632c39b2c8d68844f503
wpt-pr: 31635
2021-11-26 20:19:06 +00:00
moz-wptsync-bot dff10e47e6 Bug 1741289 [wpt PR 30812] - Update wpt metadata, a=testonly
wpt-pr: 30812
wpt-type: metadata
2021-11-26 20:19:05 +00:00
Myles C. Maxfield a5327611ef Bug 1741289 [wpt PR 30812] - [css-backgrounds] Add test for background-clip on multi-line inline elements, a=testonly
Automatic update from web-platform-tests
[css-backgrounds] Add test for background-clip on multi-line inline elements (#30812)

Co-authored-by: Tim Nguyen <nt1m@users.noreply.github.com>
--

wpt-commits: 1cdd682a491f3301445ee0dadc312bf53b2ae851
wpt-pr: 30812
2021-11-26 20:19:05 +00:00
moz-wptsync-bot 256de223f6 Bug 1739011 [wpt PR 31480] - Update wpt metadata, a=testonly
wpt-pr: 31480
wpt-type: metadata
2021-11-26 20:19:05 +00:00
Fernando Fiori a394e455e7 Bug 1739011 [wpt PR 31480] - Highlight API: Fix inheritance behavior, a=testonly
Automatic update from web-platform-tests
Highlight API: Fix inheritance behavior

Add support for ::highlight in HighlightInheritance feature to fix its
inheritance-based propagation of styles.

Bug: 1024156, 1164461
Change-Id: I793a65ef4090b875ac97cddb24991ed7dd3eea4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3237158
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Delan Azabani <dazabani@igalia.com>
Commit-Queue: Fernando Fiori <ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#941859}

--

wpt-commits: c133a2e74aa8d30410dd99b32216e9faa6cd343d
wpt-pr: 31480
2021-11-26 20:19:04 +00:00
moz-wptsync-bot 5434497d61 Bug 1740838 [wpt PR 31612] - Update wpt metadata, a=testonly
wpt-pr: 31612
wpt-type: metadata
2021-11-26 20:19:04 +00:00
Ionel Popescu 54cb074162 Bug 1740838 [wpt PR 31612] - [SelectMenu] Expose validity related APIs., a=testonly
Automatic update from web-platform-tests
[SelectMenu] Expose validity related APIs.

This CL exposes validity related properties: willValidate, validity,
validationMessage, checkValidity, reportValidity, setCustomValidity.

For now, the value missing algorithm matches the one used for
<select>[1].

ListedElement that is extended by HTMLSelectMenuElement already provides
many of the needed functionalities.

Added selectmenu-validity.tentative.html to validate the change.

[1]: https://html.spec.whatwg.org/multipage/form-elements.html#attr-select-required

Bug: 1121840
Change-Id: Id88188ac89992f0c0ae5a5ae293c5714cd2a8e50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3277534
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#941834}

--

wpt-commits: 91d541b2e3fac8096d2100876454491dd2104d8f
wpt-pr: 31612
2021-11-26 20:19:03 +00:00
Ionel Popescu 7db5788d8f Bug 1740961 [wpt PR 31620] - [SelectMenu] Remove not needed behavior='option' from tests., a=testonly
Automatic update from web-platform-tests
[SelectMenu] Remove not needed behavior='option' from tests.

After[1], only <option> elements are supported as <selectmenu> option
parts so there is no need to have behavior='option' in tests, other
than ensuring that controller code is not applied.

[1]: http://crrev.com/c/3251854

Bug: 1121840
Change-Id: Ibe7ac978847f4e4e5e3de13eb742d448ece9d21a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3279568
Auto-Submit: Ionel Popescu <iopopesc@microsoft.com>
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941815}

--

wpt-commits: 61f6a6e194b11e448889ec23af9bc37a1eda1b60
wpt-pr: 31620
2021-11-26 20:19:03 +00:00
moz-wptsync-bot a21f6bdb02 Bug 1740949 [wpt PR 31619] - Update wpt metadata, a=testonly
wpt-pr: 31619
wpt-type: metadata
2021-11-26 20:19:02 +00:00
Steven Bingler 8d52797db6 Bug 1740949 [wpt PR 31619] - Add WPT for Partitioned Service Worker matchAll, a=testonly
Automatic update from web-platform-tests
Add WPT for Partitioned Service Worker matchAll

Adds a WPT that tests that clients.matchAll is properly
partitioned when storage partitioning is enabled.

(For chrome) Also runs the test as part of the third-party storage
partitioning virtual test suite.

Also cleans up some commented out code.

Bug: 1246549
Change-Id: If0479dc00e90657bfd7eb902c5605a2e54afc42d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3279500
Commit-Queue: Steven Bingler <bingler@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941752}

--

wpt-commits: e1d84ebfaf15eadbae21ab1c2512152b61967be5
wpt-pr: 31619
2021-11-26 20:19:02 +00:00
Joey Arhar fcbf127a15 Bug 1740979 [wpt PR 31626] - Add ShadowRoot check in single node forced unlock, a=testonly
Automatic update from web-platform-tests
Add ShadowRoot check in single node forced unlock

Starting a FlatTreeTraversal with a ShadowRoot DCHECKs, so this patch
uses the ShadowRoot's host in that case, which is basically the same
node in the flat tree.

Fixed: 1269743
Change-Id: I8810d462eec06c6a185cc875057738e065f79cf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3279873
Reviewed-by: vmpstr <vmpstr@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941696}

--

wpt-commits: f6c2e6f71fd75548d56983fd2c9563605c6c76c1
wpt-pr: 31626
2021-11-26 20:19:01 +00:00
moz-wptsync-bot 59b679c368 Bug 1737066 [wpt PR 31345] - Update wpt metadata, a=testonly
wpt-pr: 31345
wpt-type: metadata
2021-11-26 20:19:01 +00:00
Stephen McGruer 4ef0d022ef Bug 1737066 [wpt PR 31345] - [SPC] Testdriver support for SPC, a=testonly
Automatic update from web-platform-tests
[SPC] Add testdriver support for the SPC set-mode command

--
[SPC] Add auth-time tests using the new webdriver hooks

--

wpt-commits: ae483100a12ee8e7110c95142f95b14f2d659f6a, ca7ae270b01710cc3f4201d03bdf837321649a1a
wpt-pr: 31345
2021-11-26 20:19:00 +00:00
Masayuki Nakano 99c39491ce Bug 1742333 - part 14: Make `EventListenerManager::AddEventListenerInternal()` handle legacy mouse events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131769
2021-11-26 20:00:43 +00:00
Masayuki Nakano e80491ae82 Bug 1742333 - part 13: Make `EventListenerManager::AddEventListenerInternal()` handle "overflow" and "underflow" events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131768
2021-11-26 20:00:42 +00:00
Masayuki Nakano d5a715a624 Bug 1742333 - part 12: Make `EventListenerManager::AddEventListenerInternal()` handle "beforeinput" event with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131767
2021-11-26 20:00:42 +00:00
Masayuki Nakano aa6aecff58 Bug 1742333 - part 11: Make `EventListenerManager::AddEventListenerInternal()` handle events for marquee with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131766
2021-11-26 20:00:41 +00:00
Masayuki Nakano 1c1cfe38f9 Bug 1742333 - part 10: Make `EventListenerManager::AddEventListenerInternal()` handle "select" event of form controls with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131765
2021-11-26 20:00:41 +00:00
Masayuki Nakano e5b931f6b2 Bug 1742333 - part 9: Make `EventListenerManager::AddEventListenerInternal()` handle "selectionchange" event with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131764
2021-11-26 20:00:41 +00:00
Masayuki Nakano 3d3137e31e Bug 1742333 - part 8: Make `EventListenerManager::AddEventListenerInternal()` handle composition events and "input" event with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131763
2021-11-26 20:00:40 +00:00
Masayuki Nakano fed58f1810 Bug 1742333 - part 7: Make `EventListenerManager::AddEventListenerInternal()` handle keyboard events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131762
2021-11-26 20:00:40 +00:00
Masayuki Nakano ab26ee0cb4 Bug 1742333 - part 6: Make `EventListenerManager::AddEventListenerInternal()` handle "mouseenter" and "mouveleave" events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131761
2021-11-26 20:00:39 +00:00
Masayuki Nakano 5ef4d2edcc Bug 1742333 - part 5: Make `EventListenerManager::AddEventListenerInternal()` handle touch events with the `switch` r=smaug
Oddly, `nsContentUtils` does not register touch events in desktop environments
which do have a touch screen into the map of `EventMessage` and `nsGkAtoms`.
However, `AddEventListenerInternal()` needs to cache whether there are some
touch event listeners since touch screen may be connected later.  Therefore,
this patch makes `AddEventListenerInternal()` adjusts `aEventMessage` only
when given event message is `eUnidentifiedEvent` and given `nsAtom` is one
of the touch events before the `switch` statement.  I guess that the dynamical
registration is for some handlers of touch events, but from the point of view
of `EventListenerManager`, there should be another way to check whether touch
events may be fired or not, and the mapping table should be same in any
environments.  However, it's out of scope of this cleaning up bug and
fortunately, we can skip the additional check with the `eUnidentifiedEvent`
check and `nsAtom::IsStatic()` check.

Differential Revision: https://phabricator.services.mozilla.com/D131760
2021-11-26 20:00:39 +00:00
Masayuki Nakano 24ffb9dd31 Bug 1742333 - part 4: Make `EventListenerManager::AddEventListenerInternal()` handle device enabled events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131759
2021-11-26 20:00:39 +00:00
Masayuki Nakano 13748dea04 Bug 1742333 - part 3: Make `EventListenerManager::AddEventListenerInternal()` handle gamepad events with the `switch` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131758
2021-11-26 20:00:38 +00:00
Masayuki Nakano 95ba509988 Bug 1742333 - part 2: Make `EventListenerManager::AddEventListenerInternal()` handle "pointerenter" and "pointerleave" events with the `switch` r=smaug
Current code firstly check whether the given event message is a pointer event
message or not, but it does not necessary for `switch` statement.  Thus, we
can make it simpler with the `switch` statement.

Differential Revision: https://phabricator.services.mozilla.com/D131757
2021-11-26 20:00:38 +00:00
Masayuki Nakano cc492e97bf Bug 1742333 - part 1: Make `EventListenerManager::AddEventListenerInternal()` use `switch` to consider event type r=smaug
In theory, `switch` statement is faster than `if` - `else if`s especially when
there are a lot of `else if`s.  Although it may be optimized by the compilers
in these days, but they may have same performance even in the worst case.
So if we can rewrite the big `if` - `else if` block in
`EventListenerManager::AddEventListenerInternal()` with a `switch` statement,
it may become faster and anyway looks much simpler.

A lot of them compares an `nsAtom` pointer and `nsGkAtoms`, and the others
compares `EventMessage`.  Fortunately, it treats only known events which
are registered both in `EventMessage` and `nsGkAtoms`.  Therefore, we can
use `switch` statement with `EventMessage`.

For detecting unexpected regressions, this and the following patches put
`NS_ASSERTION`s into the `default` block.  Unfortunately, we cannot output
dynamic values like the value of variables with `MOZ_ASSERT`, we need to
use `NS_ASSERTION` here.  See bug 779173.

Differential Revision: https://phabricator.services.mozilla.com/D131756
2021-11-26 20:00:37 +00:00
Nika Layzell b2dc7057a5 Bug 1743012 - Add missing `constexpr` qualifiers in `CheckedInt`, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D132173
2021-11-26 19:18:49 +00:00
Henrik Skupin ca6b1189ea Bug 1743117 - [wdspec] Remove multiple statuses entries for linux jobs from meta files. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D132253
2021-11-26 19:08:36 +00:00
Julian Seward 8c1a74ba13 Bug 1741392 - Remove redundant xor64 with all-ones input for wasm-via-Ion. r=lth,nbp.
Bug 1713092 adds a few MIR folding rules, including ones to remove xor32 with
all-ones inputs.  That unfortunately does not generalise to the 64-bit case
because MBitNot is hardwired to Int32, so there's no way to represent the
result.  This patch enables MBitNot to also take Int64, enables the relevant
folding rules, and adds LIR-level support for that on {x86,arm}{32,64}.

jit-test/tests/wasm/binop-x64-ion-folding.js, jit-test/tests/wasm/integer.js
* New test cases.

jit/MIR.h, jit/RangeAnalysis.cpp
* allow MBitNot to also handle Int64

jit/MIR.cpp
* MWasmBinaryBitwise::foldsTo: enable folding xor64 with an all-ones input

jit/LIROps.yaml, jit/Lowering.cpp
* new LIR node BitNotI64, and lowering to it.

jit/arm/Lowering-arm.h, jit/arm/Lowering-arm.cpp, jit/arm/CodeGenerator-arm.cpp
and equivalents for arm64, x64, x32
* new overload for lowerForALUInt64()
* new function CodeGenerator::visitBitNotI64()

Differential Revision: https://phabricator.services.mozilla.com/D131887
2021-11-26 18:41:12 +00:00
Olli Pettay 4c4aadca28 Bug 1723281, add a test for unknown scheme and post on blob uri, r=kershaw
Depends on D130201

Differential Revision: https://phabricator.services.mozilla.com/D130203
2021-11-26 17:53:57 +00:00
Ben Hearsum 5126363364 Bug 1742998: Set smart defaults when possible for required parameters to ./mach repackage msix. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D132159
2021-11-26 17:44:58 +00:00
Butkovits Atila 997b16c37a Backed out changeset 0b1c2e4169ab (bug 1739145) for causing failures at browser_download_spam_protection.js. CLOSED TREE 2021-11-26 19:10:38 +02:00
Andreea Pavel f8786231c4 Bug 1615164 - disable test_abrupt_completion.html on win10 2004 r=intermittent-reviewers,gbrown DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132246
2021-11-26 16:37:04 +00:00
Alexandre Poirot e3f02185b6 Bug 1709267 - [devtools] Add support for target switching in about:debugging. r=jdescottes
The challenges here are:
* xpcshell tests still don't support the watcher actor and server side targets. So we have to ensure still using client side target fetched via Descriptor.getTarget RDP request. (We still also need that for WebExtension)
* some tests weren't spawning the TargetCommand while querying TabDescriptor.getTarget. I tuned them to call TargetCommand.startListening so that we start instantiating server side targets, including the top level one retrieved via TabDescriptor.getTarget.

Otherwise, thanks to this patch a few check can now be moved from `if (isLocalTab)` to `if (isTabDescriptor)`.

Differential Revision: https://phabricator.services.mozilla.com/D130761
2021-11-26 16:36:33 +00:00
Alexandre Poirot 357e274350 Bug 1709267 - [devtools] Fix duplicated transports when detaching the top target. r=nchevobbe
We ended up having duplicated JSWindowActorTransport's when detaching the target.
This only reproduces in case of remote debugging, where we detach/destroy the top target
when closing the toolbox. And we later reuse the same DevToolsClient to spawn a new
WindowGlobalTargetActor, with a new Transport.
But as the old transport was still around, we ended up duplicating the packets.

In this patch, I'm also tuning WindowGlobalTargetActor.destroy to avoid crashing
if the target wasn't attached when we destroy it, and avoid trying to destroy
twice if destroy is reentrant.

Differential Revision: https://phabricator.services.mozilla.com/D131914
2021-11-26 16:36:33 +00:00
Alexandre Poirot b555d2142a Bug 1709267 - [devtools] Remove unused "target" query parameter from toolbox location. r=jdescottes
This wasn't used except for a test and wasn't working with server side targets.
Making this compatible with SST wasn't trivial, so I went for removing this.

Differential Revision: https://phabricator.services.mozilla.com/D130919
2021-11-26 16:36:32 +00:00
Micah Tigley 5840184c47 Bug 1739145 - Create the DownloadSpamProtection module when needed. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D132178
2021-11-26 16:35:11 +00:00
Butkovits Atila 0f42ad688d Bug 1481802 - disable test_form_submission.html on Mac_64_debug for frequent failures. r=intermittent-reviewers,gbrown DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132249
2021-11-26 16:19:01 +00:00
Tooru Fujisawa 7f1f6f7e40 Bug 1742871 - Move Change Array by copy methods into ClassSpec to support them in Xray. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D132208
2021-11-26 15:52:34 +00:00
Luca Greco 635e7a7358 Bug 1741600 - Fix ExpandedPrincipal and nsCSPContext leaks triggered by ApplyAddonContentScriptCSP. r=ckerschb,robwu
This patch is meant to be a proposed short run fix to prevent ApplyAddonContentScriptCSP
from leaking the ExpandedPrincipal and nsCSPContext instance because they keep a reference
to each other.
This patch prevent that leak by creating a clone of the ExpandedPrincipal and then use
that cloned instance in the call to nsCSPContext::SetRequestContextWithPrincipal.

Once Bug 1548468 will move the CSP off the ExpandedPrincipal class, cloning the expanded
principal to prevent that leak should not be necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D132144
2021-11-26 15:51:13 +00:00