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

680876 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 08172f587d Bug 1595476 part 3 - Rewrite and simplify control flow logic in Ion for bytecode -> MIR compilation. r=tcampbell
Instead of trying to understand the precise Control Flow Graph, we now construct
MIR more like how a baseline compiler does it: whenever we have a forward jump
in the bytecode we add the block to a pendingBlocks list (keyed on the target
pc) and when we get to a jump target op we "link" any pending blocks for that
pc.

This patch also changes 'continues' in while/for-in/for-of loops to be more
similar to continues in for-loops and do-while loops. They're now just forward
jumps to the end of the loop body, instead of backward jumps to the branch at
the top that jumps to the condition. It's simpler and because they're now plain
forward branches the PendingBlock system handles them automatically.

We still always emit a jump target op for continues, even if there are no
continues. It's pretty easy to optimize this but that will be done in a
follow-up (bug 1595699) to not complicate this patch more. We can likely also
remove some source notes.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 10:27:45 +00:00
Jan de Mooij 9bbad3f261 Bug 1595476 part 2 - Add hasTryFinally flag to IonBytecodeInfo. r=tcampbell
Depends on D52633

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

--HG--
extra : moz-landing-system : lando
2019-11-18 16:12:48 +00:00
Jan de Mooij e7fa1c9c80 Bug 1595476 part 1 - Add clearAndCompact method to InlineMap/InlineSet. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D52633

--HG--
extra : moz-landing-system : lando
2019-11-18 16:12:48 +00:00
Jon Coppeard 5bbc378c0e Bug 1597333 - Trace dictionary objects reachable from shapes r=sfink
Previously we had to check for this pointer when finalizing objects and clear it in the rare cases it was present. It's simpler to trace any dictionary object reachable from a shape which means we can remove this special case.

This adds tracing and a pre-write barrier to the pointer. There is still no post barrier for this which means nursery special case handling of this is still present.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 13:16:16 +00:00
Jon Coppeard 105eae5231 Bug 1597333 - Replace Shape::listp with a tagged pointer r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D53790

--HG--
extra : moz-landing-system : lando
2019-11-20 13:16:00 +00:00
Emilio Cobos Álvarez 44e2f8b6ed Bug 1507674 - Refactor svg observer setup to not do silly things when observing an ancestor. r=longsonr
Right now we post updates and it "works" because we prevent the UpdateOverflow
call if we're during reflow.

If this happens during styling however this is not sound (and it is not sound
in general and has caused badness in the past, as noted by the other
workarounds).

Make it sound by preventing to observe ancestors, and do it everywhere, removing
various ad-hoc hacks that were spread around elsewhere.

This changes expectations of two tests:

 * clip-path-recursion-002.svg: Now we consider the inner clip-path reference
   invalid. This matches WebKit and Blink, and I don't see any spec text
   explicitly asking for our old behavior, so I just changed the test.

 * element-paint-recursion.html: Changes the expectations of elements
   referencing themselves via -moz-element(). Now it is invalid, instead of
   painting ourselves once inside ourselves, which was a bit wild on its own.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 10:05:29 +00:00
Emilio Cobos Álvarez 6ea82affcf Bug 1597588 - Make rust Atom use NonZeroUsize. r=heycam
At first I thought this was going to enable simplifications in the selector
parser (to simplify the attribute selector setup), but I couldn't end up
shrinking the layout enough.

However this should help with bug 1559076, which returns Option<Atom>, and it
was easy to write.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 05:46:56 +00:00
Bob Owen 8b54efceb2 Bug 1547286 Part 2: Adjust fuzz for reftests with differing backends when remote canvas and webrender enabled.
Differential Revision: https://phabricator.services.mozilla.com/D53945

--HG--
extra : moz-landing-system : lando
2019-11-20 13:13:21 +00:00
Valentin Gosu d7cadb0bc8 Bug 1597683 - Parse DNS suffix list from the windows registry r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D53814

