Commit Graph

687661 Commits

Author SHA1 Message Date
Timothy Gu
c9939bb40b Bug 1608009 [wpt PR 21103] - html: Add validation tests for <input type=time> with reversed range, a=testonly
Automatic update from web-platform-tests
html: Add validation tests for <input type=time> with reversed range (#21103)

See https://html.spec.whatwg.org/C/#the-min-and-max-attributes.
--

wpt-commits: a90a8327b3b3b4e3c91f35b0a6a8943c59159657
wpt-pr: 21103
2020-01-14 10:30:09 +00:00
moz-wptsync-bot
0ad3da04a8 Bug 1607373 [wpt PR 21059] - Update wpt metadata, a=testonly
wpt-pr: 21059
wpt-type: metadata
2020-01-14 10:30:08 +00:00
Kent Tamura
cf5219a7df Bug 1607373 [wpt PR 21059] - Radio buttons should make a group even if they are disconnected and not owned by a form, a=testonly
Automatic update from web-platform-tests
Radio buttons should make a group even if they are disconnected and not owned by a form

If a radio button is connected or owned by a form, radio button
groups are managed by RadioButtonGroupScope in order to complete
various operations for a group in O(1).
Otherwise, we did not assume a radio button belonged to any
groups.  It didn't conform to the HTML standard, and was not
interoperable with Firefox.

After this CL, such radio buttons are grouped without
RadioButtonGroupScope's help. We iterate over the tree including
the target radio buttons to find a checked button in the group or
|required| attribute in the group.

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

--

wpt-commits: c171dad65cd054f73ebf92133e477ffdaa38c3a1
wpt-pr: 21059
2020-01-14 10:30:08 +00:00
Daniel Vogelheim
412c25a9c3 Bug 1606817 [wpt PR 21020] - Apply CSP to 'DOMParser.parseFromString' documents., a=testonly
Automatic update from web-platform-tests
Apply CSP to 'DOMParser.parseFromString' documents.

This applies the CSP of the context document to any doc created by calling
DOMParser.parseFromString. The original implementation, as it returned a
pointer to the CSP instance of the context document, which (in some
circumstances) could mean that the CSP of the context document itself was
modified. This makes a copy of the context document's CSP, before assigning it
to the newly created document.

This re-reverts / re-lands
  1975710: Revert CSP application to `DOMParser.parseFromString`.
  1917532: [Trusted Types] Fix Trusted Types for other document types

Bug: 1030830, 951536
Change-Id: I33adff8c376a6f37788c9aee0ef7ca0c3441785f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980183
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729496}

--

wpt-commits: 0b654aa23ecd6e2f7483bbd6be01bf3c705a4a44
wpt-pr: 21020
2020-01-14 10:30:07 +00:00
haozhe
c78db68230 Bug 1606140 [wpt PR 20927] - Port css-masking related composition tests to external, a=testonly
Automatic update from web-platform-tests
Port css-masking related composition tests to external

Chrome and firefox passes all

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

--

wpt-commits: 1e4fe2739f950049fea76bdf1759ad39458f3879
wpt-pr: 20927
2020-01-14 10:30:07 +00:00
moz-wptsync-bot
284b169c59 Bug 1606663 [wpt PR 21000] - Update wpt metadata, a=testonly
wpt-pr: 21000
wpt-type: metadata
2020-01-14 10:30:06 +00:00
haozhe
5ea9e41420 Bug 1606663 [wpt PR 21000] - Port css-transform related composition tests to external, a=testonly
Automatic update from web-platform-tests
Port css-transform related composition tests to external

Chrome passes all and
firefox failed the translate-composition due to expect 'None' and got '0px'
Bug Filed:https://bugzilla.mozilla.org/show_bug.cgi?id=1607313

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

--

wpt-commits: 2131c310151ff4b76d9b69a8e3b2106b1dd66431
wpt-pr: 21000
2020-01-14 10:30:06 +00:00
haozhe
4d86f8b938 Bug 1606699 [wpt PR 21006] - Port css-position related composition tests to external, a=testonly
Automatic update from web-platform-tests
Port css-position related composition tests to external

Chrome and Firefox pass all

Bug: 1034538

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

