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

744230 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 2485d8a670 Bug 1691194 - Add more logging for non-inlinenable functions in TrialInlining. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D104307
2021-02-09 13:10:19 +00:00
Emilio Cobos Álvarez d871818995 Bug 1691214 - Take focus from window.open etc even if we're already active but not in the active window. r=hsivonen
With multiple windows, a browsing context being active doesn't guarantee
being in the active window, so we explicitly check for that. We need to
introduce an special case for the initial document because the initial
document in the active window requesting focus breaks focusing the
urlbar on a new window.

Differential Revision: https://phabricator.services.mozilla.com/D104326
2021-02-09 13:03:32 +00:00
Andreea Pavel 1a9347343b Bug 1691629 - correct previous expectations set r=test-only CLOSED TREE DONTBUILD 2021-02-09 16:13:32 +02:00
Andreea Pavel 74d8a6339f Backed out changeset 29cd566d3c08 (bug 1666725) for build bustages at PNecko.ipdl on a CLOSED TREE 2021-02-09 15:11:47 +02:00
Andreea Pavel c546ab6198 Backed out changeset ebb61065ad47 (bug 1690747) for failing mochitests at test_focus_design_mode.html on a CLOSED TREE 2021-02-09 15:11:05 +02:00
Andreea Pavel 08d51f6fb0 Bug 1691629 - set test expectations to pass r=test-only 2021-02-09 15:10:28 +02:00
M. Sirringhaus 86e1612919 Bug 1666725 - Make gvfs e10s compatible r=valentin,necko-reviewers
Split channel into parent/child to be able to use dbus in the content sandbox

Differential Revision: https://phabricator.services.mozilla.com/D92206
2021-02-09 12:52:22 +00:00
Gerald Squelart f3afaa1ce8 Bug 1691504 - ProfileBufferCollector now provides the main profiler buffer's range start - r=canaltinova
ProfileBufferCollector::SamplePositionInBuffer() and BufferRangeStart() need to provide indices in the same main buffer, because they will be used to discard old data (at some previous `SamplePositionInBuffer`) once the `BufferRangeStart` indicates that it is not referenced by the profiler anymore.

Because the periodic sampler uses a local buffer (to avoid allocations and locks), we need to record the special location from the main profiler buffer in ProfileBufferCollector.

Differential Revision: https://phabricator.services.mozilla.com/D104497
2021-02-09 12:21:32 +00:00
Edgar Chen 486af881a2 Bug 1690747 - Should also check blur is allowed in BrowsingContext::Blur(); r=hsivonen
When binding delegates blur() to BrowsingContext::Blur, the remote side skips
the check given that there is no js on the stack, but we should not skip the
check. This only affects design-mode which allows the focus moving to the root
element.

Differential Revision: https://phabricator.services.mozilla.com/D104008
2021-02-09 12:18:15 +00:00
Gerald Squelart 3cfdbccd99 Bug 1691353 - Fixed non-MOZ_GECKO_PROFILER build around StackCaptureOptions - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D104500
2021-02-09 12:00:58 +00:00
moz-wptsync-bot 478933dd5d Bug 1691629 - [wpt-sync] Update web-platform-tests to 73750495de8e763f668f51c10c096dbf10f65d5f, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 73750495de8e763f668f51c10c096dbf10f65d5f
wpt-type: landing
2021-02-09 11:34:55 +00:00
Manuel Rego Casasnovas 52d915eb5a Bug 1688236 [wpt PR 27288] - [selectors] Move :focus-visible on <select> test to internal test, a=testonly
Automatic update from web-platform-tests
[selectors] Move :focus-visible on <select> test to internal test