--HG--
extra : moz-landing-system : lando
2019-11-20 12:54:29 +00:00
Mihai Alexandru Michis c22a7b20e8 Backed out changeset 4fbd18ff4990 (bug 1597707) for causing geckoview failures in SelectionActionDelegateTest.request 2019-11-20 14:19:27 +02:00
Michal Novotny c42d0ce790 Bug 1596419 - Network change event can be hidden by coalescing period on Linux/Android r=valentin
This patch makes network change event different from network ID change event on Linux and Android. Network change event is now also sent when any address has been added, removed or changed.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 11:56:13 +00:00
Jon Coppeard 7f1bdef148 Bug 1597328 - Replace use of the name kid/kids in Shape classes with the more usual child/children r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D53786

--HG--
extra : moz-landing-system : lando
2019-11-20 11:56:16 +00:00
Emilio Cobos Álvarez 54d06f7dfe Bug 1597792 - Allow clock_nanosleep in the sandbox filter. r=gcp
It seems newer glibc versions implement nanosleep() in terms of
clock_nanosleep(), which broke the profiler due to the sandbox rules
whitelisting the former but not the later.

Unfortunate that the profiler will fail in old Firefox versions though... :/

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

--HG--
extra : moz-landing-system : lando
2019-11-20 11:22:11 +00:00
Nicolas Chevobbe fb841e986b Bug 1597905 - Replace usage of webConsoleUI.clearOutput to head.js clearOutput in tests. r=jdescottes.
The helper function waits for an event to be dispatched,
which adds extra safety.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 10:18:24 +00:00
moz-wptsync-bot 53115e71e2 Bug 1593624 - [wpt-sync] Update web-platform-tests to 341891a7294014cb21b0a85cd0e024997aa21555, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 341891a7294014cb21b0a85cd0e024997aa21555
wpt-type: landing

Differential Revision: https://phabricator.services.mozilla.com/D53624
2019-11-20 11:19:48 +00:00
haozhe 161cc57525 Bug 1593309 [wpt PR 20049] - Port webkit-clip-path tests to wpt, a=testonly
Automatic update from web-platform-tests
Port webkit-clip-path tests to wpt

Firefox and Chrome passed.

Bug: 900581
Change-Id: Ib738538dc5a8e3f12d1e403d9b9ad96c4fd5f6fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894177
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712030}

--

wpt-commits: 341891a7294014cb21b0a85cd0e024997aa21555
wpt-pr: 20049

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


