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

39899 Коммитов

Автор SHA1 Сообщение Дата
Marco Bonardo d973ff4e31 Bug 1525296 - Remove any remaining references to old search suggestions notifications. r=adw,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50932

--HG--
extra : moz-landing-system : lando
2019-10-29 17:57:10 +00:00
Andrew McCreight 07dc2afa5b Bug 1586393, part 2 - Fix BrowserTestUtils.addContentEventListener() with Fission. r=mconley
The current implementation of addContentEventListener() is centered
around the message manager. When any message manager goes away, it
cleans up everything, which does not work when Fission is enabled and
we do a cross-process navigation.

My new implementation instead uses window actors. Message manager
shared state is used to store the set of expected event listeners. New
windows, after the function is called for the first time in a test,
will get listeners added properly. Of windows that exist at the first
time the function is called in a test, only windows associated with
the BC of the browser that is passed in will get added, which is a
disadvantage relative to the current setup. That could probably be
fixed.

We auto remove at the end of the test, not when any message manager is
torn down, so there's never a need to disable auto removal.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 21:29:02 +00:00
Andrew McCreight 9cdc76e45f Bug 1586393, part 1 - Add test-complete observer notification. r=mconley
This allows generic code, like a testing JSM, to do clean up when a
test completes, in a way that will work in different test suites.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 21:25:02 +00:00
Geoff Brown 8852ffec71 Bug 1592385 - Update test-verify android defaults; r=bc
Android TV has appropriate configuration, so updating these defaults makes
no practical difference, but I think it looks a little more modern.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 20:08:38 +00:00
Henrik Skupin 1ed947aff2 Bug 1587627 - [marionette] Remove `Anon` and `AnonAttribute` strategies from "WebDriver:FindElement" and "WebDriver:FindElements" command. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50804

--HG--
extra : moz-landing-system : lando
2019-10-29 12:55:35 +00:00
Kashav Madan 606d4d405a Bug 1590774 - Fix shutdown leaks in browser_newWindowDrop.js, r=nika
Adds an additional "unload" listener in BrowserTestUtils.browserLoaded to
unregister the original load listener and reject the promise.

This was broken because BrowserTestUtils.waitForNewWindow adds an observer that
fires for every new window. The observer calls BrowserTestUtils.browserLoaded on
all of these windows, and since only one of them loads the URL we care about, we
never unregister the event listeners from the remaining windows.

Depends on D49005

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