Browsers don't agree on when :focus-visible should match or not
when a <select> element is clicked, and the spec leaves it open
to each browser to decide what to do (see
https://github.com/w3c/csswg-drafts/issues/5822).

So this patch removes the <select> element from
external/wpt/css/selectors/focus-visible-002.html
and puts it on an internal test:
wpt_internal/css/selectors/focus-visible-select-001.html

BUG=1148007

Change-Id: I6649ce6355aafc79b2fa3d258b2b69fa5a259ce7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2644906
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#851627}

--

wpt-commits: 73750495de8e763f668f51c10c096dbf10f65d5f
wpt-pr: 27288
2021-02-09 11:34:54 +00:00
Hiroshige Hayashizaki a8e0d4bd5f Bug 1691238 [wpt PR 27516] - [WPT] Add more thorough same-origin tests of worker top-level scripts, a=testonly
Automatic update from web-platform-tests
[WPT] Add more thorough same-origin tests of worker top-level scripts

Bug: 1175503
Change-Id: I8767fc727cf080ff34b113cbee9f3121469ca573
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2681147
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851584}

--

wpt-commits: bb798258daf83fe10a15f46b77aeb0d72a7b1a3f
wpt-pr: 27516
2021-02-09 11:34:54 +00:00
moz-wptsync-bot 96128980f0 Bug 1690686 [wpt PR 27469] - Update wpt metadata, a=testonly
wpt-pr: 27469
wpt-type: metadata
2021-02-09 11:34:53 +00:00
Lily Chen cb5a74ea4a Bug 1690686 [wpt PR 27469] - Don't send SameSite=Lax cookies on cross-site, non-top-level requests, a=testonly
Automatic update from web-platform-tests
Don't send SameSite=Lax cookies on cross-site, non-top-level requests

This fixes a bug which was sending SameSite=Lax cookies on cross-site,
*non*-top-level requests when the site-for-cookies was same-site with
the request URL. If the request is not strictly same-site, we should
only be sending Lax cookies when the site-for-cookies is same-site with
the request URL, *and* the request is a top-level navigation. Similarly
for accepting cookies set on responses.

This implements the fix behind a flag (default enabled) to allow
reverting to the old behavior if there is too much site breakage as a
result of the fix.

Bug: 1166211
Change-Id: I2cebf8011010903cd016d7d7c1a32bf84aa325ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2653663
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Maksim Orlovich <morlovich@chromium.org>
Commit-Queue: Lily Chen <chlily@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851323}

--

wpt-commits: 4cd02119fd232ecc2a57d462d509c7ca299a3591
wpt-pr: 27469
2021-02-09 11:34:53 +00:00
moz-wptsync-bot 7838ec2ace Bug 1691089 [wpt PR 27511] - Update wpt metadata, a=testonly
wpt-pr: 27511
wpt-type: metadata
2021-02-09 11:34:52 +00:00
Mike Taylor 9bfdd49569 Bug 1691089 [wpt PR 27511] - Rewrite and add to wpt/cookies/http-state/ordering-tests.html, a=testonly
Automatic update from web-platform-tests
Rewrite and add to wpt/cookies/http-state/ordering-tests.html

Here's a mapping from the legacy http-state/ordering-tests.html to its
new location which will have a cookie with some variation of test=N in
it:

ordering0001 => test=1

There's also a couple of few new tests added here.

This CL also removes the remaining unused http-state resource files and
moves the domain tests up a directory.

Bug: 1171495
Change-Id: Ifc567ab42fbd13858975019a7f0e4b0e2571df76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676913
Reviewed-by: Lily Chen <chlily@chromium.org>
Commit-Queue: Mike Taylor <miketaylr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851320}

--

wpt-commits: d85c529125aea58eee34416b4ecc7566991658dc
wpt-pr: 27511
2021-02-09 11:34:52 +00:00
Joey Arhar c7a9ec3d40 Bug 1690927 [wpt PR 27496] - Prevent focused element from moving documents, a=testonly
Automatic update from web-platform-tests
Prevent focused element from moving documents

Without this patch, it would be possible for Document::FocusedElement to
return an element which isn't in the same document, which is very
problematic.

Fixed: 1172828
Change-Id: I1a9492b27e16067cda70e0a0c9cf94bb241a4c20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2674404
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851294}

--

