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

51917 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 8dcfc485ef Bug 1681667 - Make `BrowserChild` never coalesce/discard synthesized mouse events for test r=smaug
Every synthesized mouse event for tests are important.  So, they should never
be coalesced.  This is required to write mochitests which synthesize `mousemove`
events via the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D99317
2020-12-11 06:43:44 +00:00
Butkovits Atila 51cbbd9cfc Backed out 4 changesets (bug 1676671) for telemetry failures. CLOSED TREE
Backed out changeset e8d3e51c0440 (bug 1676671)
Backed out changeset 94f71a0d5ee5 (bug 1676671)
Backed out changeset 68192555c760 (bug 1676671)
Backed out changeset efa50f96f8ac (bug 1676671)
2020-12-10 19:53:38 +02:00
Emilio Cobos Álvarez 6f86559e46 Bug 1681418 - Throw a more useful error when a broken image is passed to drawImage. r=nical
Much like we do for createPattern().

Differential Revision: https://phabricator.services.mozilla.com/D99260
2020-12-10 17:08:02 +00:00
James Graham 40ab551db5 Bug 1680883 - Fix metadata, r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D99369
2020-12-10 17:00:13 +00:00
Julian Descottes 39ceceb460 Bug 1676671 - [marionette] Remove unused return value from driver::registerBrowser r=marionette-reviewers,maja_zf
Depends on D98780

The existing call sites for registerBrowser do not read the return value:
https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#634
https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#3668

and it is currently not documented.

Differential Revision: https://phabricator.services.mozilla.com/D98781
2020-12-10 14:29:03 +00:00
Julian Descottes 894e63ff24 Bug 1676671 - [marionette] Remove unused knownFrames array from browser.js r=marionette-reviewers,maja_zf
Depends on D98779

This array was created and populated but not checked anywhere. It should be safe to remove it?
https://searchfox.org/mozilla-central/search?path=&q=knownFrames

Differential Revision: https://phabricator.services.mozilla.com/D98780
2020-12-10 14:29:01 +00:00
Julian Descottes 9a414fda2d Bug 1676671 - [marionette] Refactor driver::registerBrowser and browser::register to infer id from browser element r=marionette-reviewers,maja_zf,whimboo
Depends on D98778

Differential Revision: https://phabricator.services.mozilla.com/D98779
2020-12-10 14:28:53 +00:00
Julian Descottes a0a8b63f7f Bug 1676671 - [marionette] Register browsers without framescript events when using JSWindowActors r=marionette-reviewers,maja_zf,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D98778
2020-12-10 16:45:58 +00:00
James Graham 5edfffa98b Bug 1680114 - Fix use of iteritems in WebDriver helpers, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99253
2020-12-10 14:10:19 +00:00
Kagami Sascha Rosylight e724df62d2 Bug 1681615 - Detect selection changes through the setters r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D99291
2020-12-10 12:58:04 +00:00
moz-wptsync-bot 597c374b05 Bug 1680883 - [wpt-sync] Update web-platform-tests to b464d69274950c7707855c0b29729d58b9a8d492, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b464d69274950c7707855c0b29729d58b9a8d492
wpt-type: landing
2020-12-10 10:56:58 +00:00
Aleks Totic 101f93ee31 Bug 1680854 [wpt PR 26766] - [TablesNG] Columns take precedence in table-layout:fixed, a=testonly
Automatic update from web-platform-tests
[TablesNG] Columns take precedence in table-layout:fixed

Inside table-layout:fixed, columns always take precedence
over cells.

Updated wpt column widths test.

Bug: 958381, 832323
Change-Id: I07e682d9e41218774889d9517a0e4d652bbecd68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575724
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833995}

--

