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

670114 Коммитов

Автор SHA1 Сообщение Дата
Philip Jägenstedt b8d07b8665 Bug 1578580 [wpt PR 18819] - Fix the `test_tests_affected_null` test, a=testonly
Automatic update from web-platform-tests
Fix the `test_tests_affected_null` test

As the comment says, this "will fail if the file we assert is
renamed", and that's what happened:
https://github.com/web-platform-tests/wpt/pull/18688
https://github.com/web-platform-tests/wpt/pull/18743

Also change the commit to one which came after these changes, not
because it makes a difference to the outcome but for anyone inspecting
the commit to see the same files.

--

wpt-commits: 253dcf4bc4a5d8bec265a4aa719a22f737777819
wpt-pr: 18819
2019-09-09 11:54:43 +01:00
moz-wptsync-bot 8659c12ab5 Bug 1578620 [wpt PR 18822] - Update wpt metadata, a=testonly
wpt-pr: 18822
wpt-type: metadata
2019-09-09 11:54:42 +01:00
fantasai 22bca3dbd2 Bug 1578620 [wpt PR 18822] - [css-writing-modes] Fix incorrect tests: misapplied selectors, parallel flows in orthogonal flow tests, a=testonly
Automatic update from web-platform-tests
[css-writing-modes] Fix incorrect tests: misapplied selectors, non-orthogonal flows (#18822)

--

wpt-commits: 5edb03a611e9734cefe037718b0dd00432f0d5a4
wpt-pr: 18822
2019-09-09 11:54:42 +01:00
moz-wptsync-bot adacc97e5c Bug 1578527 [wpt PR 18812] - Update wpt metadata, a=testonly
wpt-pr: 18812
wpt-type: metadata
2019-09-09 11:54:41 +01:00
Hiroshige Hayashizaki 81690097ec Bug 1578527 [wpt PR 18812] - [WPT/common/security-features] Support nested source contexts, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Support nested source contexts

To enable `spec.src.json` to specify (possibly nested) source contexts,
this CL adds `source_context_list_schema` that represents
source contexts from where subresource requests are sent,
and how policies are delivered (by source contexts or subresource requests).
This CL adds `source_context_list` field to each `test_expansion` entry,
of which value is the key of `source_context_list_schema` to be used.

This CL adds `source_context_schema` and `subresource_schema`
that represent supported delivery types and subresources
for each source context or subresource type. These are used:
- To filter out test files for unsupported combinations of delivery types,
  source contexts and subresources.
  A part of the filtering was removed in
  https://chromium-review.googlesource.com/c/chromium/src/+/1717535
  and this CL re-adds it (in a different form of implementation).
- To determine what delivery types should be used for `anotherPolicy`
  placeholder.

After this CL, the generate.py generates `source_context_list` and
`subresource_policy_deliveries` fields that are passed directly
without coversion.
Specifically,
- The conversion from `classic-data-worker-fetch` to
  `classic-data-worker` + `fetch-request` in mixed-content-test-case.js
  is removed.
- <iframe srcdoc>-related tests for `img-tag` referrer-policy tests
  are split into separate tests, and related code in
  referrer-policy-test-case.sub.js is removed.
  Instead, to support tests inside <iframe srcdoc>, this CL adds
  `referrerSource` calculation that can support <iframe srcdoc>s.

This CL also changes the structure of generated file names.
Now all files are generated under a dedicated directory `gen/`.

This CL creates `test-case.sub.js` instead of modifying
`referrer-policy-test-case.sub.js` etc., because:
  After this CL, I'll commit new generated test HTML files,
  incrementally in order to monitor potential regressions,
  Because thousands of files are modified, split, and renamed.
  During the incremental commits, `test-case.sub.js` is used
  by new generated tests while
  `referrer-policy-test-case.sub.js` etc. are still used by
  old tests.
  After all commits are done, `referrer-policy-test-case.sub.js`
  etc. will be removed.

This CL renames subresource names, to make the names of subresources,
source contexts and source context lists consistent.

`test-case.sub.js` reflects renaming of JSON keys and values done
in previous commits.
- opt_in_method -> delivery_type/value
  https://chromium-review.googlesource.com/c/chromium/src/+/1717107
- delivery_method -> delivery_type
   https://chromium-review.googlesource.com/c/chromium/src/+/1716109
- referrer_policy -> delivery_value
  https://chromium-review.googlesource.com/c/chromium/src/+/1717592
- source_protocol -> source_scheme
   https://chromium-review.googlesource.com/c/chromium/src/+/1717115
   https://chromium-review.googlesource.com/c/chromium/src/+/1718991
- target_protocol + origin -> origin
  https://chromium-review.googlesource.com/c/chromium/src/+/1717470
- Use shorter values for origin and redirection
  https://chromium-review.googlesource.com/c/chromium/src/+/1717475
- referrer_url -> expectation
  https://chromium-review.googlesource.com/c/chromium/src/+/1717319
- source context names
  https://chromium-review.googlesource.com/c/chromium/src/+/1777110

Bug: 906850
Change-Id: Ia6695081e5a93355c29fb1bdb7e89ba6b673261f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1586548
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692920}