wpt-commits: 201e3d154bea8cadab315859edda09ef77e03dc6
wpt-pr: 27496
2021-02-09 11:34:51 +00:00
Ian Clelland 7efb249f4e Bug 1691114 [wpt PR 27514] - Move NEL tests to new reporting endpoint, a=testonly
Automatic update from web-platform-tests
Move NEL tests to new reporting endpoint

Change-Id: I1cf3b0a8bea265b394894e8ea6272a63651290d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2675646
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Auto-Submit: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851255}

--

wpt-commits: a42cfd7d541989e7d6cc20ec1699baf1ef59e5cb
wpt-pr: 27514
2021-02-09 11:34:51 +00:00
Xiaocheng Hu 52acdf4df9 Bug 1690913 [wpt PR 27495] - Extend supported range of 'cjk-heavenly-stem' and 'cjk-earthly-branch', a=testonly
Automatic update from web-platform-tests
Extend supported range of 'cjk-heavenly-stem' and 'cjk-earthly-branch'

The two counter styles are officially specified as 'fixed', supporting
only a fixed range. However, the legacy implementation has been
supporting them as alphabetic counter styles. So this patch extends
their ranges to match the existing behavior.

This patch also enables WPT tests in css/css-counter-styles as a
verification. The ref files are added using the same method as
crrev.com/c/2674491

Bug: 687225
Change-Id: Ifc4a6b5240c0f718ef4746bfe9501258adb85112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676426
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851233}

--

wpt-commits: 2f9d75ef9570f1b55842aa15820f855468c69d77
wpt-pr: 27495
2021-02-09 11:34:51 +00:00
moz-wptsync-bot 441699bf16 Bug 1690908 [wpt PR 27494] - Update wpt metadata, a=testonly
wpt-pr: 27494
wpt-type: metadata
2021-02-09 11:34:50 +00:00
Xiaocheng Hu db34049206 Bug 1690908 [wpt PR 27494] - Add ref files to WPT tests in css/css-counter-styles (p3), a=testonly
Automatic update from web-platform-tests
Add ref files to WPT tests in css/css-counter-styles (p3)

This patch adds ref files mechaninally using the same method as
crrev.com/c/2674491.

Note: for these counter styles, our supported ranges are larger than
the officially specified ranges. Therefore, there are some expected
failures, which are added to NeverFixTests.

Bug: 687225
Change-Id: I194a28ae9d72a0498a815ad1b0c141a52b3cc7bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676832
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851230}

--

wpt-commits: 75beb1c65bc397272288d2f7ace1efcf9e361b04
wpt-pr: 27494
2021-02-09 11:34:50 +00:00
moz-wptsync-bot 7aef914b91 Bug 1690899 [wpt PR 27493] - Update wpt metadata, a=testonly
wpt-pr: 27493
wpt-type: metadata
2021-02-09 11:34:49 +00:00
Xiaocheng Hu 295732b05a Bug 1690899 [wpt PR 27493] - Fix encoding of the suffix of CJK counter styles in UA style sheet, a=testonly
Automatic update from web-platform-tests
Fix encoding of the suffix of CJK counter styles in UA style sheet

Many CJK counter styles use "、" (U+3001) as the suffix. This patch
properly escapes it in the UA style sheet to make the encoding correct.

As verification, this patch also adds ref files to the related WPT
tests. The new ref files are mechanically generated using the same
method as crrev.com/c/2674491

Bug: 687225
Change-Id: I4f29f17c290e21906601d8366a6a7db7d67b02a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676274
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851227}

--