wpt-commits: b464d69274950c7707855c0b29729d58b9a8d492
wpt-pr: 26766
2020-12-10 10:56:58 +00:00
Chris Dumez ff4fcd7e20 Bug 1680385 [wpt PR 26730] - Add flakiness for webaudio/the-audio-api/the-audiobuffer-interface/ct…, a=testonly
Automatic update from web-platform-tests
Add flakiness for webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html (#26730)

The order of 2 checks done in the tests is undeterministic, causing PASS lines to be printed in
in an inconsistent order and leading to flakiness in WebKit test suite. This patch does the
checks in a deterministic order to address the issue.

Co-authored-by: Chris Dumez <cdumez@apple.com>
--

wpt-commits: 2ab8d794f0c48068703f4d9769bf693ac5b52a3f
wpt-pr: 26730
2020-12-10 10:56:58 +00:00
moz-wptsync-bot dcad070f92 Bug 1680457 [wpt PR 26738] - Update wpt metadata, a=testonly
wpt-pr: 26738
wpt-type: metadata
2020-12-10 10:56:57 +00:00
Francois Beaufort 36b92ac447 Bug 1680457 [wpt PR 26738] - [PTZ] Copy image capture settings when cloning MediaStreamTrack, a=testonly
Automatic update from web-platform-tests
[PTZ] Copy image capture settings when cloning MediaStreamTrack

This CL makes sure all ImageCapture related capabilities, constraints,
and settings are copied to the cloned MediaStreamTrack. This wasn't the
case before.

Bug: 934063
Change-Id: I783d0804e56f46152e1ba02255ff454dd1ba76aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567917
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#833827}

--

wpt-commits: bdffc9f6f513baccaf98efa18eb74a2c0232cc82
wpt-pr: 26738
2020-12-10 10:56:57 +00:00
Miyoung Shin 966f6525a4 Bug 1680774 [wpt PR 26159] - [selectors4] Implement :dir pseudo-class, a=testonly
Automatic update from web-platform-tests
[selectors4] Implement :dir pseudo-class

This patch adds support for the new ":dir" pseudo-class.

The patch is covered by several of tests imported from the web tests
including generic tests in addition to the tests from Firefox and
apart from some minor changes on current tests to add the new selector.

Intent-to-ship thread is available at:
https://groups.google.com/u/1/a/chromium.org/g/blink-dev/c/p0Wc66rbVOc

BUG=576815

Change-Id: I503c6af95d9c5817e3e71b1b2025a5562929f0d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2460849
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833712}

--

wpt-commits: 7741972130489134a88f7873fe9fd0430f33784d
wpt-pr: 26159
2020-12-10 10:56:56 +00:00
Nidhi Jaju 0b4bfd6d11 Bug 1680208 [wpt PR 26714] - Add support for ReadableStreamBYOBReader & ByteStreamController, a=testonly
Automatic update from web-platform-tests
Add support for ReadableStreamBYOBReader & ByteStreamController

This CL adds the main implementation for supporting BYOB readers
and byte stream controllers for readable streams according to
the Streams API standard[1]. As added in previous CLs, this is
done using polymorphism where there are two base classes:
- ReadableStreamGenericReader, and
- ReadableStreamController
which the default/BYOB readers and default/byte stream controllers
inherit from. This approach is further elaborated upon in detail
in the design document[2].

The three main classes that implementation was added for in
this CL are:
1. ReadableStreamBYOBReader
2. ReadableByteStreamController
3. ReadableStreamBYOBRequest

This CL also includes:
- new GetBYOBReader unittest
- UnderlyingSource WebIDL files [3]
among other things for adding the functionality of supporting
readable byte streams.

[1] https://streams.spec.whatwg.org/
[2] https://docs.google.com/document/d/1rvKpGjppeqRSWntokY-ft_hU2i2us8gis6zgrrLWSTI/view#
[3] https://streams.spec.whatwg.org/#underlying-source-api

Bug: 614302
Change-Id: I380258453e6fd5d617810e21fa8996f8f08b26f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537281
Commit-Queue: Nidhi Jaju <nidhijaju@google.com>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833711}

--

wpt-commits: 274af4bd211a011849d035eaeb768d0f447208d9
wpt-pr: 26714
2020-12-10 10:56:56 +00:00
Austin Sullivan cf2b278114 Bug 1680292 [wpt PR 26721] - Add restrictions to allowed extensions for File System Access API, a=testonly
Automatic update from web-platform-tests
Add restrictions to allowed extensions for File System Access API

These restrictions apply to showOpenFilePicker and showSaveFilePicker.

Existing restriction:
- Extension must start with "."

New restrictions:
- Allowed code points: [A-Za-z0-9+.]
- Extension length cannot exceed to 16, inclusive of leading "."
- Extension cannot end with "."
- Extension cannot end with "local" or "lnk"

Bug: 1137247, 1140410, 1140417, 1152327
Change-Id: I593f7ca60e05177402885bd3026add16b3a07d0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568534
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833695}

--

wpt-commits: eb572878163035359e8480d439e7aeb224e51802
wpt-pr: 26721
2020-12-10 10:56:55 +00:00
Andreu Botella 5428ab213b Bug 1680562 [wpt PR 26747] - Add tests for form newline normalization in filenames, a=testonly
Automatic update from web-platform-tests
Add tests for form newline normalization in filenames

--