--

wpt-commits: 03267447fc0f5a76c8ab2e22b7549798ca7419d8
wpt-pr: 18812
2019-09-09 11:54:41 +01:00
moz-wptsync-bot 2c2559c8b0 Bug 1569133 [wpt PR 17929] - Update wpt metadata, a=testonly
wpt-pr: 17929
wpt-type: metadata
2019-09-09 11:54:40 +01:00
TAMURA, Kent f2fc7fe66c Bug 1569133 [wpt PR 17929] - html: Update tests for an autofocus algorithm update, a=testonly
Automatic update from web-platform-tests
html: Update tests for an autofocus algorithm update (#17929)

https://github.com/whatwg/html/pull/4763
--

wpt-commits: 08e6411a9cb36e4e7987d24ddb31e1d62690e1cb
wpt-pr: 17929
2019-09-09 11:54:40 +01:00
moz-wptsync-bot c9f1b04992 Bug 1578472 [wpt PR 18802] - Update wpt metadata, a=testonly
wpt-pr: 18802
wpt-type: metadata
2019-09-09 11:54:39 +01:00
Lan Wei 228c990454 Bug 1578472 [wpt PR 18802] - Use testdriver Action API in WPT coalesced pointerevent tests, a=testonly
Automatic update from web-platform-tests
Use testdriver Action API in WPT coalesced pointerevent tests

In order to run the web-platform-tests automatically, we will use
testdriver Action API in all the wpt to simulate inputs. Here we are
changing a coalesced pointerevent input tests which sends more than one
mouse events in one frame and coalesces some of them together.

Bug: 606367
Change-Id: I4f094d01bd0b5ff55dd9df1d97a9ac4a78e41ffd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775185
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692783}

--

wpt-commits: adab23aed9f6f1d112a86a51d5aee6132fe813da
wpt-pr: 18802
2019-09-09 11:54:39 +01:00
Lan Wei 9e017e54f4 Bug 1577543 [wpt PR 18753] - Use promise in wpt tests to end the tests to avoid memory leak - Part 2, a=testonly
Automatic update from web-platform-tests
Use promise in wpt tests to end the tests to avoid memory leak - Part 2

When we add default tick duration of two-frame time, we see some tests
memory leak which may end the tests when the page is still active, so
I add promise to each tests, once the actions are all finished, we will
call the test end in the promise callback.

Bug: 606367
Change-Id: Ief54ab266219cbda861fa230a4083c9f77b793b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775738
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692701}

--

wpt-commits: 7199ea486be4ad56c3253b1a5700adc3caa33b27
wpt-pr: 18753
2019-09-09 11:54:38 +01:00
Lan Wei c804988ec0 Bug 1577379 [wpt PR 18732] - Use promise in more wpt pointer event tests to end the tests, a=testonly
Automatic update from web-platform-tests
Use promise in more wpt pointer event tests to end the tests

Instead of adding a variable to check if the test should be finished,
we can create a promise object and end the test at its last callback.
This changes the rest of pointer event wpt tests.

Bug: 606367
Change-Id: I8cb2c9c074bc376d6d628c775f050184f2af9f8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772687
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692744}

--

wpt-commits: bac3ea5db517f14f8a70ba0fc404ac831d6d40d2
wpt-pr: 18732
2019-09-09 11:54:38 +01:00
Koji Ishii 9b652f79d4 Bug 1578451 [wpt PR 18801] - [LayoutNG] Fix NGLineBreaker::ShouldHangTraillingSpaces, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix NGLineBreaker::ShouldHangTraillingSpaces

This patch fixes |NGLineBreaker::ShouldHangTraillingSpaces|
to check the style of the given item, rather than the
|auto_wrap_| value which is from the style of the item
currently being handled.