wpt-commits: bd0b89fda830c89ffcce3313e384d7f282e2ae9b
wpt-pr: 27493
2021-02-09 11:34:49 +00:00
Philip Jägenstedt e14d4a5ddc Bug 1691041 [wpt PR 27505] - [css-sizing] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[css-sizing] move tests from vendor-imports into the main suite (#27505)

These tests all pass in Chrome and Firefox on wpt.fyi:
https://wpt.fyi/results/css/vendor-imports/mozilla/mozilla-central-reftests/sizing?run_id=5763984030433280&run_id=5723142917980160&run_id=5663034011811840&run_id=5651434144006144&run_id=5135050226008064&run_id=5683699381174272

There are 4 tests failing tests in Safari, which look like they could be
real interop issues. The correctness of the tests has not be evaluated
anew, however, as they've already been reviewed in Gecko.

Part of https://github.com/web-platform-tests/wpt/issues/8615.
--

wpt-commits: 29a281dd927b7c45d824e78a979e3997e58591c9
wpt-pr: 27505
2021-02-09 11:34:48 +00:00
moz-wptsync-bot 6307790934 Bug 1691036 [wpt PR 27504] - Update wpt metadata, a=testonly
wpt-pr: 27504
wpt-type: metadata
2021-02-09 11:34:48 +00:00
Philip Jägenstedt 95971d1ee8 Bug 1691036 [wpt PR 27504] - [css-contain] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[css-contain] move tests from vendor-imports into the main suite (#27504)

These tests all pass on some browser on wpt.fyi:
https://wpt.fyi/results/css/vendor-imports/mozilla/mozilla-central-reftests/contain?run_id=5763984030433280&run_id=5723142917980160&run_id=5663034011811840&run_id=5651434144006144&run_id=5135050226008064&run_id=5683699381174272

All but two pass in both Chrome and Firefox, so their correctness was
not evaluated. They've already been reviewed in Gecko, too.

Part of https://github.com/web-platform-tests/wpt/issues/8615.
--

wpt-commits: acdfee3d7a8cd28890b093dd5772891439bc572f
wpt-pr: 27504
2021-02-09 11:34:47 +00:00
Luca Casonato 4c9152e251 Bug 1689406 [wpt PR 27368] - chore: move FileAPI/blob to .js files, a=testonly
Automatic update from web-platform-tests
chore: move FileAPI/blob to .js files (#27368)

* chore: move FileAPI/blob to .js files

* define test error
--

wpt-commits: 3b279420d40afea32506e823f9ac005448f4f3d8
wpt-pr: 27368
2021-02-09 11:34:47 +00:00
Stefano Sanfilippo 864ca8dffd Bug 1690477 [wpt PR 27455] - [Trusted Types] Add toJSON to the trusted type interfaces., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Add toJSON to the trusted type interfaces.

Addresses https://github.com/w3c/webappsec-trusted-types/issues/306

Change-Id: I595fd60ba68bfe0b5f0122873616e525943f51a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2665936
Commit-Queue: Stefano Sanfilippo <ssanfilippo@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851153}

--

wpt-commits: 4e70b1a4cb822274621d4ce9620bd396e1cc93f5
wpt-pr: 27455
2021-02-09 11:34:46 +00:00
Charlie Hu a667408f33 Bug 1690885 [wpt PR 27491] - [Permissions Policy] Add WPT test on opaque origin matching, a=testonly
Automatic update from web-platform-tests
[Permissions Policy] Add WPT test on opaque origin matching

This CL adds a WPT test to verify permissions policy behaviour on
sandboxed iframes.

Bug: 834302
Change-Id: I92807250f51141f44f2029119a1a0ae8e7cd9a12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676325
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#851117}

--

wpt-commits: edbbd20f6ece3cc0a6fb3b9526896927cbe91b73
wpt-pr: 27491
2021-02-09 11:34:46 +00:00
Stephen McGruer fd6bccdab2 Bug 1690784 [wpt PR 27479] - [python3] Remove more `six` usages in tools/, a=testonly
Automatic update from web-platform-tests
[python3] Remove most uses of six in tools/manifest/

The exception is a single usage of ensure_text, which is not trivially
replaceable.

--
[python3] Remove usage of six from tools/webdriver/

--
[python3] Cleanup a few misc uses of six in tools/

--

wpt-commits: 57b63e53344e52ed44dbad5e315af93d66391c44, 57d726a4f79d592688c7c54216dc82fbca739ba3, c16a8c87cbb0d7cd82607bf21bcc532add3c8c08
wpt-pr: 27479
2021-02-09 11:34:46 +00:00
Philip Jägenstedt 4b330ae978 Bug 1690883 [wpt PR 27490] - [css-color] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[css-color] move tests from vendor-imports into the main suite

These tests mostly pass already on wpt.fyi:
https://wpt.fyi/results/css/vendor-imports/mozilla/mozilla-central-reftests/color4?run_id=5763984030433280&run_id=5723142917980160&run_id=5663034011811840&run_id=5651434144006144&run_id=5135050226008064&run_id=5683699381174272

The two WebKit failures appear to be due to not supporting comments
inside the hsla() / hsl() functions in some scenarios.

Part of https://github.com/web-platform-tests/wpt/issues/8615.

--

wpt-commits: 295bdd96d71fbc067152c411c93f1337680549ad
wpt-pr: 27490
2021-02-09 11:34:45 +00:00
moz-wptsync-bot 6e018cb401 Bug 1690878 [wpt PR 27489] - Update wpt metadata, a=testonly
wpt-pr: 27489
wpt-type: metadata
2021-02-09 11:34:45 +00:00
Philip Jägenstedt 9f1559089a Bug 1690878 [wpt PR 27489] - [css-backgrounds] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[css-backgrounds] move tests from vendor-imports into the main suite

These tests all pass on at least some products on wpt.fyi:
https://wpt.fyi/results/css/vendor-imports/mozilla/mozilla-central-reftests/background?run_id=5763984030433280&run_id=5723142917980160&run_id=5663034011811840&run_id=5651434144006144&run_id=5135050226008064&run_id=5683699381174272

Whether the tests match spec requirements was not evaluated. That many
pass on some browsers and fail on others means they are exposing some
interoperability issue, which is valuable even if the pass condition
turns out to be wrong.

support/border.png already exists and was exactly the same file, so the
vendor-imports copy is deleted.

Part of https://github.com/web-platform-tests/wpt/issues/8615.

--

wpt-commits: b10b8a061d9ed98e607251e9abb4759fcd50d7aa
wpt-pr: 27489
2021-02-09 11:34:44 +00:00
Philip Jägenstedt 1844fa8e36 Bug 1690871 [wpt PR 27487] - [css-contain] rename files in vendor-imports that also exist in the main suite, a=testonly
Automatic update from web-platform-tests
[css-contain] rename files in vendor-imports that also exist in the main suite

A number of filenames are used in both css/css-contain/ and
css/vendor-imports/mozilla/mozilla-central-reftests/contain/ but aren't
the same tests, having different authors and structure.

In order to make a merge of the directories easier, first rename as few
files as possible in vendor-imports to avoid all name clashes.

Part of https://github.com/web-platform-tests/wpt/issues/8615.

--

wpt-commits: b6d3b75f7d681a623aeb46213590d30a170460db
wpt-pr: 27487
2021-02-09 11:34:44 +00:00
Philip Jägenstedt 9346e36342 Bug 1690874 [wpt PR 27488] - [css-contain] Fix broken spec URLs in vendor-imports, a=testonly
Automatic update from web-platform-tests
[css-contain] Fix broken spec URLs in vendor-imports

These were 404. The new URLs (including the anchors) all exist.

--

wpt-commits: 9a4dd43c5219234455502bed628bc43acba59ab8
wpt-pr: 27488
2021-02-09 11:34:43 +00:00
Philip Jägenstedt 1091372374 Bug 1690867 [wpt PR 27485] - Remove all reftest.list files in css/vendor-imports/, a=testonly
Automatic update from web-platform-tests
Remove all reftest.list files in css/vendor-imports/

These files are apparently not needed, and updating/removing them
individually when moving tests out of vendor-imports is a nuisance.

--

wpt-commits: 438efcc6f379ccd8c78ea67f78393ba0776d8227
wpt-pr: 27485
2021-02-09 11:34:43 +00:00
moz-wptsync-bot 8ee9cceb90 Bug 1690831 [wpt PR 27483] - Update wpt metadata, a=testonly
wpt-pr: 27483
wpt-type: metadata
2021-02-09 11:34:42 +00:00
Yutaka Hirano 0d2c2d0d5c Bug 1690831 [wpt PR 27483] - Define blink::mojom::KeepAliveHandleFactory, a=testonly
Automatic update from web-platform-tests
Define blink::mojom::KeepAliveHandleFactory

We've used blink::mojom::LocalFrameHost to issue KeepAliveHandles for
requests with keepalive set. That doesn't work for keepalive requests
initiated in unload handlers in nested frames, because the
RenderFrameHost object is destructed without waiting for the end of
unload handlers.

This CL defines a separate interface, KeepAliveHandleFactory. The
renderer side gets a mojo::Remote for KeepAliveHandleFactory long before
the frame is destructed, in order to avoid the above problem.

Bug: 1161196
Change-Id: I92ef0073548d8755e42bc69f957e518a73d9e52a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2675428
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850990}

--

wpt-commits: 8b7b27c5024e94bbde3cf980f60df94e5b10887c
wpt-pr: 27483
2021-02-09 11:34:42 +00:00
Tetsuharu Ohzeki 2e342e544d Bug 1687719 [wpt PR 27256] - Update `SlotAssignmentMode` to `name` from `auto` to match the latest proposal, a=testonly
Automatic update from web-platform-tests
Update `SlotAssignmentMode` to `name` from `auto` to match the latest proposal (#27256)

[By the latest proposal](https://github.com/whatwg/dom/pull/860),
`SlotAssignmentMode` value is changed to `name` from `auto`.

This change follows it.
--

wpt-commits: 875f4c73ec1122cd0ea05580f6b56fda0ef71cc7
wpt-pr: 27256
2021-02-09 11:34:41 +00:00
moz-wptsync-bot aee841cc1a Bug 1690306 [wpt PR 27444] - Update wpt metadata, a=testonly
wpt-pr: 27444
wpt-type: metadata
2021-02-09 11:34:41 +00:00
David Benjamin 6d38d75bf2 Bug 1690306 [wpt PR 27444] - Resolve Service Worker redirects based on the response, a=testonly
Automatic update from web-platform-tests
Resolve Service Worker redirects based on the response

We currently resolve Service-Worker-forwarded location headers using the
request. While this matches Firefox, this does not match the spec or
Safari's behavior. Instead, the spec says to resolve the location header
based on the response's URL.

This comes up if the FetchEvent was for /, but the Service Worker
responded with ev.respondWith(fetch("/foo/", {redirect: "manual"})). In
that case, a Location: bar.html header would result in /bar.html by our
version and /foo/bar.html by the spec's version.

Align with the spec. This makes the redirect go where it would have gone
under {redirect: "follow"}. This has two platform-visible behavior
changes:

- First, cases like the above will result in a different URL.

- Second, script-constructed Response objects do not have a URL list. If
  the URLs are absolute, this works fine. If they are relative, those
  fetches will now result in a network error. Note Response.redirect()
  internally constructs absolute URLs, so those continue to work. This
  only affects ev.respondWith(new Response(... location: "bar.html"}})).

Both of these changes match Safari.

Note that, as of writing, the Fetch spec describes this behavior in
terms of a location URL property on the response object. This would
require computing the location URL earlier and preserving it across many
layers, including persisting in CacheStorage. See
https://chromium-review.googlesource.com/c/chromium/src/+/2648648.

Instead, this CL uses the equivalent formulation in
https://github.com/whatwg/fetch/pull/1149. See also discussion in
https://github.com/whatwg/fetch/issues/1146.

Bug: 1170379
Change-Id: Ibb6b12566244fd259029e67787dd7f08edeece9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2665871
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850874}