wpt-commits: a8fad46bc951b7270eb9d92ee3f8875b7245ef3b
wpt-pr: 26747
2020-12-10 10:56:55 +00:00
Adam Rice 033943ace0 Bug 1680047 [wpt PR 26698] - Correctly handle detach during (de)compression, a=testonly
Automatic update from web-platform-tests
Correctly handle detach during (de)compression

Sometimes CompressionStream and DecompressionStream enqueue multiple
output chunks for a single input chunk. When this happens, JavaScript
code can detach the input ArrayBuffer while the stream is processing it.
This will cause an error when zlib tries to read the buffer again
afterwards.

To prevent this, buffer output chunks until the entire input chunk has
been processed, and then enqueue them all at once.

Bug: 1151298
Change-Id: I03fca26fc641d54b09067e3994b76ee8efca6839
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567539
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833659}

--

wpt-commits: 0f98fe9643ca13faec61bce35e40f0d676011745
wpt-pr: 26698
2020-12-10 10:56:55 +00:00
moz-wptsync-bot f70aae1fef Bug 1680370 [wpt PR 26728] - Update wpt metadata, a=testonly
wpt-pr: 26728
wpt-type: metadata
2020-12-10 10:56:54 +00:00
Lan Wei f3672461a6 Bug 1680370 [wpt PR 26728] - Simulate user inputs in pointerevent_fractional_coordinates.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in pointerevent_fractional_coordinates.html

Use testdriver Action API to simulate mouse and touch actions in
pointerevents/pointerevent_fractional_coordinates.html.

Bug: 1145677
Change-Id: I8ec66844c7662a88b9e7cb3d792778e9b6df6f57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568605
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833597}

--

wpt-commits: 35450a5d2eb710e579c1554872247fa3eae7b5e9
wpt-pr: 26728
2020-12-10 10:56:54 +00:00
Emilio Cobos Álvarez 1b0b93c8ca Bug 1680716 - Fix a remaining bit of metadata. r=malexandru
Differential Revision: https://phabricator.services.mozilla.com/D99298
2020-12-10 02:45:19 +00:00
Lee Salzman 43221d6fd5 Bug 1663703 - only allow PathD2D::ContainsPoint to proceed if transform is invertible. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D99177
2020-12-09 12:03:11 +00:00
Sean Feng 89a11b308b Bug 1675857 - Update <dialog> internal styles for spec alignment r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D99146
2020-12-09 16:41:36 +00:00
Scott 6c33bc2dec Bug 1610710 - Potential fix to a failing unit test, A promise chain failed to handle a rejection. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99017
2020-12-09 02:53:06 +00:00
James Graham 8411b28831 Bug 1680716 - Fix mediarecorder metadata, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D99227
2020-12-09 14:35:36 +00:00
Csoregi Natalia 652218e11d Backed out 2 changesets (bug 1679735) for failures on getdisplaymedia-user-activation-consumed.https.html. CLOSED TREE
Backed out changeset 1fcd9c941737 (bug 1679735)
Backed out changeset 5e17b1112257 (bug 1679735)
2020-12-09 09:44:11 +02:00
Karl Tomlinson 7a9d51be77 Bug 1679735 require recent user gesture for getDisplayMedia() r=jib
Previous behavior was to allow requests if the user has ever interacted with
the window.  This patch changes from sticky activation to transient
activation.

WindowContext is used rather than Document for the
HasValidTransientUserGestureActivation() test because user activation is a
property of the Window/global.

The error reported when WindowContext is null is the same as that for missing
transient activation, which is keeping the existing behavior.
https://searchfox.org/mozilla-central/rev/66547980e8e8ca583473c74f207cae5bac1ed541/dom/base/Document.cpp#15806
i.e. a missing WindowContext is still treated as missing transient activation.

Depends on D98274

Differential Revision: https://phabricator.services.mozilla.com/D98275
2020-12-08 21:45:44 +00:00
Karl Tomlinson 73ce7338df Bug 1679735 test getDisplayMedia() after user activation is consumed r=jib
Differential Revision: https://phabricator.services.mozilla.com/D98274
2020-12-09 05:17:23 +00:00
Andrew Erickson fcb3c862e6 Bug 1678163: update win32 hostutils r=m_kato,bc
Differential Revision: https://phabricator.services.mozilla.com/D98827
2020-12-08 23:14:11 +00:00
Razvan Maries 4b5dec5070 Backed out changeset 0c3bb21d00d4 (bug 1675857) for multiple wpt perma failures at HTMLDialogElement. CLOSED TREE 2020-12-09 01:25:42 +02:00
Sean Feng 335e125bcb Bug 1675857 - Update <dialog> internal styles for spec alignment r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D99146
2020-12-08 22:29:44 +00:00
Joel Maher aa94a1b6e4 Summary: Bug 1679892 - add initial schedule of CI config changes in-tree. r=releng-reviewers,aki
add ci-configuration process and schedule of CI config changes in-tree