--HG--
extra : moz-landing-system : lando
2019-10-29 16:23:42 +00:00
Kashav Madan f1dca37d04 Bug 1578465 - Remove the content-utils.js framescript, r=nika
This also updates the two functions (BrowserTestUtils.firstBrowserLoaded,
browser_broadcastchannel.js#browserFrameLoaded) that rely on the previous
event to use the new one.

Depends on D49001

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

--HG--
extra : moz-landing-system : lando
2019-10-29 16:23:16 +00:00
Kashav Madan 44cb59c817 Bug 1578465 - Make BrowserTestUtils.browserLoaded() Fission-compatiable, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D49001

--HG--
extra : moz-landing-system : lando
2019-10-29 16:23:03 +00:00
Henrik Skupin e90b0f6c10 Bug 1573383 - [firefox-puppeteer] Update docs for PyPI package deprecation. r=webdriver-reviewers,maja_zf a=docs
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-10-29 13:06:14 +00:00
Cosmin Sabou 9abe18698f Bug 1591785 - add expectations for the-autofocus-attribute/first-when-later-but-before.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50900

--HG--
extra : moz-landing-system : lando
2019-10-29 13:03:30 +00:00
Narcis Beleuzu 41e019fb57 Backed out changeset 79be8382d57a (bug 1587627) for bc failures on browser_all_files_referenced.js . CLOSED TREE 2019-10-29 14:06:44 +02:00
Emilio Cobos Álvarez 4825f0f201 Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50556

--HG--
extra : moz-landing-system : lando
2019-10-26 11:37:33 +00:00
Julian Descottes c7eef2fb70 Bug 1590308 - Add 1s wait and GC before teardown in DAMP inspector custom test r=ochameau
This is the smallest change that helps having a clean baseline when we start using "Inspect Element" in the inspector custom test

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:11:54 +00:00
Henrik Skupin e8f5161a31 Bug 1587627 - [marionette] Remove `Anon` and `AnonAttribute` strategies from "WebDriver:FindElement" and "WebDriver:FindElements" command. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50804

--HG--
extra : moz-landing-system : lando
2019-10-28 18:31:17 +00:00
Henrik Skupin a5b86e1d96 Bug 1587627 - [fxui] Update firefox-puppeteer for removal of anonymous nodes. r=webdriver-reviewers,maja_zf
The patch removes the usage of elements based on anonymous nodes,
which are soon to be completely removed. Also code which is no longer
in use by Firefox-UI tests can simply be removed.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:24:57 +00:00
Brian Birtles e50dce95ba Bug 1590971 - Move getAnimations from Document to DocumentOrShadowRoot; r=emilio,baku
This updates the Gecko implementation to match the following change to
the Web Animations spec:

  792453b952 (diff-4c9f5c055fb219a7fcad23a9a7a80b64)

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

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/Document/getAnimations.html => testing/web-platform/tests/web-animations/interfaces/DocumentOrShadowRoot/getAnimations.html
extra : moz-landing-system : lando
2019-10-29 07:13:22 +00:00
Neil Deakin 233e4e8324 Bug 1589664, add BrowserTestUtils methods to listen to observers in the content process, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D49734

--HG--
extra : moz-landing-system : lando
2019-10-29 06:20:40 +00:00
Cosmin Sabou 060e53569b Bug 1591810 - Restore deleted wpt metadata after wpt-sync. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D50897

--HG--
extra : moz-landing-system : lando
2019-10-29 05:40:08 +00:00
Ting-Yu Lin 1ec04a92fd Bug 1580385 - Remove meta files for two writing-mode tests. r=dholbert
normal-flow-overconstrained-vlr-005.xht and
normal-flow-overconstrained-vrl-004.xht have been fixed by blink team
per bug 1580385 comment 1, and Firefox passes them. We can delete the
meta files.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 16:47:20 +00:00
John Dai 3a77b15ccb Bug 1589027 - Fix object.tabIndex should return 0 by default; r=smaug
The spec change HTMLObjectElement tabIndex default to 0, but `test_object_plugin_nav.html` will fail due to HTMLObjectElement’s sequence focus and .focus() rely on default tabIndex. In this patch I separate the logic to not rely on default tabIndex for HTMLObjectElement's plugin type and align the spec.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 15:50:59 +00:00
Karl Tomlinson cddf5bc5cb Bug 1583496 create a subtest name on success to match the subtest for unhandled exception r=jgraham
This is part of an attempt to make subtest names independent of the performance of the test.

Depends on D47024

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

--HG--
extra : moz-landing-system : lando
2019-10-28 09:33:55 +00:00
Cosmin Sabou 3d9436817b Bug 1559028 - Update expectations for default-reader.any.sharedworker.html cause it's now fixed in Bug 1591400. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50732

--HG--
extra : moz-landing-system : lando
2019-10-28 10:53:32 +00:00
David Burns 39b167cd86 Bug 1591400: Have Testharness.js handle errors that do not have a reason property. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50596

--HG--
extra : moz-landing-system : lando
2019-10-28 08:22:19 +00:00
Andreea Pavel 51dc33a7fa Bug 1495002 - disable new_session/create_alwaysMatch.py and new_session/timeouts.py on linux ccov debug for frequent failures r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50672

--HG--
extra : moz-landing-system : lando
2019-10-28 08:20:09 +00:00
Nicolas Chevobbe d76b60f122 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583

--HG--
extra : moz-landing-system : lando
2019-10-27 09:05:58 +00:00
Glenn Watson 16bde5fcfd Bug 1590284 - Construct picture cache slices for scroll roots. r=kvark
With this patch, picture cache slices are constructed each time
a new scroll root is established. This reduces rasterization
cost on pages that have large fixed position elements, and pages
that contain multiple scroll roots.

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

--HG--
extra : moz-landing-system : lando
2019-10-27 19:12:08 +00:00
Rob Wu 20949d82c8 Bug 1591102 - Let SpecialPowers.pushPermissions wait until the permissions have been applied r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D50486

--HG--
extra : moz-landing-system : lando
2019-10-25 03:25:39 +00:00
Cosmin Sabou 6def54af28 Bug 1589629 - update multiple-redirect-https-downgrade-upgrade.tentative.sub.html expectations. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D50731

--HG--
extra : moz-landing-system : lando
2019-10-27 11:21:46 +00:00
Cosmin Sabou 7883bbf180 Bug 1568816 - update redirect-http-upgrade.tentative.sub.html expectations due to frequent failures. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D50730

--HG--
extra : moz-landing-system : lando
2019-10-27 10:38:47 +00:00
Mihai Alexandru Michis 4568fabdaf Merge mozilla-central to autoland. 2019-10-27 01:22:47 +03:00
Mihai Alexandru Michis 7746d49e14 Merge inbound to mozilla-central. a=merge 2019-10-27 01:16:07 +03:00
James Graham 3d2bc35092 Bug 1591151 - Fix markdown-links-in-rst in wptrunner docs, r=maja_zf
MANUAL PUSH: wpt sync fixup

Differential Revision: https://phabricator.services.mozilla.com/D50498
2019-10-24 18:04:57 +01:00
moz-wptsync-bot 8ba4bd7685 Bug 1590325 - [wpt-sync] Update web-platform-tests to 77fef948b146cf3690565b6215465c637b76d02a, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 77fef948b146cf3690565b6215465c637b76d02a
wpt-type: landing
2019-10-24 18:04:56 +01:00
Raphael Kubo da Costa 74af8ab4fc Bug 1590062 [wpt PR 19803] - Update wake-lock's META.yml, a=testonly
Automatic update from web-platform-tests
Update wake-lock's META.yml (#19803)

* Sort suggested_reviewers alphabetically
* Add myself to suggested_reviewers
* Add @reillyeon to suggested_reviewers
--

wpt-commits: 77fef948b146cf3690565b6215465c637b76d02a
wpt-pr: 19803
2019-10-24 18:04:53 +01:00
moz-wptsync-bot 5a847fb344 Bug 1589822 [wpt PR 19795] - Update wpt metadata, a=testonly
wpt-pr: 19795
wpt-type: metadata
2019-10-24 18:04:52 +01:00
Victor Costan a01d03af57 Bug 1589822 [wpt PR 19795] - IndexedDB: Mark transactions inactive during structured cloning., a=testonly
Automatic update from web-platform-tests
IndexedDB: Mark transactions inactive during structured cloning.

Bug: 1016038
Change-Id: I3faa9e5071e09a5923e9321fc1449431f22ca666
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869384
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708006}