--

wpt-commits: 020c59f0ae3ce0a5649c8e811faca2101d947d63
wpt-pr: 27444
2021-02-09 11:34:41 +00:00
moz-wptsync-bot f10a6a6731 Bug 1686537 [wpt PR 27146] - Update wpt metadata, a=testonly
wpt-pr: 27146
wpt-type: metadata
2021-02-09 11:34:40 +00:00
Austin Sullivan 0f08dcafe5 Bug 1686537 [wpt PR 27146] - [FSA] Allow seeking past the end of a file, a=testonly
Automatic update from web-platform-tests
[FSA] Allow seeking past the end of a file

Currently, we reject all attempts to write past the end of a file. This
change makes the API more consistent with the behavior of POSIX.

If writing at an offset past the end of a file, the null bytes between
the old end of the file and the offset will count towards the file's
quota.

Adds Quota tests to the SandboxFSW.

Bug: 1153385
Change-Id: Iec54acbccecb728f9375931825525ba2fbafd1ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593810
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850838}

--

wpt-commits: 9376be061ac2dabc2f60d54a525d2ca81a60589a
wpt-pr: 27146
2021-02-09 11:34:40 +00:00
Ian Kilpatrick 24e3af39b8 Bug 1690707 [wpt PR 27470] - [GridNG] Change IsLayoutGrid to IsLayoutGridIncludingNG, a=testonly
Automatic update from web-platform-tests
[GridNG] Change IsLayoutGrid to IsLayoutGridIncludingNG