--

wpt-commits: 57119ba2c3177038126580db1fd19224c4eef771
wpt-pr: 21006


--HG--
rename : testing/web-platform/tests/css/css-position/animation/position-interpolation.html => testing/web-platform/tests/css/css-position/animations/position-interpolation.html
2020-01-14 10:30:05 +00:00
haozhe
b023b73133 Bug 1607323 [wpt PR 21056] - Port css-transition related composition tests to external, a=testonly
Automatic update from web-platform-tests
Port css-transition related composition tests to external

Both chrome and firefox passed

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

--

wpt-commits: 3fd2ac30defc4252673661c56b1bfd89cd1416d8
wpt-pr: 21056
2020-01-14 10:30:05 +00:00
haozhe
bf0c5bc0a3 Bug 1606698 [wpt PR 21005] - Port css-color related composition tests to external, a=testonly
Automatic update from web-platform-tests
Port css-color related composition tests to external

Chrome and FF pass all
Bug: 1034538

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

--

wpt-commits: 56c1848f947b44b1e144b13f8c47f4ec37e00dbb
wpt-pr: 21005
2020-01-14 10:30:04 +00:00
haozhe
e2913a80ca Bug 1606686 [wpt PR 21001] - Port css-flexbox related composition to external, a=testonly
Automatic update from web-platform-tests
Port css-flexbox related composition to external

Both Chrome and Firefox pass the test

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

--

wpt-commits: 3ebfc1155760fc0be7cb75abe85c03ecddd30368
wpt-pr: 21001
2020-01-14 10:30:04 +00:00
moz-wptsync-bot
788d3f3576 Bug 1606072 [wpt PR 20923] - Update wpt metadata, a=testonly
wpt-pr: 20923
wpt-type: metadata
2020-01-14 10:30:04 +00:00
Mike West
a59cc0543a Bug 1606072 [wpt PR 20923] - Reject cookies with empty names and values., a=testonly
Automatic update from web-platform-tests
Reject cookies with empty names and values.

As discussed in [1], cookies with empty names and empty values should be
rejected. This patch removes the carveout made in https://crbug.com/601786,
and adjusts unittests accordingly.

This patch does not change the WPT expectations; we'll do that at the same
time we change the spec. In the meantime, we'll check in local expectations
matching the behavior we believe is correct.

[1]: https://github.com/httpwg/http-extensions/issues/159#issuecomment-569233866

Bug: 1037996, 601786
Change-Id: I53319cee385efff019b313479184236c53b1d783
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1982549
Reviewed-by: Lily Chen <chlily@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729403}

--

wpt-commits: 3adc15d3ba2e20e9ae79daf019cb784934f0fa7f
wpt-pr: 20923
2020-01-14 10:30:03 +00:00
James Graham
572a2406f8 Bug 1607805 [wpt PR 21088] - Temporarily disable allowed-to-play.html test in Firefox, a=testonly
Automatic update from web-platform-tests
Temporarily disable allowed-to-play.html test in Firefox

This is causing timeouts in unrelated infra PRs. The bug is tracked in
https://bugzilla.mozilla.org/show_bug.cgi?id=1607802 and the test
should be reenabled once that bug is fixed.

--

wpt-commits: 0d874bb07e639c521b044164e80b5df2aada5aeb
wpt-pr: 21088
2020-01-14 10:30:03 +00:00
moz-wptsync-bot
81d769532c Bug 1603525 [wpt PR 20751] - Update wpt metadata, a=testonly
wpt-pr: 20751
wpt-type: metadata
2020-01-14 10:30:02 +00:00
Kaan Alsan
7d97d10fbb Bug 1603525 [wpt PR 20751] - [css-scroll-snap] Allow style changes to invalidate snap data, a=testonly
Automatic update from web-platform-tests
[css-scroll-snap] Allow style changes to invalidate snap data

All snap container data was only updated and re-snapped after layout
changes. However, this invalidation needs to sometimes happen after
style changes too (such as changing 'scroll-snap-align').

Now, PaintLayerScrollableArea has flags for indicating that it needs
to update its snap container data, which are set during certain style
changes and layout changes. Then all snap container data that has the
flag set will be updated, and attempt to re-snap if any data changes.