Using the incorrect style has caused an infinite loop under
a specific pattern.

Bug: 988832
Change-Id: I907116dc239073f207c7c607953c98f722071150
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1782214
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692727}

--

wpt-commits: 46e85380444eacc080681e66b629114bd3292d5b
wpt-pr: 18801
2019-09-09 11:54:37 +01:00
jugglinmike e59eca9e2f Bug 1573948 [wpt PR 18434] - [docs] Document structure of `META.yml` files, a=testonly
Automatic update from web-platform-tests
[docs] Document structure of `META.yml` files (#18434)

--

wpt-commits: e118216e534b865413a06a48aade6a264d2f4d69
wpt-pr: 18434
2019-09-09 11:54:37 +01:00
moz-wptsync-bot 69d02eac08 Bug 1575255 [wpt PR 18564] - Update wpt metadata, a=testonly
wpt-pr: 18564
wpt-type: metadata
2019-09-09 11:54:36 +01:00
Mike West 734064fe54 Bug 1575255 [wpt PR 18564] - Temporarily send `Sec-Fetch-*` headers via non-secure transport., a=testonly
Automatic update from web-platform-tests
Temporarily send `Sec-Fetch-*` headers via non-secure transport.

After [1], we're stripping `Sec-Fetch-*` headers from non-secure
transport. This is lovely! Except insofar as it also strips the headers
from secure redirect targets. Which is a problem, as it gives attackers
the option of laundering their requests through HTTP to strip the
headers.

This patch removes the secure transport restriction while we figure out
a cleaner way of removing the headers on a per-hop basis.

[1]: https://chromium-review.googlesource.com/c/chromium/src/+/1647354

Bug: 995745, 971938, 964053
Change-Id: Icec4e685902b7be2983bb81b7289ac9b45467782
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762079
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Eric Lawrence [MSFT] <ericlaw@microsoft.com>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689428}

--

wpt-commits: b4c94c8375815a279e00193abad2a499e105b519
wpt-pr: 18564
2019-09-09 11:54:36 +01:00
Philip Jägenstedt a4f3d82cab Bug 1574393 [wpt PR 18485] - Load Ahem as web font in vars-font-shorthand-001.html, a=testonly
Automatic update from web-platform-tests
Load Ahem as web font in vars-font-shorthand-001.html (#18485)

--

wpt-commits: 8f45c16c164e8b8f6aaaae58d85fa3ba628c88d2
wpt-pr: 18485
2019-09-09 11:54:35 +01:00
moz-wptsync-bot 1a35e9fc1b Bug 1573325 [wpt PR 18396] - Update wpt metadata, a=testonly
wpt-pr: 18396
wpt-type: metadata
2019-09-09 11:54:35 +01:00
Joshua Bell 52fc0695c3 Bug 1573325 [wpt PR 18396] - Indexed DB: Fix compound index keys vs. autoincrement stores, a=testonly
Automatic update from web-platform-tests
Indexed DB: Fix compound index keys vs. autoincrement stores

Stores with (1) a keyPath (a.k.a. inline keys) and (2) autoIncrement
(a.k.a. a key generator) have primary keys generated by the browser
and inserted into objects lazily, since the renderer doesn't know what
the primary keys will be when the object is serialized.

Indexes might have a keyPath that references the same spot in the
object. This is handled by checking if the keypaths match. If so,
the browser synthesizes the index key (same as the primary key). But
Chrome was not handling the case where the index had a compound
key - a keypath that's an array, plucking multiple values out of
the object. An object with unresolved keypaths would normally just
not be indexed, per spec. But since the primary keys should be injected
before the indexing occurs, these should be indexed.

Fix this by sending the index keys from the renderer to the browser
as an array with "holes" that need to be filled in.

This is covered by an existing Web Platform Test, which we now pass.

Bug: 701972
Change-Id: I14940b23cfcbb7f8b673143b402f574220184fd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728058
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Chase Phillips <cmp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692313}

--
Mark the test as slow
--

wpt-commits: 980ea8f8e8e2df5ce1694620e5858380c30e02ed, ed6c6286a0273e9ee09406ccffb9d70e123273b4
wpt-pr: 18396
2019-09-09 11:54:34 +01:00
Hiroshige Hayashizaki 4a366774ec Bug 1576736 [wpt PR 18683] - [WPT/referrer-policy] Call getRequestURLs() for each subtest, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Call getRequestURLs() for each subtest