--

wpt-commits: fee6738f9523f5e257accfaea8ddfef2e28cfbcd
wpt-pr: 19795
2019-10-24 18:04:52 +01:00
Nicolás Peña Moreno 6b523aba2d Bug 1590219 [wpt PR 19813] - [ElementTiming] Cleanup window.location.href usage in tests, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Cleanup window.location.href usage in tests

This CL removes window.location.href usage in element-timing tests and
uses window.location.origin instead, which makes the pathname
computation cleaner. It also adds t.step_func where it is missing.

Change-Id: Iabaac33eb65f9ed24f68e7fa583c8de05d1264c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872762
Reviewed-by: Tom McKee <tommckee@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707954}

--

wpt-commits: e42570fe16dd112aeacad78eb011daca434629a0
wpt-pr: 19813
2019-10-24 18:04:51 +01:00
moz-wptsync-bot 57ff51221e Bug 1590213 [wpt PR 19812] - Update wpt metadata, a=testonly
wpt-pr: 19812
wpt-type: metadata
2019-10-24 18:04:51 +01:00
Nicolás Peña Moreno d589ea4768 Bug 1590213 [wpt PR 19812] - [ElementTiming] Allow empty but present elementtiming attribute, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Allow empty but present elementtiming attribute

This CL changes the behavior in cases where the elementtiming attribute
is set but not to a specific value, so that the affected elements are
considered registered for observation. It also adds a test with image
and text testcases. This follow the spec change at
https://github.com/WICG/element-timing/pull/38