This also prevents us from updating snap containers that haven't
changed.

The follow-up for this is to invalidate snap containers when changing
the transform property of their content.

Bug: 984794,1028316
Change-Id: I432500df98fdbe63e3b7eed3ba43e05465f9d873
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1962567
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729345}

--

wpt-commits: 09a5ffbe707cfae350728188527f6fe8cabc884d
wpt-pr: 20751
2020-01-14 10:30:02 +00:00
moz-wptsync-bot
3c238396be Bug 1607540 [wpt PR 21074] - Update wpt metadata, a=testonly
wpt-pr: 21074
wpt-type: metadata
2020-01-14 10:30:01 +00:00
Ben Kelly
d933b61aa8 Bug 1607540 [wpt PR 21074] - CacheStorage: Set opaque mode for code cache., a=testonly
Automatic update from web-platform-tests
CacheStorage: Set opaque mode for code cache.

This CL restores code to set the V8 code cache generation opaque mode
based on the response tainting.  It was previously incorrectly removed
in crrev.com/c/1828726.

This CL adds a test that verifies scripts loaded from cache_storage are
treated as opaque when appropriate.  It has been verified to fail
without the fixed code.

The CL also fixes an incorrect DCHECK that the test triggers.  The
assumption in the DCHECK was incorrect and should instead be a runtime
check.

Bug: 1037701
Change-Id: I894b30ad9dac6c3a47e1b5f325ee7906768b57f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988675
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729327}

--

wpt-commits: 81c0fbb492fae66728077460e69b3161415bd24a
wpt-pr: 21074
2020-01-14 10:30:01 +00:00
Blink WPT Bot
5c0b45a9f6 Bug 1606784 [wpt PR 21016] - [webnfc] Provide more detailed error message, a=testonly
Automatic update from web-platform-tests
[webnfc] Provide more detailed error message (#21016)

Previously, when some errors happened in Device Service for
pushing/watching, an enum error type is passed to Blink. Based on this
enum Blink will 1) select a DOMExceptionCode and 2) create an
appropriate error message, then construct a DOMException to expose to JS.

However, usually the error message created above by Blink is just a
generic message that cannot express any detailed information about
how/why the error happened.

This CL switches to let Device Service (the exact place errors happened)
generate the error message with more helpful information and pass it
together with the enum error type to Blink.

BUG=995210

Change-Id: I37cff489d3d68337527e5db3681088e8f9e94213
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986625
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729257}

Co-authored-by: Han Leon <leon.han@intel.com>

--

wpt-commits: 6777a42cfed14960ffb7bb20c01c091857652ba9
wpt-pr: 21016
2020-01-14 10:30:00 +00:00
Blink WPT Bot
74a17e1c05 Bug 1606788 [wpt PR 21017] - [webnfc] NDEFScanOptions#mediaType being undefined means do not filter, a=testonly
Automatic update from web-platform-tests
[webnfc] NDEFScanOptions#mediaType being undefined means do not filter (#21017)

And the empty string should just match on empty.

The spec change:
https://github.com/w3c/web-nfc/pull/496
https://github.com/w3c/web-nfc/pull/498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}

Co-authored-by: Han Leon <leon.han@intel.com>

--

wpt-commits: 32cb1cf1ba99807715ab5a4184f62e39c47d18f7
wpt-pr: 21017
2020-01-14 10:30:00 +00:00
moz-wptsync-bot
9b0fa64bc0 Bug 1605205 [wpt PR 20874] - Update wpt metadata, a=testonly
wpt-pr: 20874
wpt-type: metadata
2020-01-14 10:29:59 +00:00
jugglinmike
6d8008afd7 Bug 1605205 [wpt PR 20874] - [html] Update COOP tests, a=testonly
Automatic update from web-platform-tests
[html] Update COOP tests

The possible values of the `Cross-Origin-Opener-Policy` header have
changed since these tests were authored:

- `same-origin unsafe-allow-outgoing` is now `same-origin-allow-popups`
- `same-site` and `same-site unsafe-allow-outgoing` have been removed
  and no equivalent value is available
- `unsafe-inherit` is now `unsafe-none`