Previously, getRequestURLs(), PolicyDelivery/Subresouce
object creation etc. were done once per test HTML file and
reused among multiple subtests.

This CL introduces invokeScenario() that does these things and
calls invokeScenario() for each subtest, and thus
calls getRequestURLs() for each subtest.

This removes hacky modifications to `subresource.url`
in 4K-referrer-length-related subtests to avoid cache hit.
Also this makes subresource URLs unique for
srcdoc-related subtests (previously the same image URL
was used).

Bug: 906850
Change-Id: I894a902338a90526678b70d01857103f46984189
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1723013
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690288}

--

wpt-commits: bda02313aa4ba9975b3efd80acf9cef094dc52c8
wpt-pr: 18683
2019-09-09 11:54:34 +01:00
Hiroshige Hayashizaki 7246170f33 Bug 1577676 [wpt PR 18763] - [WPT/common/security-features] Rename source context names, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Rename source context names

We'll name worker/worklet-related things across the tests
consistently, with worker/worklet prefixes.
This CL renames source context names.

Bug: 906850
Change-Id: I0f31cd65c43e4a0bbb51efd4ead141e84ac5b1e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1777110
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691914}

--

wpt-commits: 135993f121a9c2891a1c37204f161079bf0a7c10
wpt-pr: 18763
2019-09-09 11:54:33 +01:00
Mike West 566fe9cb4a Bug 1578152 [wpt PR 18783] - Remove random strings from a failing test., a=testonly
Automatic update from web-platform-tests
Remove random strings from a failing test.

We don't implement the underlying feature for [1] yet. This patch
ensures that it has consistent error state so that we can land
expectation files instead of skipping it.

[1]: external/wpt/html/cross-origin-opener-policy/coop-navigated-popup.https.html

Bug: 994214
Change-Id: Icfe42f553d35265d83f19f244f0f8bcc2ce3743d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778615
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Kamila Hasanbega <hkamila@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692584}

--

wpt-commits: 1ac959f3e6198767fecf67740d3e1687b184265f
wpt-pr: 18783
2019-09-09 11:54:33 +01:00
moz-wptsync-bot c43763385e Bug 1578267 [wpt PR 18794] - Update wpt metadata, a=testonly
wpt-pr: 18794
wpt-type: metadata
2019-09-09 11:54:32 +01:00
Philip Jägenstedt 1d78cc1747 Bug 1578267 [wpt PR 18794] - Add infrastructure test for uncaught exception, a=testonly
Automatic update from web-platform-tests
Add infrastructure test for uncaught exception

To make current behavior clear.

This would change with https://github.com/web-platform-tests/wpt/pull/11024.

--

wpt-commits: 57a40f11e5f549e672188851227b47759c22d133
wpt-pr: 18794
2019-09-09 11:54:32 +01:00
Philip Jägenstedt ac4e771d46 Bug 1574386 [wpt PR 18484] - Load Ahem as web font in white-space-pre-wrap-trailing-spaces-004.html, a=testonly
Automatic update from web-platform-tests
Load Ahem as web font in white-space-pre-wrap-trailing-spaces-004.html
--

wpt-commits: 3cc474f1fa825abd7ab33f23c0804695c7bb6e35
wpt-pr: 18484
2019-09-09 11:54:31 +01:00
Philip Jägenstedt 47e600701c Bug 1578268 [wpt PR 18795] - Expect Safari to pass infrastructure/testdriver/actions/pause.html, a=testonly
Automatic update from web-platform-tests
Expect Safari to pass infrastructure/testdriver/actions/pause.html

It appears to pass now, whether it reliably passes is not clear.

--

wpt-commits: 5645f4c61207dd29ffc1e5960caf7f4b204089d4
wpt-pr: 18795
2019-09-09 11:54:31 +01:00
Ms2ger 7bf3dd2c3a Bug 1578171 [wpt PR 18787] - Update idlharness to support constructor operations., a=testonly
Automatic update from web-platform-tests
Update webidl2 to master.

Commit: 11e18acc77

--
Update idlharness to support constructor operations.

--
Add a test.

--