Differential Revision: https://phabricator.services.mozilla.com/D98252
2020-12-08 21:17:24 +00:00
Sebastian Hengst 7715cf6e7e Bug 1680528 - two corrections to webrtc/mediacapturing expectations on beta and release. r=drno DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99109
2020-12-08 19:11:56 +00:00
Kagami Sascha Rosylight 5a089f37d3 Bug 1680596 - Part 1: Hide <menuitem> behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98684
2020-12-08 05:36:27 +00:00
yulia 2c33431148 Bug 1680901 - Fix Top-level await tests so they do not try to run the nightly-only flag dependant tests on beta or release r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98880
2020-12-08 13:53:52 +00:00
Tom Tung 359588f7b6 Bug 1679371 - Disable navigation-reporting WPTs until we support this feature; r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D97987
2020-12-08 14:50:37 +00:00
Dorel Luca a9ab37d5ae Backed out changeset 2d8408091f2a (bug 1680901) for WPT failures in dynamic-markup-insertion/document-write/module-tla-delayed.html. CLOSED TREE 2020-12-08 15:22:46 +02:00
Butkovits Atila c405a6ab26 Backed out changeset 29bbd5887d66 (bug 1680951) for failure on browser_blockingCookies.js. CLOSED TREE 2020-12-08 14:46:48 +02:00
yulia fea36c6560 Bug 1680901 - Fix Top-level await tests so they do not try to run the nightly-only flag dependant tests on beta or release r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98880
2020-12-08 10:11:34 +00:00
Kagami Sascha Rosylight f7757cbe10 Bug 1680951 - Do not scroll when calling select() r=masayuki
This is intended to be a hotfix for the URL bar regression. Ideally there should be a spec or this behavior should be removed completely.

Previously select() scrolled back to the start position before the regression, but this fix does not restore that behavior.

Differential Revision: https://phabricator.services.mozilla.com/D98972
2020-12-08 07:52:07 +00:00
Ting-Yu Lin 205d403c70 Bug 1679931 Part 3 - Recompute overflow container children's overflow area after moving them in vertical-rl writing-mode. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D98517
2020-12-07 23:30:51 +00:00
Ting-Yu Lin c065c51a1b Bug 1679931 Part 2 - Recompute float children's overflow area after moving them in vertical-rl writing-mode. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D98516
2020-12-07 23:31:37 +00:00
Ting-Yu Lin 61dd350d4f Bug 1663232 - Don't delete a child's next-in-flow if it's going to be reflow again due to clearance. r=emilio
After this patch, the testcase still triggers soft assertions like

  ASSERTION: Placeholder relationship should have been torn down already;
  this might mean we have a stray placeholder in the tree.

We have multiple bugs filed for this assertions such as bug 856269.

Differential Revision: https://phabricator.services.mozilla.com/D90760
2020-12-07 12:45:38 +00:00
Sebastian Hengst 4b5514fa29 Bug 1680528 - set several webrtc/mediacapturing test as passing on beta and release. r=drno DONTBUILD
More details about the underlying issue in bug 1526207.

Differential Revision: https://phabricator.services.mozilla.com/D98963
2020-12-07 20:43:01 +00:00
Cosmin Sabou 48ced6860f Backed out 2 changesets (bug 1680596) for xpcshell and mochitest plain failures. CLOSED TREE
Backed out changeset a5fce6a4b5b9 (bug 1680596)
Backed out changeset 8ea7d760b4a8 (bug 1680596)
2020-12-07 22:02:46 +02:00
Andrew Erickson 92a6feb1ee Bug 1678163: update mac hostutils r=bc
Differential Revision: https://phabricator.services.mozilla.com/D98813
2020-12-07 18:51:02 +00:00
Julian Descottes df6261692f Bug 1678379 - [devtools] Replace DAMP framescript by js window actors r=perftest-reviewers,ochameau
This doesn't fix anything, but it would be cleaner to remove some framescript/mm usage from DAMP

Differential Revision: https://phabricator.services.mozilla.com/D97626
2020-12-07 17:08:26 +00:00
Kagami Sascha Rosylight 5b5178d70c Bug 1680596 - Hide <menuitem> behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98684
2020-12-07 17:03:27 +00:00