Bug: 1011009
Change-Id: If33f55b0992545e6e13f108b923bbcfc546f4d33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1871638
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707947}

--

wpt-commits: 6174e0943360abb81f64a54205a7782531cddcaa
wpt-pr: 19812
2019-10-24 18:04:51 +01:00
Olga Gerchikov 80b04aa339 Bug 1589529 [wpt PR 19774] - [Reland] Composited Worklet Animations: Fixed updating local time on main thread., a=testonly
Automatic update from web-platform-tests
[Reland] Composited Worklet Animations: Fixed updating local time on main thread.

The original CL caused flakiness of /virtual/threaded/animations/animationworklet* tests
(crbug.com/1014966). The reason for the flakiness is change in timing of main thread effect local
time update.

Reverted CL: https://chromium-review.googlesource.com/c/chromium/src/+/1826872
The reverted CL is in Patchset 1.
Patchset 2 fixes the tests by explicitly waiting for the effects to change.

This CL changes how local time of composited worklet animations is updated on main thread:
instead of polling local time on main thread, the local time is posted via animation events
by the composited thread to the main thread.

Design document: https://docs.google.com/document/d/1vUxaKBLDHQv9ACJUQJH4RXjuQTlWIsSiAFYkMrjccyc/edit?usp=sharing

Changes made:
- Expanded AnimationEvent to support worklet animation time update event type.
- Reused existing mechanism of posting animation events to the main thread to support new
  event type.
- Removed "peek" logic.
- Enabled tests that previously failed.

Bug: 943787
Change-Id: I9a2965f204cad15b405be82305c38788c0eafd62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864518
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#707904}

--

wpt-commits: f256ed473b61236ab154e21797c8b96436062bb0
wpt-pr: 19774
2019-10-24 18:04:50 +01:00
autofoolip 8e6412c8c6 Bug 1590192 [wpt PR 19810] - Update interfaces/payment-handler.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/payment-handler.idl (#19810)

Source: https://github.com/tidoust/reffy-reports/blob/8a7bd49/ed/idl/payment-handler.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/600898139
--

wpt-commits: 7e7d055595e5ea4316c196258797a03bc0c08aa9
wpt-pr: 19810
2019-10-24 18:04:50 +01:00
Kenichi Ishibashi e5782eb47d Bug 1587694 [wpt PR 19613] - Update service_worker_unregister_and_register(), a=testonly
Automatic update from web-platform-tests
Update service_worker_unregister_and_register()

Allows callsites of this helper function to pass RegistrationOptions.
It will be useful for testing module service workers.

Bug: 824647
Change-Id: Idc9a5c012144da46dfc4d692ce26df9f604a6ea1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851624
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704963}

--
Stop using default parameters in service_worker_unregister_and_register()

The previous CL (crrev.com/c/1851624) seemed to make some tests flaky.
I'm not sure the exact reason. This CL attempts to fix flakiness by not
using default parameters.

Bug: N/A
Change-Id: Ia6fae23881704e4eb41e33ebe3e22e89872d7f87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866093
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707713}

--