wpt-commits: 10368fa5582b6eeb6ee4556b4a6d0fc7ec896aa4, 2614e3316f1d3d1a744ed3af088d19516552a5de, dcf0cdb97ef142132dacd54d6a48e192dfe27f5c
wpt-pr: 18787
2019-09-09 11:54:30 +01:00
autofoolip f04209fffb Bug 1578331 [wpt PR 18798] - Update interfaces/web-nfc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-nfc.idl (#18798)

Source: https://github.com/tidoust/reffy-reports/blob/8039a32/whatwg/idl/web-nfc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/580086442
--

wpt-commits: 822397f7a72f09a75cc366634fb4f7e85db34f3c
wpt-pr: 18798
2019-09-09 11:54:30 +01:00
Yutaka Hirano 819ab1dc39 Bug 1578315 [wpt PR 18796] - Mark external/wpt/import-maps/bare.sub.tentative.html as slow, a=testonly
Automatic update from web-platform-tests
Mark external/wpt/import-maps/bare.sub.tentative.html as slow

TBR=hiroshige@chromium.org

Bug: 1000012
Change-Id: Ib503e9e5b7862a6af8b36c83e9dcb6ecc4031b61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1781300
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692543}

--

wpt-commits: f4dd5492389f5da9510a6361f75690fae70afb79
wpt-pr: 18796
2019-09-09 11:54:29 +01:00
Koji Ishii e5a8d29c69 Bug 1578153 [wpt PR 18784] - LayoutVideo should not mark NeedsLayout in layout, a=testonly
Automatic update from web-platform-tests
LayoutVideo should not mark NeedsLayout in layout

This patch fixes |LayoutVideo| not to mark |NeedsLayout|
even when intrinsic size was changed, if it is during the
layout. Layout clears |NeedsLayout| of its inline ancestors
that doing this can leave them |NeedsLayout| set after the
layout was complete.

This is probably an old issue, but there were no code path
to hit it, unitl r684192 (crrev.com/c/1703540) changed the
intrinsic size computations.

yosin@ pointed out that |intrinsic_size_| is not used at all
when |ShouldApplySizeContainment()| since r684192, so we can
probably skip |LayoutVideo::UpdateIntrinsicSize()|. This
should fix the problem and also is supposed to improve the
performance a bit. This patch takes more conservative
approach to ensure we never |SetNeedsLayout| of inline
ancestors during the layout.

Bug: 998395
Change-Id: I735780bbc3b65321796d217934b57c6be2d2adbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1780986
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692541}

--

wpt-commits: b86e07e58522387be6929b72b4c50ba01bc15ce9
wpt-pr: 18784
2019-09-09 11:54:29 +01:00
Bastien Orivel ac622178aa Bug 1578089 [wpt PR 18781] - Remove <img>'s historical progress events, a=testonly
Automatic update from web-platform-tests
Update wpt test to match the new spec where loadend isn't anymore

--