As above. This fixes a bunch of small issues. Some of the branches
are relatively difficult to reach due to layout ng being so prevalent,
but commented on the ones which clearly have associated tests.

Added a bunch of TODOs for behaviour which needs to be implemented.
Specifically:
 - devtools information.
 - computed-style grid-template-*, etc.
 - abspos invalidation.

Bug: 1045599
Change-Id: I0c4a7aae3381e49bf2e7e3bc80247c8c8dccc73f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2674359
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850751}

--

wpt-commits: 9378cebe0d791f016d1b0ecca105e10941d7a34f
wpt-pr: 27470
2021-02-09 11:34:39 +00:00
Xianzhu Wang c5735d259b Bug 1690660 [wpt PR 27465] - Add external/wpt/layout-instability/expand-above-viewport.html, a=testonly
Automatic update from web-platform-tests
Add external/wpt/layout-instability/expand-above-viewport.html

This is the common case for why we report layout shift for
viewport-crossing shift.

Change-Id: I17c3158ef18b6f997022d8f758b6aca409e76999
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2672467
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850735}

--

wpt-commits: ca30c532c22829609b81ba2068eaf4dd8d04e309
wpt-pr: 27465
2021-02-09 11:34:39 +00:00
moz-wptsync-bot 62754df0b2 Bug 1690084 [wpt PR 27431] - Update wpt metadata, a=testonly
wpt-pr: 27431
wpt-type: metadata
2021-02-09 11:34:38 +00:00
Ian Clelland 88105d8897 Bug 1690084 [wpt PR 27431] - Move CSP tests to new reporting endpoint, a=testonly
Automatic update from web-platform-tests
Move CSP tests to new reporting endpoint

Change-Id: If7821c8fb2a80a3899d53f49cb31cecbf2966632
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2658381
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850701}

--

wpt-commits: 0aed9ee0f5a91f048dc70c16875d10eec4b77082
wpt-pr: 27431
2021-02-09 11:34:37 +00:00
Aaron Krajeski 102ce1d347 Bug 1690033 [wpt PR 27425] - Add 3d scale method to CanvasRenderingContext2d, a=testonly
Automatic update from web-platform-tests
Add 3d scale method to CanvasRenderingContext2d

Scale with 3 arguments as described here.
https://github.com/fserb/canvas2D/blob/master/spec/perspective-transforms.md

Bug: 1140535
Change-Id: I67f65c0f485adc0b827d966da4f961ab12c11163
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2659378
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Reviewed-by: Yi Xu <yiyix@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850659}

--

wpt-commits: a20dfa5a5462858652066873a8eef69a143b49cd
wpt-pr: 27425
2021-02-09 11:34:37 +00:00
moz-wptsync-bot ccf9a7be52 Bug 1690711 [wpt PR 27471] - Update wpt metadata, a=testonly
wpt-pr: 27471
wpt-type: metadata
2021-02-09 11:34:36 +00:00