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

645259 Коммитов

Автор SHA1 Сообщение Дата
Sam Sneddon b972d1435a Bug 1536223 [wpt PR 15842] - Drop item.meta_key as we only need hashes to depend on test ID, a=testonly
Automatic update from web-platform-tests
Drop item.meta_key as we only need hashes to depend on test ID

We used to rely on hash(item) changing to update the manifest; we
haven't had that (dubious) behaviour in many years now, so all this
can go.

--
fixup! Drop item.meta_key as we only need hashes to depend on test ID

--

wpt-commits: 702c8f03a81135e52341a3a288d055f086f90b6f, 96dd05afd40377e90acd1da0599846be65fa8001
wpt-pr: 15842
2019-04-01 14:43:44 +01:00
moz-wptsync-bot a1c0fd516a Bug 1536218 [wpt PR 15510] - Update wpt metadata, a=testonly
wpt-pr: 15510
wpt-type: metadata
2019-04-01 14:43:43 +01:00
L. David Baron 92b020c8bc Bug 1536218 [wpt PR 15510] - Add one test for "Update the Rendering" section of HTML., a=testonly
Automatic update from web-platform-tests
Add one test for "Update the Rendering" section of HTML. (#15510)

I'm hoping to write a bunch of tests for this section, as part of the
investigation of w3ctag/design-reviews#72, and this is the first one.
It tests that request animation frame callbacks happen in the correct
order across multiple documents.

Gecko, Chromium, and WebKit all fail in different (and nondeterministic)
ways, although I've seen occasional passes.
--

wpt-commits: 9e96f63ccd0a6e2f5f6511ff1aa8aaaa708b494f
wpt-pr: 15510
2019-04-01 14:43:43 +01:00
Rob Buis 5ce0535301 Bug 1536214 [wpt PR 15838] - Test linethickness with unitless zero, a=testonly
Automatic update from web-platform-tests
Test linethickness with unitless zero

--
Merge pull request #15838 from rwlbuis/zero_unitless

Test linethickness with unitless zero
--

wpt-commits: 2ddeacbbebed05177b984798447e390efce5a824, 93d8f9c82ab0c9c954dac9432de9b93e658f7238
wpt-pr: 15838
2019-04-01 14:43:43 +01:00
Yoav Weiss 050bc95e6b Bug 1535814 [wpt PR 15782] - [resource-timing] Add TAO null check tests and make sure they pass, a=testonly
Automatic update from web-platform-tests
[resource-timing] Add TAO null check tests and make sure they pass

This CL brings in the pending test [1] for a null TAO check and opaque
origins, adds another test to make sure only case-sensitive "null" is
taken into account, and changes the TAO implementation to actually pass
the tests.

[1] https://github.com/web-platform-tests/wpt/pull/13507

Change-Id: I1656d5a5cf2a833ada4dc83278eda0a07cec66c7

BUG=940898

Change-Id: I1656d5a5cf2a833ada4dc83278eda0a07cec66c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1517653
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#641123}

--

wpt-commits: b90e1587455350962c4efc39b7c1bbf588d6ab64
wpt-pr: 15782
2019-04-01 14:43:42 +01:00
moz-wptsync-bot 663fed4855 Bug 1535905 [wpt PR 15803] - Update wpt metadata, a=testonly
wpt-pr: 15803
wpt-type: metadata
2019-04-01 14:43:42 +01:00
Wanming Lin 35c5dbedfb Bug 1535905 [wpt PR 15803] - [wake-lock] Adapted the rest tests to latest spec, a=testonly
Automatic update from web-platform-tests
[wake-lock] Adapted the rest tests to latest spec (#15803)

* [wake-lock] Adapted the rest tests to latest spec

- Remove wakelock-api.https.html as I believe they should be
  covered by IDL tests
- Remove wakelock-cancel-twice.https.html, wakelockrequest-is-independent.https.html,
  wakelock-promise.https.html as those APIs had been changed, I will add
  tests for the new ones in a follow-up.

--

wpt-commits: ea2ee737f8f7e50a1ab26c98ecebe528dc0197b4
wpt-pr: 15803
2019-04-01 14:43:42 +01:00
moz-wptsync-bot 95dc11d2f3 Bug 1535899 [wpt PR 15800] - Update wpt metadata, a=testonly
wpt-pr: 15800
wpt-type: metadata
2019-04-01 14:43:41 +01:00
Wanming Lin 29cb8bb80d Bug 1535899 [wpt PR 15800] - [wake-lock] Adapted IDL tests to latest spec, a=testonly
Automatic update from web-platform-tests
[wake-lock] Adapted IDL tests to latest spec (#15800)

--

wpt-commits: 8ab29ab9f6ccec92deb35fff33fceb0862916852
wpt-pr: 15800
2019-04-01 14:43:41 +01:00
kaixinjxq 72bc5ecfa2 Bug 1536204 [wpt PR 15832] - Fix web-nfc code error., a=testonly
Automatic update from web-platform-tests
Fix web-nfc code error. (#15832)

--

wpt-commits: 4acb8924f765913a520d5f6fefbc8c870e500476
wpt-pr: 15832
2019-04-01 14:43:41 +01:00
moz-wptsync-bot b56afc3a7b Bug 1535923 [wpt PR 15811] - Update wpt metadata, a=testonly
wpt-pr: 15811
wpt-type: metadata
2019-04-01 14:43:40 +01:00
Anders Hartvoll Ruud f16ab36dce Bug 1535923 [wpt PR 15811] - [css-properties-values-api] Compute <length> values to px., a=testonly
Automatic update from web-platform-tests
[css-properties-values-api] Compute <length> values to px.

According to the spec, the computed value of <length> registered properties
is the absolute value expressed in pixels. Currently, we are only behaving
correctly if the value is a calc() or if the CSSPrimitiveValue contains a
relative unit (e.g. em). This means that values like '1in' would not be
expressed in pixels.

As of this CL, we absolutize any <length> which isn't already a simple
(non-calc) px value.

R=futhark@chromium.org

Bug: 641877
Change-Id: Idec079671a094952e122847fc5ebd4b0cb609674
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1520586
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640922}

--

wpt-commits: 2d68590d46a990bf28a08d6384a59962d2e56bf6
wpt-pr: 15811
2019-04-01 14:43:40 +01:00
Mustaq Ahmed b86f514760 Bug 1536198 [wpt PR 15841] - Check activation transfer state synchronously for postMessage sender., a=testonly
Automatic update from web-platform-tests
Check activation transfer state synchronously for postMessage sender.

Bug: 928838
Change-Id: I320d2669905f141910bb3bc490d79670c93a8e79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1523962
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640849}

--

wpt-commits: 70f12afaca11e98e77aa9c1d08178cf7298012ec
wpt-pr: 15841
2019-04-01 14:43:39 +01:00
moz-wptsync-bot 2ca7b6e1db Bug 1536193 [wpt PR 15839] - Update wpt metadata, a=testonly
wpt-pr: 15839
wpt-type: metadata
2019-04-01 14:43:39 +01:00
Tsuyoshi Horo e43ee2591b Bug 1536193 [wpt PR 15839] - Add wpt test for service worker registration from signed exchange, a=testonly
Automatic update from web-platform-tests
Add wpt test for service worker registration from signed exchange

Bug: 939237
Change-Id: I956f1b1bc0b66f249b337b0c190c7cd5fcd96eb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1519951
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640558}

--

wpt-commits: 1b8bf0be8de51658e7e71f7a65abe561b8fc9930
wpt-pr: 15839
2019-04-01 14:43:39 +01:00
Sam Sneddon 662dc3a699 Bug 1536187 [wpt PR 14798] - Remove inactive reviewers, a=testonly
Automatic update from web-platform-tests
Remove inactive reviewers (#14798)

This removes reviewers who have had more than three review requests in
the past year but who haven't reviewed anything.

Adds a few extra reviewers based on discussions in the PR thread
looking for reviewers for directories that otherwise would've ended up
with none.
--

wpt-commits: a5f707c18b3d893a6e332994064911c2f11e800d
wpt-pr: 14798
2019-04-01 14:43:38 +01:00
Danyao Wang ce78546649 Bug 1536185 [wpt PR 15837] - Allow user agent to return payerPhone structured according to E.164., a=testonly
Automatic update from web-platform-tests
Allow user agent to return payerPhone structured according to E164.

--
Also ignore paratheses and spaces

--
Merge pull request #15837 from danyao/danyao/fix-phone-format

Allow user agent to return payerPhone structured according to E.164.
--

wpt-commits: ad514d59be4b1e607619138c11223958067d9968, 0ce58d3b05fdac6d4c5de7cca774f87175f7d1f5, 21cfdba9f443e42d27c435b18f1185f186072173
wpt-pr: 15837
2019-04-01 14:43:38 +01:00
Rob Buis 188e1180cd Bug 1536178 [wpt PR 15836] - Rewrite frac-linethickness-001.html, a=testonly
Automatic update from web-platform-tests
Rewrite frac-linethickness-001.html

Rewrite frac-linethickness-001.html now that there have been these deprecations:
ce02fd15ca
6e821b2c9c

--
Merge pull request #15836 from rwlbuis/thin_deprecated

Rewrite frac-linethickness-001.html
--

wpt-commits: d0ceac6673cacf27c4f94638bbff12c3c9ba1254, 9d49e723782621a0e9d0c70461ba88497e9e14b9
wpt-pr: 15836
2019-04-01 14:43:38 +01:00
moz-wptsync-bot 49d3696326 Bug 1534558 [wpt PR 15729] - Update wpt metadata, a=testonly
wpt-pr: 15729
wpt-type: metadata
2019-04-01 14:43:37 +01:00
Johanna 0c4efaa2c8 Bug 1534558 [wpt PR 15729] - Screen orientation: event firing and promise resolving, a=testonly
Automatic update from web-platform-tests
Re-locking during event dispatch rejects orientationPendingPromise (#15729)

--

wpt-commits: 7176f30f78dcfc600e627b8e5786ede4b79300ad
wpt-pr: 15729
2019-04-01 14:43:37 +01:00
Donna Wu 79a4c4b892 Bug 1535902 [wpt PR 15802] - Expose more fields in UsbConfigurationInfo and its sub classes., a=testonly
Automatic update from web-platform-tests
Expose more fields in UsbConfigurationInfo and its sub classes.

This CL exposes more fields in UsbConfigurationInfo and its sub
sturctures for future usage from chrome.usb extension implementation.

Bug: 716628
Change-Id: I91bee7e07ff94be44a2fce3abfb1caff2df9321d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1516486
Commit-Queue: Donna Wu <donna.wu@intel.com>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640665}

--

wpt-commits: e558e2792d4e40c377ed9a4d73ce8d660d563a26
wpt-pr: 15802
2019-04-01 14:43:36 +01:00
Anne van Kesteren 111e7badac Bug 1535931 [wpt PR 15812] - Selection and document.open(), a=testonly
Automatic update from web-platform-tests
Selection and document.open()

--

wpt-commits: 0ea8f9e9da1dadf3fd23e20621f880d6acc6c0ac
wpt-pr: 15812
2019-04-01 14:43:36 +01:00
moz-wptsync-bot 14bb497a50 Bug 1535974 [wpt PR 15823] - Update wpt metadata, a=testonly
wpt-pr: 15823
wpt-type: metadata
2019-04-01 14:43:36 +01:00
Piotr Bialecki fcaa9b9304 Bug 1535974 [wpt PR 15823] - Add test case to XRRigidTransform, a=testonly
Automatic update from web-platform-tests
Add test case to XRRigidTransform

Added test case that performs a point transformation using rigid
transform's matrix and validates that the same transformation is
performed when using quaternion used to construct the rigid transform.

Change-Id: I4f26f8101e2f788c5e248570f923b45cec6445ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1521268
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640519}

--

wpt-commits: cbc076f9ceab4eebfd6c2df8908248073a8eeb4d
wpt-pr: 15823
2019-04-01 14:43:35 +01:00
Sam Sneddon 81660ef981 Bug 1535973 [wpt PR 15650] - Call pkg_resources.require rather than always calling out to pip, a=testonly
Automatic update from web-platform-tests
Call pkg_resources.require rather than always calling out to pip (#15650)

This makes a decent perf gain in the case when all the requirements
are already met.
--

wpt-commits: bfed7b5fe1c070f06c16e5ef220cc59437721cc3
wpt-pr: 15650
2019-04-01 14:43:35 +01:00
Raymond Toy 4bbd2d75b5 Bug 1535850 [wpt PR 15790] - Use matching sample rate for the context as for the reference file, a=testonly
Automatic update from web-platform-tests
Use matching sample rate for the context as for the reference file

The reference file has a certain sample rate.  Use the same for the
context to reduce the amount of resampling that might be required.

Regenerated the webm-decode-expected.wave file with the fixed sample rate.  This also
changed the SNR slightly, so update the SNR test accordingly.  Also manually compared
the new and old files.  These differ by at most 1 LSB (16-bit).

Bug: 940970
Change-Id: I979bbeb512c36d7e2eb4cba85550fa4177b8aabd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1516723
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640341}

--

wpt-commits: 1d62ca809d6c859a9ef5f48f82dac4a366c6a0eb
wpt-pr: 15790
2019-04-01 14:43:35 +01:00
moz-wptsync-bot 4560c1dc96 Bug 1535933 [wpt PR 15813] - Update wpt metadata, a=testonly
wpt-pr: 15813
wpt-type: metadata
2019-04-01 14:43:34 +01:00
Javier Fernandez f7642f222e Bug 1535933 [wpt PR 15813] - Updated the css-text test suite, a=testonly
Automatic update from web-platform-tests
Updated the css-text test suite

Added a few additional tests to verify some leading white-space cases
with different properties.

Fixed also some typos and bad design choices in some tests.

Change-Id: Ic702d9ce4bd969408c4760724f1f9d4a1f6eb6fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1520829
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#640320}

--

wpt-commits: 5883163db70d3401826497db01908f8a0f5138d9
wpt-pr: 15813
2019-04-01 14:43:34 +01:00
pyup.io bot 80eb147748 Bug 1535951 [wpt PR 15726] - Update pillow to 5.4.1, a=testonly
Automatic update from web-platform-tests
Update pillow from 5.2.0 to 5.4.1 (#15726)

--

wpt-commits: 5df243654fcf1672d8e76d461d989651d907873a
wpt-pr: 15726
2019-04-01 14:43:34 +01:00
moz-wptsync-bot 79c555c7ea Bug 1503700 [wpt PR 13823] - Update wpt metadata, a=testonly
wpt-pr: 13823
wpt-type: metadata
2019-04-01 14:43:33 +01:00
Yoav Weiss b8255f66f3 Bug 1503700 [wpt PR 13823] - Add nested-context resource-timing tests, a=testonly
Automatic update from web-platform-tests
Add nested-context resource-timing tests

--

wpt-commits: 75913b3b43e4cfe4676ab99c795c7c7882962b54
wpt-pr: 13823
2019-04-01 14:43:33 +01:00
pyup.io bot a296d5ec50 Bug 1534097 [wpt PR 15700] - Update marionette_driver to 2.8.0, a=testonly
Automatic update from web-platform-tests
Update marionette_driver from 2.7.0 to 2.8.0 (#15700)

--

wpt-commits: 6de24ef182793415932be9b2a092d94cde904b5a
wpt-pr: 15700
2019-04-01 14:43:33 +01:00
Danyao Wang d1f0ecafd7 Bug 1535872 [wpt PR 15793] - Fix expectation in attributes-and-toJSON-method-manual.https.html, a=testonly
Automatic update from web-platform-tests
Add region to address

--
Merge pull request #15793 from danyao/check-region-in-address

Fix expectation in attributes-and-toJSON-method-manual.https.html
--

wpt-commits: 7eac0e5f8f59273b408cc48978c3dcf02d97fd8c, fd3bdd7758a9309c32c4e7a145d98a50a9816624
wpt-pr: 15793
2019-04-01 14:43:32 +01:00
Johanna 2806ff14b9 Bug 1535920 [wpt PR 15810] - Screen Orientation: Add orientation-utils.js, a=testonly
Automatic update from web-platform-tests
Screen Orientation: Add orientation-utils.js (#15810)

--

wpt-commits: d46410047231acada785726516a150543725338c
wpt-pr: 15810
2019-04-01 14:43:32 +01:00
Sam Sneddon ef29b583e9 Bug 1535914 [wpt PR 15808] - Install packages we need on Travis, a=testonly
Automatic update from web-platform-tests
Make sure we install extra dependencies for all CI jobs that run
browsers.

--
Fix #15728: install pulseaudio as Firefox requires it

--

wpt-commits: 005b09f8699dae8ab7719e948390b3cc2697d075, c8bb42df48ba9d6c275ba1a6ff67ea1e6f3d9a72
wpt-pr: 15808
2019-04-01 14:43:32 +01:00
Philip Jägenstedt c3cbf697aa Bug 1533756 [wpt PR 15672] - Remove Chrome's unified plan flag (now on by default), a=testonly
Automatic update from web-platform-tests
Remove Chrome's unified plan flag (now on by default) (#15672)

--

wpt-commits: d776d049fc35ab1bb6faf183acd69858ddf92cc3
wpt-pr: 15672
2019-04-01 14:43:31 +01:00
moz-wptsync-bot 3e0fc2bbb9 Bug 1535834 [wpt PR 15787] - Update wpt metadata, a=testonly
wpt-pr: 15787
wpt-type: metadata
2019-04-01 14:43:31 +01:00
Anders Hartvoll Ruud 5ab5d16b4c Bug 1535834 [wpt PR 15787] - [css-properties-values-api] Substitute initial values as computed values., a=testonly
Automatic update from web-platform-tests
[css-properties-values-api] Substitute initial values as computed values.

Registered custom properties substitute as token sequences equivalent to
their computed values. We already do this correctly for non-initial values,
but when substituting the initial value of a registered custom property,
we would substitute the original token sequence instead of the computed
value equivalent.

R=futhark@chromium.org

Bug: 641877
Change-Id: Icc9b8844d98cefd030be0daa91aef7963d55d7bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1517700
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640268}

--

wpt-commits: 73bbfeb42a30db594a44256b76966cb0f35b1a04
wpt-pr: 15787
2019-04-01 14:43:30 +01:00
Anne van Kesteren 7628c5cc6d Bug 1535841 [wpt PR 15788] - HTML: window.document and discarded browsing contexts, a=testonly
Automatic update from web-platform-tests
HTML: window.document and discarded browsing contexts

--

wpt-commits: 1c31e4269849395cb87738add3efd6f14866d86d
wpt-pr: 15788
2019-04-01 14:43:30 +01:00
Anne van Kesteren 33f79fb08d Bug 1534200 [wpt PR 15720] - HTML: test WindowProxy self references, a=testonly
Automatic update from web-platform-tests
HTML: test WindowProxy self references

For https://github.com/whatwg/html/pull/4410.
--

wpt-commits: 1a896b5997ef877e8f6e3005176857f615d58cd3
wpt-pr: 15720
2019-04-01 14:43:30 +01:00
Findit c7b8422a48 Bug 1535887 [wpt PR 15796] - Revert "Make pointer capture work in same origin frame", a=testonly
Automatic update from web-platform-tests
Revert "Make pointer capture work in same origin frame"

This reverts commit d44248f2a896421c1382c1dbbf0d7e1a9b798470.

Reason for revert:

Findit (https://goo.gl/kROfz5) identified CL at revision 640055 as the
culprit for flakes in the build cycles as shown on:
https://analysis.chromium.org/p/chromium/flake-portal/analysis/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyQwsSDEZsYWtlQ3VscHJpdCIxY2hyb21pdW0vZDQ0MjQ4ZjJhODk2NDIxYzEzODJjMWRiYmYwZDdlMWE5Yjc5ODQ3MAw

Sample Failed Build: https://ci.chromium.org/buildbot/chromium.linux/Linux%20Tests%20%28dbg%29%281%29/78896

Sample Failed Step: webkit_layout_tests

Sample Flaky Test: virtual/user-activation-v2/fast/events/pointerevents/mouse-pointer-capture-in-iframe.html

Original change's description:
> Make pointer capture work in same origin frame
>
> We used to send mouse event to the subframe before apply the pointer
> capture target, and it causes the pointer capture doesn't work when
> capture to a outer frame target and move to inner frame.
>
> This CL changes three things:
> 1. 'Rename' the |capturing_mouse_events_element_| to
> |capturing_subframe_element_| as it only used for the frame capture
> (There is plan to remove the frame capture logic once we have pointer
> capture work correctly)
> 2. On HandleMouse*Event, instead of always perform a hit test, we use
> either frame capture target or pointer capture target to re-construct
> the HitTestResult.
> 3. When using the capture target, update the hover active state for
> capture target.
>
> This change makes captured pointer event sent correctly when over
> same origin frame, and also decrease the hit_test_count because of
> frame capturing.
>
> Note that after this change, we still NOT allow set/release pointer
> capture across same-origin frame as the pointer id and active statue
> is per frame.
>
> See design doc:
> https://docs.google.com/document/d/1cOZu98UuKk5bdARUQKmj2Q8YoEMpd9l78T0k-cf5ttc/
>
> This change is under a blink flag UnifiedPointerCaptureInBlink.
>
> Change-Id: I61c6a02086535d2a145df9d414df0bdc9673101e
> Bug: 936190, 919908
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1446556
> Commit-Queue: Ella Ge <eirage@chromium.org>
> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
> Reviewed-by: David Bokan <bokan@chromium.org>
> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#640055}

Change-Id: Idf2d9cd99b54ad4caa1517c54ba9c65401014ffa
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 936190, 919908
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1519468
Cr-Commit-Position: refs/heads/master@{#640160}

--

wpt-commits: ea3cae9746c39e8192b91181044144c60d9388e8
wpt-pr: 15796
2019-04-01 14:43:29 +01:00
Erik Anderson 323dc181fd Bug 1535636 [wpt PR 15776] - Update sleep.py to use high resolution timer, a=testonly
Automatic update from web-platform-tests
Update sleep.py to use high resolution timer

In a previous change to this file (https://chromium-review.googlesource.com/c/chromium/src/+/1469655), I added a check after the sleep completes to check if we slept long enough. After submitting this to Microsoft's test environment which runs on Hyper-V VMs, we found that the test was still flaky because the timer we're using in the Python web server doesn't have sufficient precision.

In the previous change, I had considered using time.clock() which uses QPC on Windows. However, on Unix, it maps to CPU time which means it doesn't advance while we're switched out for the sleep. This change uses time.default_timer() which is the best of both worlds: with Python 2 it maps to time.clock() on Windows and to time.time() on non-Windows platforms while on Python 3.3+ it maps to time.perf_counter(); this ensures it is measuring wall time with the most accurate clock available for the platform.

This change has been run for over two weeks in Microsoft's test environment without any issues.

Change-Id: I30fc5f72de24fafe0766ca9b607b63290e47fae5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1516914
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640122}

--

wpt-commits: 7d3ab930ab623a4bcbb2af6e5d87ad8a851bbee0
wpt-pr: 15776
2019-04-01 14:43:29 +01:00
Robert Ma 75c9452ed4 Bug 1535512 [wpt PR 15765] - Send screenshots from Azure to wpt.fyi, a=testonly
Automatic update from web-platform-tests
Store reftest screenshots on Azure

as wpt_screenshot{_*}.txt in the build artifact zip.

--

wpt-commits: 167e3ee6dfff8e94d6d078a4c21897575d27e53a
wpt-pr: 15765
2019-04-01 14:43:29 +01:00
Danyao Wang e809dee5fe Bug 1535876 [wpt PR 15795] - Remove redundant test in show-method-postmessage-manual.https.html, a=testonly
Automatic update from web-platform-tests
Remove redundant test

--
Merge pull request #15795 from danyao/danyao/remove-redundant-test

Remove redundant test in show-method-postmessage-manual.https.html
--

wpt-commits: 607ee74326a5c8eea4460c05dffc328675760817, 8d8d9c28bbdc60134ed116123ce9fce6062a63eb
wpt-pr: 15795
2019-04-01 14:43:28 +01:00
Nicolás Peña Moreno 97e7e934a3 Bug 1535613 [wpt PR 15775] - [ResourceTiming] Rename test resource_memory_cached->resource_reuse, a=testonly
Automatic update from web-platform-tests
[ResourceTiming] Rename test resource_memory_cached->resource_reuse

The test does not seem to exercise the memory cache, so I propose
renaming the test to something that is more implementation-independent.
Also, use an img_src variable to avoid repeating the location in the
script.

Change-Id: I88e4574d5267a75586fc7b74f39f67e0aab2bc04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1516789
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640106}

--

wpt-commits: c7a85cb312e815f887fb851b7d1951348b54de8c
wpt-pr: 15775
2019-04-01 14:43:28 +01:00
moz-wptsync-bot 355f4189b8 Bug 1534569 [wpt PR 15731] - Update wpt metadata, a=testonly
wpt-pr: 15731
wpt-type: metadata
2019-04-01 14:43:28 +01:00
Ayu Ishii 4ada0b77c4 Bug 1534569 [wpt PR 15731] - [idle] Restrict the Idle Detection API to top-level frames, a=testonly
Automatic update from web-platform-tests
[idle] Restrict the Idle Detection API to top-level frames

Allow only top-level frames to use the idle-detection feature by setting
a default Feature Policy of "self" to allow only same-origin iframes.
This check is in place to prevent third party scripts running on the
page (eg. ads) from listening to a user's idle-ness.

Bug: 936659
Change-Id: I0c83c29ec95cad25e9c35c339e46c79937654889
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1506815
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Luna Lu <loonybear@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640061}

--

wpt-commits: 8a63b783181f691ec5c9bb0f52ab0e24003c1f5b
wpt-pr: 15731
2019-04-01 14:43:27 +01:00
moz-wptsync-bot e048f63ef4 Bug 1535554 [wpt PR 15773] - Update wpt metadata, a=testonly
wpt-pr: 15773
wpt-type: metadata
2019-04-01 14:43:27 +01:00
Ella Ge 9a1062ae68 Bug 1535554 [wpt PR 15773] - Make pointer capture work in same origin frame, a=testonly
Automatic update from web-platform-tests
Make pointer capture work in same origin frame

We used to send mouse event to the subframe before apply the pointer
capture target, and it causes the pointer capture doesn't work when
capture to a outer frame target and move to inner frame.

This CL changes three things:
1. 'Rename' the |capturing_mouse_events_element_| to
|capturing_subframe_element_| as it only used for the frame capture
(There is plan to remove the frame capture logic once we have pointer
capture work correctly)
2. On HandleMouse*Event, instead of always perform a hit test, we use
either frame capture target or pointer capture target to re-construct
the HitTestResult.
3. When using the capture target, update the hover active state for
capture target.

This change makes captured pointer event sent correctly when over
same origin frame, and also decrease the hit_test_count because of
frame capturing.

Note that after this change, we still NOT allow set/release pointer
capture across same-origin frame as the pointer id and active statue
is per frame.

See design doc:
https://docs.google.com/document/d/1cOZu98UuKk5bdARUQKmj2Q8YoEMpd9l78T0k-cf5ttc/

This change is under a blink flag UnifiedPointerCaptureInBlink.

Change-Id: I61c6a02086535d2a145df9d414df0bdc9673101e
Bug: 936190, 919908
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1446556
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640055}

--

wpt-commits: 9d19b76509703231f5449f72c1ebf8f8bbf1bb7d
wpt-pr: 15773
2019-04-01 14:43:27 +01:00
moz-wptsync-bot 77f5dfd888 Bug 1534874 [wpt PR 15745] - Update wpt metadata, a=testonly
wpt-pr: 15745
wpt-type: metadata
2019-04-01 14:43:26 +01:00