--HG--
rename : testing/web-platform/tests/css/css-masking/animations/clip-path-interpolation.html => testing/web-platform/tests/css/css-masking/animations/clip-path-interpolation-001.html
2019-11-20 11:19:48 +00:00
moz-wptsync-bot 85c5276ffd Bug 1592481 [wpt PR 19986] - Update wpt metadata, a=testonly
wpt-pr: 19986
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53622
2019-11-20 11:19:47 +00:00
autofoolip c550c8376d Bug 1592481 [wpt PR 19986] - Update interfaces/html.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/html.idl (#19986)

Source: https://github.com/tidoust/reffy-reports/blob/f08e36d/ed/idl/html.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/605796547
--

wpt-commits: b3a2d4f7f55420ca09ebc0107112bc9f33733013
wpt-pr: 19986

Differential Revision: https://phabricator.services.mozilla.com/D53621
2019-11-20 11:19:47 +00:00
Luke Zielinski a5622c34b8 Bug 1593313 [wpt PR 20050] - Minor changes to testdriver docs, a=testonly
Automatic update from web-platform-tests
Minor changes to testdriver docs (#20050)

1. Rename testdriver-tutorial to testdriver-extension-tutorial, and
clarify that it's about how to extend testdriver.
2. Clarify testdriver Actions docs to focus on Actions builder API
instead of action_sequence

--

wpt-commits: 0e7c85dc27c8b539112cd6d82beea3ebcb5ef430
wpt-pr: 20050

Differential Revision: https://phabricator.services.mozilla.com/D53620
2019-11-20 11:19:46 +00:00
Robert Ma cce37eb278 Bug 1593143 [wpt PR 20038] - Fix a dead link in docs, a=testonly
Automatic update from web-platform-tests
Fix a dead link in docs (#20038)

Although the link without the file extension works on Sphinx, it does not work
on GitHub. Adding the ".md" extension makes it work in both places.
--

wpt-commits: e61b881d6f43346b25672f9ea2259f1ffcd69062
wpt-pr: 20038

Differential Revision: https://phabricator.services.mozilla.com/D53619
2019-11-20 11:19:46 +00:00
Dustin J. Mitchell 463908bfef Bug 1593151 [wpt PR 20041] - Fix generation of TC URLs, a=testonly
Automatic update from web-platform-tests
Fix generation of TC URLs (#20041)

--

wpt-commits: 424249088dd679888e07bd315dd8ebc98ccf323a
wpt-pr: 20041

Differential Revision: https://phabricator.services.mozilla.com/D53618
2019-11-20 11:19:45 +00:00
moz-wptsync-bot bda2adfe70 Bug 1592198 [wpt PR 19971] - Update wpt metadata, a=testonly
wpt-pr: 19971
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53617
2019-11-20 11:19:45 +00:00
Leon Han 92f18465e1 Bug 1592198 [wpt PR 19971] - [webnfc] Support reading/writing 'unknown' type records, a=testonly
Automatic update from web-platform-tests
[webnfc] Support reading/writing 'unknown' type records

Previously, TNF_UNKNOWN records were read and represented as 'opaque'
type records, and writing TNF_UNKNOWN records was not supported.

As part of effort to make web nfc more of a low level API, we have the
spec change https://github.com/w3c/web-nfc/pull/373 that defines an
explicit mapping for
  TNF_UNKNOWN  <---> 'unknown' type NDEFRecord

This CL introduces the new 'unknown' type and supports reading/writing
them accordingly.

BUG=520391

Change-Id: I384256d35b665c740edb9bef221d3319bf7df063
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1886114
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712001}

--

wpt-commits: d4a7c5c8ff1f9a56e692b19469e655fd7f684582
wpt-pr: 19971

Differential Revision: https://phabricator.services.mozilla.com/D53616
2019-11-20 11:19:44 +00:00
moz-wptsync-bot 0d9bf24bda Bug 1592215 [wpt PR 19974] - Update wpt metadata, a=testonly
wpt-pr: 19974
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53615
2019-11-20 11:19:44 +00:00
Leon Han ca2f125fec Bug 1592215 [wpt PR 19974] - [webnfc] Add BufferSource into the union type NDEFMessageSource, a=testonly
Automatic update from web-platform-tests
[webnfc] Add BufferSource into the union type NDEFMessageSource

This CL updates the definition of the union type NDEFMessageSource:
  (DOMString or ArrayBuffer or NDEFMessageInit)
==>
  (DOMString or BufferSource or NDEFMessageInit)

BUG=520391

Change-Id: I603616047814c56744eed94efd7f3579079b0875
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1886351
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#711986}

--

wpt-commits: c0ec46c3e6f1452abf3cf9916f3e2ceb4c494b12
wpt-pr: 19974

Differential Revision: https://phabricator.services.mozilla.com/D53614
2019-11-20 11:19:44 +00:00
Joey Arhar 9de84437d2 Bug 1593363 [wpt PR 20054] - Fix form submission for <button>s with children, a=testonly
Automatic update from web-platform-tests
Fix form submission for <button>s with children

Form submission stopped working after crrev.com/c/1850358 when using
event.preventDefault() and form.submit() in a click event handler for a
<button type=submit> when the button has child elements and the click
was made on one of the child elements.

Bug: 1020086
Change-Id: I8976298ac56a64ff7033cb2f7b46ee5116229464
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896050
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711918}

--

wpt-commits: ac527a6087fc4c16a81ab001470d9e4e114c94b9
wpt-pr: 20054

Differential Revision: https://phabricator.services.mozilla.com/D53613
2019-11-20 11:19:43 +00:00
moz-wptsync-bot c3e143d8ac Bug 1593043 [wpt PR 20025] - Update wpt metadata, a=testonly
wpt-pr: 20025
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53612
2019-11-20 11:19:43 +00:00
Oriol Brufau 113b8ca238 Bug 1593043 [wpt PR 20025] - [css-pseudo] Apply ::marker styles to markers, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Apply ::marker styles to markers

Currently markers are assigned a mostly empty style, it just inherits
from the list item and has some customizations like `display`.

This patch makes them use the style of the ::marker pseudo-element.
The inheritance is also from the list item, and the customizations are
applied afterwards.

The change only affects markers originated by real elements. Markers
originated by ::before or ::after pseudo-elements should get the styles
from ::before::marker or ::after::marker, but this will be addressed in
a follow-up patch.

Spec: https://drafts.csswg.org/css-pseudo-4/#marker-pseudo

BUG=457718

TEST=external/wpt/css/css-pseudo/marker-and-other-pseudo-elements.html
TEST=external/wpt/css/css-pseudo/marker-color.html
TEST=external/wpt/css/css-pseudo/marker-font-properties.html

Change-Id: Ide2fbc344e4732257044ebd3e7966906af21c434
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893265
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#711883}

--

wpt-commits: e76f87b52667b3e8b43285e72b654bfa7cb8ace9
wpt-pr: 20025

Differential Revision: https://phabricator.services.mozilla.com/D53611
2019-11-20 11:19:42 +00:00
moz-wptsync-bot d669c03c82 Bug 1591630 [wpt PR 19904] - Update wpt metadata, a=testonly
wpt-pr: 19904
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53610
2019-11-20 11:19:42 +00:00
jugglinmike 4802c51360 Bug 1591630 [wpt PR 19904] - [WebCryptoAPI] Defer harness completion, a=testonly
Automatic update from web-platform-tests
[WebCryptoAPI] Defer harness completion (#19904)

This change ensures that all subtests are executed when the tests are
evaluated in dedicated worker contexts.
--

wpt-commits: 0b2fcd3261f03fd69acd345dc8c7e55e613f62d8
wpt-pr: 19904

Differential Revision: https://phabricator.services.mozilla.com/D53609
2019-11-20 11:19:41 +00:00
moz-wptsync-bot 4f3692c19f Bug 1592811 [wpt PR 20009] - Update wpt metadata, a=testonly
wpt-pr: 20009
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53608
2019-11-20 11:19:41 +00:00
Olivier Yiptong a246363a98 Bug 1592811 [wpt PR 20009] - [Native File System] Return modified time for File objects, a=testonly
Automatic update from web-platform-tests
[Native File System] Return modified time for File objects

Plumb through FileInfo to the renderer, and populate the returned File
object with the correct value.

BUG=1018945

Change-Id: Ic11d819ea83be49df831bbda37519779be0b8781
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1891463
Reviewed-by: Matthew Denton <mpdenton@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711864}

--

wpt-commits: 4d61f3e5fd066fad4366a8fb10e6c2e730bce338
wpt-pr: 20009

Differential Revision: https://phabricator.services.mozilla.com/D53607
2019-11-20 11:19:40 +00:00
L. David Baron 55997d2d20 Bug 1593342 [wpt PR 20053] - Sync Mozilla CSS tests as of 2019-11-01, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/10021d0d74c2541bb2c9cec1bd659c9a9e1062fd . (#20053)

This contains changes from:
* [bug 1588760](https://bugzilla.mozilla.org/show_bug.cgi?id=1588760) (Move css-lists reftests into WPT) by @Loirooriol, reviewed by @dbaron
--

wpt-commits: d066ac76b160a6edab95bc859055e5750604236e
wpt-pr: 20053

Differential Revision: https://phabricator.services.mozilla.com/D53606
2019-11-20 11:19:40 +00:00
haozhe 309aebf978 Bug 1592768 [wpt PR 20005] - Port text-shadow interpolation tests to wpt, a=testonly
Automatic update from web-platform-tests
Port text-shadow interpolation tests to wpt

Both firefox and chrome failed with the bug filed: https://crbug.com/995349

Bug: 900581
Change-Id: I037f772aa391de65cefc2267390d28f40e0bdde5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1891435
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711713}

--

wpt-commits: 97776e763587fda8dab1c894e97dc845f8868e04
wpt-pr: 20005

Differential Revision: https://phabricator.services.mozilla.com/D53605
2019-11-20 11:19:39 +00:00
Fredrik Söderquist 7a4ccb1dfd Bug 1593269 [wpt PR 20046] - Revert to waiting for first interval when pruning first interval, a=testonly
Automatic update from web-platform-tests
Revert to waiting for first interval when pruning first interval

When 'end' changes so that we need to discard/prune our current
interval, and said interval is the first interval, revert back to
waiting for a first interval again.

Bug: 1020163
Change-Id: I7185253474e23a3a58294043102c91e1a59fe10c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895335
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#711709}

--

wpt-commits: 2c92ac0ff99519626494fcb4329891deea0e631d
wpt-pr: 20046

Differential Revision: https://phabricator.services.mozilla.com/D53604
2019-11-20 11:19:39 +00:00
autofoolip ab0cf88413 Bug 1593075 [wpt PR 20034] - Update interfaces/webrtc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc.idl (#20034)

Source: https://github.com/tidoust/reffy-reports/blob/bd31791/ed/idl/webrtc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/605660228
--

wpt-commits: 70b3760cd6d9ede9874529b58799d757c764e2cc
wpt-pr: 20034

Differential Revision: https://phabricator.services.mozilla.com/D53603
2019-11-20 11:19:39 +00:00
Dustin J. Mitchell 213c46004e Bug 1593145 [wpt PR 20039] - Switch to community TC deployment, a=testonly
Automatic update from web-platform-tests
Bug 1574668 - switch to community TC deployment (#20039)

Within the new "Community" deployment of Taskcluster, the worker pools
(provisionerId/workerType) are different -- WPT has a dedicated worker
pool all to itself.  This uses the new worker pool names in the new
deployment.  Once things are migrated to the new deployment, the logic
here can be removed and replaced with simple strings.
--

wpt-commits: 8aeb44900921dce5401a91a2ede05dbbbb2d56f2
wpt-pr: 20039

Differential Revision: https://phabricator.services.mozilla.com/D53602
2019-11-20 11:19:38 +00:00
moz-wptsync-bot a1a0fb9ff5 Bug 1586978 [wpt PR 19562] - Update wpt metadata, a=testonly
wpt-pr: 19562
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53601
2019-11-20 11:19:38 +00:00
TAMURA, Kent 548f86bf03 Bug 1586978 [wpt PR 19562] - html: Add tests for SubmitEvent interface, a=testonly
Automatic update from web-platform-tests
html: Add tests for SubmitEvent interface (#19562)

Specification PR: https://github.com/whatwg/html/pull/4984

--

wpt-commits: 61c2804bf27a7abc1b8bc406627f6bf3b3344f14
wpt-pr: 19562

Differential Revision: https://phabricator.services.mozilla.com/D53600
2019-11-20 11:19:37 +00:00
autofoolip c60735f570 Bug 1593158 [wpt PR 20042] - Update interfaces/media-capabilities.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/media-capabilities.idl (#20042)

Source: https://github.com/tidoust/reffy-reports/blob/f08e36d/ed/idl/media-capabilities.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/605796547
--

wpt-commits: ff29530cb836b0d8f1a1845cb6fc3e35b15c90ef
wpt-pr: 20042

Differential Revision: https://phabricator.services.mozilla.com/D53599
2019-11-20 11:19:37 +00:00
Mustapha Jaber d475714c0b Bug 1593034 [wpt PR 20023] - Cleanup Edge driver files after every run, a=testonly
Automatic update from web-platform-tests
Cleanup Edge driver files after every run (#20023)

* Added task to delete msedgedriver.exe at the end of each run

* Delete unzipped folder and zip file

* Split up deletion tasks

* Always delete Driver_Notes folder

--

wpt-commits: f6d693b1796efc206c68e3a9fd4faa3aac55efaa
wpt-pr: 20023

Differential Revision: https://phabricator.services.mozilla.com/D53598
2019-11-20 11:19:36 +00:00
Piotr Bialecki 5d7ed8e748 Bug 1593061 [wpt PR 20029] - Rename mojom-side transforms on input sources for consistency, a=testonly
Automatic update from web-platform-tests
Rename mojom-side transforms on input sources for consistency

There should be no functional changes introduced by this CL.

Renames XRInputSource-related data in mojom structs. This CL does not
attempt to fix names of other variables / functions that are used to
compute the data that will then be set on the mojom structs - this will
have to happen in a follow-up (mostly on device side, blink usage should
already be consistent).

Change-Id: I1b4888158a7ed57cecce7de87634e639cf23d6ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1891455
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711458}

--

wpt-commits: f355fee8497e96d9da6f96bde38152b0be060783
wpt-pr: 20029

Differential Revision: https://phabricator.services.mozilla.com/D53597
2019-11-20 11:19:36 +00:00
moz-wptsync-bot b77d5ba9c4 Bug 1592723 [wpt PR 20001] - Update wpt metadata, a=testonly
wpt-pr: 20001
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53596
2019-11-20 11:19:35 +00:00
Henrik Boström 274489dae3 Bug 1592723 [wpt PR 20001] - [RTCPeerConnection] Ship parameterless setLocalDescription()., a=testonly
Automatic update from web-platform-tests
[RTCPeerConnection] Ship parameterless setLocalDescription().

Intent to Implement and Ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/OqPfCpC5RYU

For background, motivation, requirements and implementation notes, see
https://docs.google.com/document/d/1XLwNN2kUIGGTwz9LQ0NwJNkcybi9oKnynUEZB1jGA14/edit?usp=sharing

Parameterless setLocalDescription() implicitly creates an offer or answer
as appropriate based on the current signaling state. This is already
implemented in third_party/webrtc using an operations chain. This CL
reuses existing plumbing (used by SLD/SRD already) to surface state
changes when invoking the new SetLocalDescription variety.

The PeerConnectionTracker is updated to track parameterless SLD so that
it shows up in chrome://webrtc-internals/. The old SLD and SRD showed up
as events as follow:
- When SLD(sdp) is called, a "setLocalDescription" event shows up with the
  SDP as the event's value.
- When SLD(sdp) resolves, a "setLocalDescriptionOnSuccess" event shows up
  without a value.

The parameterless setLocalDescription() instead shows up in
chrome://webrtc-internals/ as:
- When SLD() is called, a "setLocalDescriptionImplicitCreateOfferOrAnswer"
  event shows up without a value.
- When SLD() resolves, a "setLocalDescriptionImplicitCreateOfferOrAnswerOnComplete"
  event shows up with the resulting SDP as the event's value.

As such, chrome://webrtc-internals/ remains useful for debugging even if
parameterless SLD is used.

Bug: chromium:980885
Change-Id: I469f63cdaab83991749d5a0d47fe751666304fe6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890420
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Steve Anton <steveanton@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711445}

--

wpt-commits: f7b4aa0021ecf0c1470205f110b40eb40a0a1667
wpt-pr: 20001

Differential Revision: https://phabricator.services.mozilla.com/D53595
2019-11-20 11:19:35 +00:00
Philip Jägenstedt d62d13d4ba Bug 1591835 [wpt PR 19940] - [docs] describe required system setup in more detail, a=testonly
Automatic update from web-platform-tests
[docs] describe required system setup in more detail (#19940)

* [docs] describe required system setup in more detail

The recommendation to use WSL is from https://github.com/web-platform-tests/wpt/pull/8183
and is removed, as with Windows 10 the required setup is fairly modest.
Anyone using WSL can simply follow the Linux instructions.

* Revert Fedora documentation

https://github.com/web-platform-tests/wpt/issues/20035

* Use .bash_profile

* Mention WSL

--

wpt-commits: dd8b3c711e034e06372a5fe356bfbaf45100433c
wpt-pr: 19940

Differential Revision: https://phabricator.services.mozilla.com/D53594
2019-11-20 11:19:34 +00:00
jugglinmike a7d57c2c26 Bug 1593067 [wpt PR 20031] - [preload] Opt-in to single-page test feature, a=testonly
Automatic update from web-platform-tests
[preload] Opt-in to single-page test feature (#20031)

testharness.js was recently extended with an API to explicitly opt-in to
the "single page test" feature [1]. As per WPT RFC 28 [2], tests which
do not use this API and which do not declare any subtests will soon be
reported as a harness error.

Update the tests which previously opted in implicitly to use the new
API.

[1] https://github.com/web-platform-tests/wpt/pull/19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
--

wpt-commits: 2468aa3b5743ebf9b70b98416dcf6f5312b447d6
wpt-pr: 20031

Differential Revision: https://phabricator.services.mozilla.com/D53593
2019-11-20 11:19:34 +00:00
Majid Valipour 21bab78834 Bug 1592071 [wpt PR 19955] - [scroll-snap] Make several wpt tests independent of scrollbar-width, a=testonly
Automatic update from web-platform-tests
[scroll-snap] Make several wpt tests independent of scrollbar-width

Multiple scroll snap wpt tests use `scrollbar-width:none` css property
to hide scrollbars. This property is only supported in Gecko.

This CL adds the legacy webkit prefixed property [1] to enable the same
functionality. This addition allows 8 existing tests to pass in Chrome (and
potentially in Safari).

[1] ::-webkit-scrollar { display: none; }

Fixed: 1003055
Change-Id: Iefe5f5071d23cd40bab71a9d0e360b62e10e9c73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884816
Auto-Submit: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711384}

--

wpt-commits: dc048c67d786f646ab659ea050183989ff3e8bfb
wpt-pr: 19955

Differential Revision: https://phabricator.services.mozilla.com/D53592
2019-11-20 11:19:33 +00:00
moz-wptsync-bot 24daa40365 Bug 1592306 [wpt PR 19980] - Update wpt metadata, a=testonly
wpt-pr: 19980
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53591
2019-11-20 11:19:33 +00:00
haozhe 38c115fd0c Bug 1592306 [wpt PR 19980] - Port object-position-interpolation.html to wpt, a=testonly
Automatic update from web-platform-tests
Port object-position-interpolation.html to wpt

Chrome passed and firefox passed

Bug: 900581
Change-Id: I0b63e9908d36c380e0f328c66c20b6687a0504aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1887232
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711375}

--

wpt-commits: 5128325f8d255f768e2f07688821a544c8e7bd48
wpt-pr: 19980

Differential Revision: https://phabricator.services.mozilla.com/D53590
2019-11-20 11:19:33 +00:00
moz-wptsync-bot 2a9c9b8cbb Bug 1593037 [wpt PR 20024] - Update wpt metadata, a=testonly
wpt-pr: 20024
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D53589
2019-11-20 11:19:32 +00:00