wpt-commits: 02e1c03ed4e47006acd2d40f0c9c679f7f9db52d
wpt-pr: 18781
2019-09-09 11:54:28 +01:00
moz-wptsync-bot 685491bab7 Bug 1575151 [wpt PR 18558] - Update wpt metadata, a=testonly
wpt-pr: 18558
wpt-type: metadata
2019-09-09 11:54:28 +01:00
TAMURA, Kent 8046a69a30 Bug 1575151 [wpt PR 18558] - html: Add a test for 'autofocus' as a global attribute, a=testonly
Automatic update from web-platform-tests
html, svg: Add a test for 'autofocus' as a global attribute (#18558)

For https://github.com/whatwg/html/pull/4830

--

wpt-commits: cfb69fe84608b80823905e9f257e2ef7700362bc
wpt-pr: 18558
2019-09-09 11:54:27 +01:00
Carlos Alberto Lopez Perez 733f37864a Bug 1575522 [wpt PR 18589] - Add infrastructure expectations for Epiphany and WebKitGTK, a=testonly
Automatic update from web-platform-tests
Add infrastructure expectations for Epiphany (#18589)

* Tested with WebKitGTK version 2.25.4 on Debian experimental.
--

wpt-commits: d865af1b41bd7fda439930fc19a0389128538edb
wpt-pr: 18589
2019-09-09 11:54:27 +01:00
moz-wptsync-bot 89f84fa1ee Bug 1571429 [wpt PR 18280] - Update wpt metadata, a=testonly
wpt-pr: 18280
wpt-type: metadata
2019-09-09 11:54:26 +01:00
Carlos Alberto Lopez Perez 37d8730c38 Bug 1571429 [wpt PR 18280] - Fix 2dcontext/building-paths ref-tests to use a canvas instead of pre-generated images., a=testonly
Automatic update from web-platform-tests
Fix 2dcontext/building-paths ref-tests to use a canvas instead of pre-generated images. (#18280)

* The tests 2dcontext/building-paths/canvas_complexshapes_arcto_001.htm
  and 2dcontext/building-paths/canvas_complexshapes_beziercurveto_001.htm
  were using a pre-generated image to compare with the rendered canvas.
  But this is not reliable as there is no guarantee that the rendering
  of the canvas has to be exactly pixel-by-pixel identical across
  different Web engines. Things like canvas anti-aliasing features, or
  platform differences can make the visual output to be slightly different
  (yet still correct).

* So this patch changes the reference file of this tests to render the
  expected result using a canvas as well.

* It has been tested that this 2 tests now passes on Chrome, Firefox, and WebKit.
--

wpt-commits: 9eabcfe84fef0281a7335ec526275722b3625b5b
wpt-pr: 18280
2019-09-09 11:54:26 +01:00
Takashi Toyoshima 7b4fe7f6c4 Bug 1577435 [wpt PR 18739] - OOR-CORS: Make the CORS preflight have Accept: */*, a=testonly
Automatic update from web-platform-tests
OOR-CORS: Make the CORS preflight have Accept: */*

The current spec does not require the CORS preflight request to
have an Accept header. But Firefox sends it, and Chrome sent it
until OOR-CORS is enabled.

https://github.com/whatwg/fetch/issues/922
Since there is no reason not to have the header, and no objections
at the spec proposal thread, we'll restore the Accept header to
the CORS preflight request.

Bug: 995740
Change-Id: I50854e65770df593c8bbcff7ee85404051a23f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768503
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692455}

--

wpt-commits: 9614edb355132c8191c99518d2f83d9751dcf935
wpt-pr: 18739
2019-09-09 11:54:25 +01:00
moz-wptsync-bot 690b1cc27e Bug 1577454 [wpt PR 18741] - Update wpt metadata, a=testonly
wpt-pr: 18741
wpt-type: metadata
2019-09-09 11:54:25 +01:00
Morten Stenshorne c9fa101263 Bug 1577454 [wpt PR 18741] - [LayoutNG] Don't allow multicol + custom layout on the same node., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Don't allow multicol + custom layout on the same node.

This should be a useless combination, just like it is to combine flex,
grid and tables with multicol.

Multicol should only be enabled for nodes that would otherwise create a
block container (NGBlockLayoutAlgorithm).

Move the custom layout option higher up in the algorithm picker, so that
it trumps multicol. Also avoid creating the multicol flow thread if we
have custom layout, or we'd confuse other pieces of the engine, when we
in fact use custom layout and not multicol. As we move forward with the
NG block fragmentation implementation, we'll eventually stop creating
the flow thread, but for now, it's still in use, because we use the
legacy engine for painting.

Bug: 997403, 998423
Change-Id: Id8577da0b129d9182fb9195f508dd57195290ee4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774277
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692447}

--

wpt-commits: c05529a9dfbda874a8f1f48eb20248a794c52e71
wpt-pr: 18741
2019-09-09 11:54:25 +01:00
Rune Lillesveen a721508464 Bug 1578166 [wpt PR 18786] - No need to invalidate style in an empty document., a=testonly
Automatic update from web-platform-tests
No need to invalidate style in an empty document.

InvalidationRootForTreeScope() assumes we have documentElement() for the
document scope. Exit early from @keyframes invalidation if it's null.

Bug: 999522, 999521, 999524, 999656
Change-Id: Iec34f4871087c50fd2d067d955f26e3eb02536b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1780724
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692443}

--

wpt-commits: 580bc2dba627bfe2e9b81c254d32b76e90a9c24f
wpt-pr: 18786
2019-09-09 11:54:24 +01:00
moz-wptsync-bot d691261d69 Bug 1575391 [wpt PR 18571] - Update wpt metadata, a=testonly
wpt-pr: 18571
wpt-type: metadata
2019-09-09 11:54:23 +01:00
Staphany Park 2da4dbdfb6 Bug 1575391 [wpt PR 18571] - Screen Enumeration: Basic implementation., a=testonly
Automatic update from web-platform-tests
Screen Enumeration: Basic implementation.