Reflect these changes in the relevant tests. Introduce cases for the
removed values to ensure that they are no longer honored.

Additional stability fixes:

- Mark more tests as long timeout.
- Split up some tests that were taking too long to run.
- Remove one use of step_timeout and tweak 2 other instances.

Co-authored-by: Simon Pieters <zcorpan@gmail.com>
--

wpt-commits: a1e7a4e87e0c752caff7321636a599e56b4be13c
wpt-pr: 20874


--HG--
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin-unsafe-allow-outgoing.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/coop-navigated-popup.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site-unsafe-allow-outgoing.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-site.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.headers
rename : testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin.https.html.headers => testing/web-platform/tests/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.headers
2020-01-14 10:29:59 +00:00
moz-wptsync-bot
f858570bc8 Bug 1607674 [wpt PR 21079] - Update wpt metadata, a=testonly
wpt-pr: 21079
wpt-type: metadata
2020-01-14 10:29:59 +00:00
Ms2ger
a737606655 Bug 1607674 [wpt PR 21079] - Add a WindowProxy definition to html/dom/idlharness.worker.js., a=testonly
Automatic update from web-platform-tests
Add a WindowProxy definition to html/dom/idlharness.worker.js

--

wpt-commits: 638a14f5d9cc2c550cd80c409b47ba088f485039
wpt-pr: 21079
2020-01-14 10:29:58 +00:00
moz-wptsync-bot
c8b8795ab4 Bug 1607451 [wpt PR 21069] - Update wpt metadata, a=testonly
wpt-pr: 21069
wpt-type: metadata
2020-01-14 10:29:58 +00:00
Rob Buis
6e12175394 Bug 1607451 [wpt PR 21069] - Fix style section to return text/css, a=testonly
Automatic update from web-platform-tests
Fix style section to return text/css (#21069)

Since this is being referenced by link elements, the content type
should be text/css and also a stylesheet should be returned rather
than html.
--

wpt-commits: 05d01eb71d168d1f1e4c8edc16e62cf0c1548e92
wpt-pr: 21069
2020-01-14 10:29:57 +00:00
Gijs Kruitbosch
ef94750f32 Bug 1608106 - fix drag space label contrast in dark lwthemes, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D59368

--HG--
extra : moz-landing-system : lando
2020-01-14 03:30:52 +00:00
Valentin Gosu
07bb31d4d8 Bug 1608207 - Make sure TRR requests don't use the HTTP cache r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59769

--HG--
extra : moz-landing-system : lando
2020-01-14 08:50:07 +00:00
Gabriele Svelto
e62e144c3c Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-14 10:08:52 +00:00
Nicolas Chevobbe
597ca0a67b Bug 1603012 - Fix intermittent failure on browser_console_context_menu_entries. r=Honza.
The error message isn't really explicit, but wrapping the call
to toggleBrowserConsole in a try/catch block seems to remove
the test failure.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 09:17:21 +00:00
Chris H-C
cf8c71f680 Bug 1591564 - Initialize the Glean SDK off the main thread r=janerik
Glean init does some I/O which is forbidden on the main thread (especially
during startup). Though not recommended for mobile platforms, let's init it
off the main thread.

Later versions of the Glean SDK might take care of off-thread I/O during init.
But for now, let's do it ourselves.

Depends on D59532

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

--HG--
extra : moz-landing-system : lando
2020-01-14 09:16:46 +00:00
Chris H-C
642de9ce47 Bug 1591564 - Run rustfmt on FOGotype r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D59532

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:41 +00:00
Chris H-C
58b3cdb0b7 Bug 1591564 - Use Rust string types with std::thread r=froydnj,janerik
The end of the std::thread at process end didn't seem to release the owned
nsStringBuffer in a way that refcounting liked. So let's copy the nsAString
into an owned String, move it into the thread's closure, and convert it as
necessary to an nsAString when we invoke pingsender.

Not the most efficient, but it doesn't have to be. This is prototype code
that will be removed.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:33 +00:00
Chris H-C
ef4c665921 Bug 1591564 - Use nsIProcess instead of std::process::Command r=janerik,gsvelto
nsIProcess is the tried-and-true method for launching utility subprocesses on
Firefox Desktop's supported platforms. Use that.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:31 +00:00
Chris H-C
a02b492d20 Bug 1591564 - Update glean-preview to 0.0.4 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D57977

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:24 +00:00
Chris H-C
c160ad338d Bug 1591564 - Debug log when failing to send pings r=janerik,emilio
Differential Revision: https://phabricator.services.mozilla.com/D57359

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:16 +00:00
Chris H-C
1837a21900 Bug 1591564 - Convert FOGotype Glean pings to pingsender format and send them r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D57108

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:09 +00:00
Chris H-C
7a3a7740e9 Bug 1591564 - Determine from the pref whether Glean upload is enabled r=janerik,emilio
Since we're the only one sending data, and we're doing so infrequently, let's
get the pref value before each ping send instead of building a pref observer
right this second.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 18:52:06 +00:00
Chris H-C
b014c0bbdb Bug 1591564 - Assemble a 'prototype' ping every hour. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D57106

--HG--
extra : moz-landing-system : lando
2020-01-13 18:51:59 +00:00
Chris H-C
b39376226a Bug 1591564 - Initialize the FOGotype when Telemetry inits r=janerik,emilio
Differential Revision: https://phabricator.services.mozilla.com/D57105

--HG--
extra : moz-landing-system : lando
2020-01-13 18:51:51 +00:00
Marco Castelluccio
1ea515c8cc Bug 1608084 - Disable webdriver/tests/minimize_window/user_prompts.py as it is consistently timing out in the Linux coverage build. r=whimboo
Depends on D59792

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:14:53 +00:00
Marco Castelluccio
48de34fa38 Bug 1608956 - Disable webdriver/tests/close_window/close.py as it is consistently timing out in the Linux coverage build. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D59792

--HG--
extra : moz-landing-system : lando
2020-01-14 07:15:02 +00:00
Florin Strugariu
427855983b Bug 1587387 Ignore error 572 when stoping mitmproxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D59743

--HG--
extra : moz-landing-system : lando
2020-01-14 08:21:42 +00:00
Dimi Lee
10c00c38cf Bug 1600878 - P3. Do not store contentBlockingEvent in RemoteSecurityUI.jsm r=timhuang,Ehsan
ContentBlockingEvents is now accessed via WindowGlobalActor::ContentBlockingEvents.
Updating and storing contentBlockingEvent in RemoteSecurityUI are no longer needed.

Depends on D55622

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:27 +00:00
Dimi Lee
27d4d88bfe Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Dimi Lee
1a3ae49197 Bug 1600878 - P1. Add contentBlockingEvent attribute to WindowGlobalActors.webidl r=timhuang,Ehsan
This allows us to access contentBlockingEvents in the parent process
through a WindowGlobalParent object.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:25 +00:00
Tarek Ziadé
9bb6e90df8 Bug 1565027 - check browsertime node install
Teach `mach browsertime` to tell you to `mach browsertime --setup` if we're not already set up

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

--HG--
extra : moz-landing-system : lando
2020-01-14 08:14:35 +00:00
Tarek Ziadé
c1555abb86 Bug 1607522 - hard stop if Pillow or pyssim could not be installed r=nalexander
Let's stop if the packages could not be installed.
Also, let's skip the call if we find them.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 08:04:54 +00:00
Masayuki Nakano
90cd2122dd Bug 970802 - part 5: Make AutoEditActionDataSetter created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:18:51 +00:00
Masayuki Nakano
18b65250c8 Bug 970802 - part 4: Make TextControlState dispatch "beforeinput" event if there is no TextEditor r=smaug
If `TextControlState` does not have `TextEditor` and its `SetValue()` is called
from `SetUserInput()`, `TextControlState` itself needs to dispatch `beforeinput`
event.

If the value is modified by `beforeinput` event listener, it's intended that
`preventDefault()` is called by the web apps.  However, the behavior in this
case is not mentioned by UI Events nor Input Events spec.  We should just file
a spec issue instead of emulating Chrome's behavior for now because it requires
more changes, but this case must be an edge case.
The spec issue is: https://github.com/w3c/input-events/issues/106

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:16:34 +00:00