This test had some cases that weren't covered in our mocha tests,
so we add them. In order to do that, we added a stub.
We remove the mochitest and its support file.
Since the support file was used by another test, we modify it to
add the part that was used.
MozReview-Commit-ID: AL4qWcWHQiA
--HG--
extra : rebase_source : 632e10a25c724044979d2ef4a02648e95ff88bbb
In this component we had an <a> element as a child of another <a> element,
which isn't valid. Furthermore, we didn't make use of this <a>, so switching
to a span brings us validity without any drawbacks.
MozReview-Commit-ID: 3EM8jkEtSKI
--HG--
extra : rebase_source : 9b585b7a0dfb251b80d7712ed8dd18169a474199
Since React 16 landed in the toolbox, we should have it as well in the launchpad and in tests.
This forced us to do some changes:
- Remove the Perf util hook in local-dev
- Update Enzyme to version 3
- Add an enzyme adapter for React.
- Add react-prop-types dependency
The require-helper file is renamed into mocha-test-setup since it takes care of many things now.
MozReview-Commit-ID: 2tDRjrjc4Dh
--HG--
rename : devtools/client/webconsole/new-console-output/test/require-helper.js => devtools/client/webconsole/new-console-output/test/mocha-test-setup.js
extra : rebase_source : b46d2da643735c4f07238606f7c78c897fe13626
This will free the tests of the devtools-launchpad dependency so we
have a more robust workflow. Also, this will facilitate running those
tests on CI.
MozReview-Commit-ID: JkF89YBxlO4
--HG--
rename : devtools/client/webconsole/package.json => devtools/client/webconsole/new-console-output/test/package.json
extra : rebase_source : 337c06ee4c0892bbc2fdbd750582ffb360a1f3e3
We will use this to calculate the unconstrained current time when we implement
pending playback rate changes.
MozReview-Commit-ID: 7GlmHiGeXF6
--HG--
extra : rebase_source : 82280cdd62c0426c114ce54bb92fcd7ed766d85a
We will re-use these methods to perform various calculations once we introduce
the pending playback rate.
MozReview-Commit-ID: 2HV44TTNxHg
--HG--
extra : rebase_source : dcc883fb6db897a799900d709ca9c182dc149764
This is the IDL added to the Web Animations specification:
5af5e276ba
Note that some of the changes in the above commit were reverted in the following
commit:
673f6fc126
A folded version of the changes:
https://gist.github.com/birtles/d147eb2e0e2d4d37fadf217abd709411
MozReview-Commit-ID: CJV7bzizXg4
--HG--
extra : rebase_source : 6dc6819e158bcdd094962769096a17da6cd2026a
These patches update these tests as follows:
* Used async/await where it simplifies the tests
* Updated the test descriptions to reflect what they are testing in the timing
model
* Fixed a couple of bugs where we set the playbackRate on a pause-pending
animation (which causes it to no longer be pause-pending).
In the process I noticed a couple of tests that don't really belong here. They
will be moved in the next patch.
MozReview-Commit-ID: C33o7qLNMMd
--HG--
extra : rebase_source : 53259f5ac245c5e87ca1055afdc3429512628c20
These tests are not testing the interface so much as the 'finish an animation'
procedure.
This patch simply moves the tests as-is. They will be simplified in the next
patch in this series.
MozReview-Commit-ID: 5nloB5GtxHv
--HG--
extra : rebase_source : c515371d110d2ee33bbff35a196efe4c8838ec20
I didn't like the way these tests were written so I decided to rewrite them to
make it more clear what they are trying to test.
MozReview-Commit-ID: IBqMUh24crS
--HG--
extra : rebase_source : bafc3b14a3a0c2dc3412666fe1fb7d371c69748d
The test under web-animations/interfaces/Animation/playbackRate.html is really
testing the timing model so this patch moves it there. We'll simplify it in the
next patch.
MozReview-Commit-ID: HbhjlVtQLQA
--HG--
rename : testing/web-platform/tests/web-animations/interfaces/Animation/playbackRate.html => testing/web-platform/tests/web-animations/timing-model/animations/setting-the-playback-rate-of-an-animation.html
extra : rebase_source : eeedd068abdffe1aac434eb31bf026ee0e77bb59
Using async/await makes these tests easier to read and appears to be supported
in all browsers now. This patch updates the tests in
web-animations/timing-model/animations since we will update these tests later in
this patch series and it will be easier if we convert them to using async first.
MozReview-Commit-ID: 70QKlkXTHW
--HG--
extra : rebase_source : 9c3a1d4684c50ee7cc548a22d43a87625c24ff0f
In this folder we have a mixture of tests named after the procedure they are
testing or the section that contains the procedure. The latter seems to be more
common and makes it a little easier to check that all sections are tested so
this patch renames files to refer to the section titles instead. It also updates
a few of the test file titles and URLs.
MozReview-Commit-ID: 2udhvAKP5VR
--HG--
rename : testing/web-platform/tests/web-animations/timing-model/animations/set-the-animation-start-time.html => testing/web-platform/tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/current-time.html => testing/web-platform/tests/web-animations/timing-model/animations/the-current-time-of-an-animation.html
extra : rebase_source : 65a703d85806e12147bba554f3b08ad02bfbb0a6
The only call to IsBackfaceVisible() was removed when we added proper backface
visible support.
MozReview-Commit-ID: ALAF4a0ScQJ
--HG--
extra : rebase_source : 9a138f9ca4244105b4692b340c95e1dbc03f0356
Now that this file is all C++, we don't need to duplicate it.
MozReview-Commit-ID: 8nlcGLMnuzV
--HG--
extra : rebase_source : 3fcc2ccd05547de4388f917588d81135b6eb57a8
These are nominally in C, but I don't see any reason for that, given
that we no longer have external consumers. I got rid of "typedef
struct Foo Foo" at the same time.
Also replace a tab I noticed in the definnition of XPT_ANN_LAST.
MozReview-Commit-ID: CFgfiWmuo6r
--HG--
extra : rebase_source : 0bd79ef3055fe1b68a2ec6eaa6eebd0f7e52f730
We don't export these any more, so I don't think there's a reason to
mark them extern.
MozReview-Commit-ID: GbkF7HdRUT6
--HG--
extra : rebase_source : 52e4b72d14bc14d5cfeca110ed4842f2facf356e
These macros haven't done anything since 2006, so get rid of them.
MozReview-Commit-ID: GOakDBIt1Mf
--HG--
extra : rebase_source : 9b0ba6ce42e75aab63c5f63681b37cafe15a367f
Also simplify the servo property id to gecko property id conversion to be faster
and less repetitive.
This is in preparation of some patches to properly allow disabled longhands on enabled shorthands, something that we don't contemplate right now.
Source-Repo: https://github.com/servo/servo
Source-Revision: bdbb298bac881d8cf773739e4d7018080b40beb6
--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b8f44fa55ebde80b40339e69a71b94f95f112e11
The contents in Security tab when you're in about: pages is useless or wrong.
MozReview-Commit-ID: Eq5tdKyvuho
--HG--
extra : rebase_source : 683f46ccb43030a4def1ca3c68b1ee732b9e085e
This is part of the work to remove XUL overlays. This overlay is only
used once and can be inlined.
MozReview-Commit-ID: 1SE1nobgehE
--HG--
extra : rebase_source : 33d73fa8538da9af626feb53267278ac97554710