wpt-commits: 9cb445cb5b453bc5aecb0c349ab062627bcefe10, 9c6848c2e4d7284ba326fe7898c6616c9b29854d
wpt-pr: 19613
2019-10-24 18:04:49 +01:00
moz-wptsync-bot a39f27f47c Bug 1589288 [wpt PR 19747] - Update wpt metadata, a=testonly
wpt-pr: 19747
wpt-type: metadata
2019-10-24 18:04:49 +01:00
Kent Tamura eb7a052111 Bug 1589288 [wpt PR 19747] - autofocus: Change the timing of 'flush autofocus candidates', a=testonly
Automatic update from web-platform-tests
autofocus: Change the timing of 'flush autofocus candidates'

* ScriptedAnimationController kicks Document::FlushAutofocusCandidates
Now ScriptedAnimationController takes into account of existence of
autofocus candidates.

* Document::FlushAutofocusCandidates needs to call
  UpdateStyleAndLayoutTree() for each of candidates.
IsFocusable() needs up-to-date style. UpdateStyleAndLayoutTree() was
unnecessary because FlushAutofocusCandidates() was called after
layout.

Bug: 1015275
Change-Id: I06dcb9b3cd2564d35fba3f893e7ce4b8736c91bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863067
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707201}

--

wpt-commits: fd4814ce7fcc4d6c23c73aac62daa8299feb0510
wpt-pr: 19747
2019-10-24 18:04:48 +01:00
moz-wptsync-bot 752d122deb Bug 1590079 [wpt PR 19805] - Update wpt metadata, a=testonly
wpt-pr: 19805
wpt-type: metadata
2019-10-24 18:04:48 +01:00
Stephen McGruer e348e88e01 Bug 1590079 [wpt PR 19805] - s/NFC/NDEF/g in NFC interfaces and dictionaries, a=testonly
Automatic update from web-platform-tests
s/NFC/NDEF/g in NFC interfaces and dictionaries (#19805)

This CL renames NFCReader to NDEFReader, NFCWriter to NDEFWriter,
NFCReadingEvent to NDEFReadingEvent, NFCScanOptions to NDEFScanOptions,
NFCPushOptions to NDEFPushOptions, and NFCError to NDEFError as
suggested in Web NFC spec at https://github.com/w3c/web-nfc/pull/392

Bug: 520391
Change-Id: Ifc7d26d68b76bbf771a83cba94fc275819c28cfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869227
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#707736}
--

wpt-commits: 9f8e5f67582ccdef98faa436aa5996f2b6ffe207
wpt-pr: 19805
2019-10-24 18:04:47 +01:00
moz-wptsync-bot 5bbe31f9d1 Bug 1589735 [wpt PR 19790] - Update wpt metadata, a=testonly
wpt-pr: 19790
wpt-type: metadata
2019-10-24 18:04:47 +01:00
Domenic Denicola dfdbf0331e Bug 1589735 [wpt PR 19790] - Fix URL setter tests for gopher no longer being special, a=testonly
Automatic update from web-platform-tests
Fix URL setter tests for gopher no longer being special

Part of https://github.com/whatwg/url/issues/455.
--

wpt-commits: 43feb7f612fe9160639e09a47933a29834904d69
wpt-pr: 19790
2019-10-24 18:04:46 +01:00
moz-wptsync-bot 4e5aa71f39 Bug 1456065 [wpt PR 10571] - Update wpt metadata, a=testonly
wpt-pr: 10571
wpt-type: metadata
2019-10-24 18:04:46 +01:00
Ms2ger 9801abfea3 Bug 1456065 [wpt PR 10571] - Make a check for the initial value of selectionDirection less strict., a=testonly
Automatic update from web-platform-tests
Make a check for the initial value of selectionDirection less strict. (#10571)

Only run tests for the non-applicability of the selection API for supported types.

There's little point in running these tests; they should all fail, because
browsers will fall back to the 'text' type, which does support the API.

I didn't make the test fail if one of the types is not supported; there's
already a number of tests for that, and it isn't really the point of this one.
--

wpt-commits: b25863a805ab244fddb460cce3f6ebf62af12e70
wpt-pr: 10571
2019-10-24 18:04:45 +01:00