This CL exposes a subset of the screen properties outlined in the Screen
Enumeration API explainer:
https://github.com/spark008/screen-enumeration/blob/master/EXPLAINER.md.
The API is gated behind the experimental flag "ScreenEnumeration".

Bug: 994889
Change-Id: I3cd52f0bbfd4df11cd999bf1d21059bf298109f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1759890
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Staphany Park <staphany@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692420}

--

wpt-commits: 11eb4006e31e9c870bd6a8e26372d24c80d7d04d
wpt-pr: 18571
2019-09-09 11:54:23 +01:00
Eric Willigers fcede80b46 Bug 1576572 [wpt PR 18667] - [css-inline] Inheritance of line-height, a=testonly
Automatic update from web-platform-tests
[css-inline] Inheritance of line-height (#18667)

line-height inherits, and has initial value 'normal'.
https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height
--

wpt-commits: 5c7962550bccfaa68412585deb60f0b648a1dd7c
wpt-pr: 18667
2019-09-09 11:54:22 +01:00
L. David Baron b7d207cb30 Bug 1577995 [wpt PR 18779] - Sync Mozilla CSS tests as of 2019-08-31, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/b3cc8963e8718dbd40761f14664f45320c258bbd . (#18779)

This contains changes from [bug 1577053](https://bugzilla.mozilla.org/show_bug.cgi?id=1577053) by @dholbert, reviewed by @jfkthame.
--

wpt-commits: 629e3ba6a9e50c2fadef93e7dece7fff1711e824
wpt-pr: 18779
2019-09-09 11:54:22 +01:00
Masayuki Nakano 85fb6afdf7 Bug 1574852 - part 84: Move `HTMLEditRules::RemoveAlignment()` to `HTMLEditor` r=m_kato
And also this patch removes unnecessary declarations in `HTMLEditRules.h`.

Differential Revision: https://phabricator.services.mozilla.com/D44788

--HG--
extra : moz-landing-system : lando
2019-09-09 10:47:47 +00:00
Masayuki Nakano 2bc7658314 Bug 1574852 - part 83: Move `HTMLEditRules::MakeSureElemStartsOrEndsOnCR()` to `HTMLEditor` r=m_kato
`HTMLEditRules::MakeSureElemStartsOrEndsOnCR()` is unclear what it does.
And fortunately, its job is simple if we split it to each mode.  Therefore,
this patch splits it to `EnsureHardLineBeginsWithFirstChildOf()` and
`EnsureHardLineEndsWithLastChildOf()`.  Finally, the batch caller of them,
`HTMLEditRules::MakeSureElemStartsAndEndsOnCR()` is removed since directly
calling both of them is clearer.

Differential Revision: https://phabricator.services.mozilla.com/D44787

--HG--
extra : moz-landing-system : lando
2019-09-09 10:47:08 +00:00
Masayuki Nakano d87e610645 Bug 1574852 - part 82: Move `HTMLEditRules::MakeTransitionList()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44786

--HG--
extra : moz-landing-system : lando
2019-09-09 10:46:17 +00:00
Masayuki Nakano 9a7cb5f3c8 Bug 1574852 - part 88: Move `HTMLEditRules::FindNearEditableNode()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44792

--HG--
extra : moz-landing-system : lando
2019-09-09 10:09:38 +00:00
Julian Seward b20ae42a73 Bug 1579661 - js/src/wasm/cranelift/src/bindings/mod.rs: FuncTypeWithId::args: use SmallVec rather than Vec. r=bbouvier.
FuncTypeWithId::args returns a Vec<ir::Type>, most of which are pretty
small. Replacing it with a SmallVec::<[ir::Type; 4]> reduces the number of
allocation (calls) for compiling wasm via CL by about 2.3% and does not
increase the instruction count.

Differential Revision: https://phabricator.services.mozilla.com/D45132

--HG--
extra : moz-landing-system : lando
2019-09-09 09:05:16 +00:00
Itiel cc2864361e Bug 1579955 - [RTL] Fix the "Custom URLs" textbox input and autocomplete popup direction in about:preferences r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45234

--HG--
extra : moz-landing-system : lando
2019-09-10 10:53:49 +00:00
Johann Hofmann 7ac2c59abb Bug 1579010 - Expose new certificate viewer to localization. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D45341

--HG--
rename : toolkit/components/certviewer/content/certviewer.ftl => toolkit/locales/en-US/toolkit/about/certviewer.ftl
extra : moz-landing-system : lando
2019-09-10 12:58:32 +00:00