Skip to content

Implement read methods on FileReaderSync - #65

Merged
servo-wpt-sync merged 21 commits into
jdm:masterfrom
servo-wpt-sync:servo_export_19511
Jun 4, 2018
Merged

servo-wpt-sync merged 21 commits into
jdm:masterfrom
servo-wpt-sync:servo_export_19511

Conversation

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

Reviewed in servo/servo#19511.

youennf and others added 13 commits June 3, 2018 22:03
The spec requires that an HTTP request to fetch a service worker
script has 'Service-Worker: script' header[1].

[1] https://w3c.github.io/ServiceWorker/#update-algorithm

Bug: 848265
Change-Id: I76c836fcf43d287bcac910c3655e5b127ad8555c
Reviewed-on: https://chromium-review.googlesource.com/1082253
Commit-Queue: Kenichi Ishibashi <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564023}
…upported

Part of web-platform-tests#11269.

Also fix remaining instances of CSS.registerProperty
…diaStreams.

The empty string is an invalid facingMode value that was being
interpreted to be equivalent to the internal facing-mode value of NONE.

Bug: 814309
Change-Id: I260fbc41fd17a8bdcd1ca63baffe3bed14f3c4ab
Reviewed-on: https://chromium-review.googlesource.com/1072471
Reviewed-by: Harald Alvestrand <[email protected]>
Commit-Queue: Guido Urdaneta <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564046}
The following command was applied: sed -i 's/<link  rel/<link rel/' *.xht
This matches the current spacing from https://github.com/w3c/woff2-tests
Remove parts that are no longer relevant (we only have one repo now, we
no longer use submodules...), and update graphics.

Related to web-platform-tests#5301
These clean ups are split out from https://crrev.com/c/788217:
 - Defining the assert failure messages

Change-Id: I74ba2bb70e907a28292301046a7433480ab669d8
…avigate.html.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466508
gecko-commit: 0c71a38c8c5c49d3041a3a8d06116b07ba1279b3
gecko-integration-branch: mozilla-inbound
gecko-reviewers: jgraham
birtles added 7 commits June 4, 2018 15:21
A number of these tests are redundant with other tests or are otherwise
unnecessary. Other tests should be moved to a more appropriate file.

Some notable examples:

* A number of the tests relate to dispatching events in various phases and have
  been moved to test_event-dispatch.html.
* The "Seeking finished -> paused dispatches animationstart" test is covered
  by the "After -> Active" test in test_event-dispatch.html (which also
  operates on a paused animation).
* The "Animation.currentTime clamping" is really just testing finishing
  behavior and is covered by the updating-the-finished-state.html tests in the
  Web Animations web-platform-tests (specifically the "Updating the finished
  state when playing past end" test).
* Likewise for the "Animation.currentTime clamping for reversed animation"
  test.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: bdf0455bd3ecfc5c79b305cd36db71bff86f099d
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
Although many of these tests are similar to tests in the Web Animations
web-platform-tests test suite they focus on the interaction with
animation-play-state and so are probably worth keeping.

There are two exceptions that I felt were worth changing:

* The test for the handling of a ready promise on an aborted pause. I could not
  find a similar test in the Web Animations wpt and the test is not really
  particular to CSS animations so this patch moves it to Web Animations wpt.

* The test for the resolution value of the ready promise for a paused animation
  is covered by the "A pending ready promise should be resolved and not replaced
  when the animation is paused" in pausing-an-animation.html in the Web
  Animations wpt (although peripherally) and that seems like the better place
  for this test anyway (it is not specific to CSS animations) so I have simply
  deleted it from this file.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: 225a32bacfbc737e9934ba301fc447ce58e500c8
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: 357a5f2a456bd31c83ae54933dec03ae6af0a12d
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
This patch updates the tests in this file as follows:

* startTime of a newly created (play-pending) animation is unresolved
  -> Covered by 'startTime of a play-pending animation is unresolved'
     in wpt/web-animations/interfaces/Animation/startTime.html

     However, it would be useful to have a test a new CSS animation is
     play-pending so I have extended the test in test_animation-playstate.html
     to cover this.

* startTime of a newly created (pause-pending) animation is unresolved
  -> Covered by 'startTime of a pause-pending animation is unresolved'
     in wpt/web-animations/interfaces/Animation/startTime.html

* startTime is resolved when running
  -> Covered by 'startTime is resolved when running'
     in wpt/web-animations/interfaces/Animation/startTime.html

* startTime is unresolved when paused
  -> Moved to wpt/web-animations/timing-model/animations/pausing-an-animation.html

* startTime while pause-pending and play-pending
  -> Moved to wpt/web-animations/timing-model/animations/pausing-an-animation.html

* startTime while play-pending from finished state,
  startTime while play-pending from finished state using finish()
  -> Merged and moved to wpt/web-animations/timing-model/animations/playing-an-animation.html

* Pausing should make the startTime become null
  -> Simplified and merged into the test for 'startTime is unresolved when
     paused' / 'Pausing clears the start time' test in
     wpt/web-animations/timing-model/animations/pausing-an-animation.html

* Sanity test to check round-tripping assigning to a new animation's startTime
  -> Updated and left.

* Skipping forward through animation
  -> This is really testing two things:
     (a) That you can seek a CSS animation using the start time.
         For this it makes sense to have a separate test that also checks that
         the computed style is updated (like we have for current time).
     (b) That seeking a CSS animation using the start time triggers
         dispatching events.

     This patch splits the above into two separate tests.

* Skipping backwards through animation,
  Redundant change, before -> active, then back,
  Redundant change, before -> after, then back,
  Redundant change, active -> before, then back,
  Redundant change, active -> after, then back,
  Redundant change, after -> before, then back,
  Redundant change, after -> active, then back
  -> All these tests are really just exercising event dispatch which is
     already covered by test_event-dispatch.html.

     Provided we have a test that checks that events are dispatched when
     setting the startTime we don't need to test each combination again since
     we have tests for each of these combinations already when using the
     currentTime to seek and we can assume UAs are following the same code
     path at this point.

     As a result this patch drops these tests.

* Setting startTime to null
  -> Covered by 'Setting an unresolved start time sets the hold time'
     in wpt/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html

* Animation.startTime after pausing
  -> Covered by the new 'Pausing clears the start time' test in
     wpt/web-animations/timing-model/animations/pausing-an-animation.html

* Animation.startTime after canceling
  -> Merged into
     wpt/web-animations/timing-model/animations/canceling-an-animation.html
     and made it follow the spec a little more closely (which requires
     clearing the start time and hold time).

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: bfe96f889a3bf706cba047baadbbd67fdd6a6414
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
…-tests

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: 4a4aafa588f86050dadc4ea7644639e4ac547461
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: 1156ef220859015269bff058a3db9f6183bf347f
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466031
gecko-commit: d87bf0bd52e2398d47501e88abdf7b290b4f424c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: hiro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.