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

598576 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 81fa515ba7 Bug 1466432 - Make sure the document.fonts.ready Promise resolves even when there's no refresh driver. r=heycam 2018-05-18 20:39:11 +01:00
Jonathan Watt 6d4c239fd8 Bug 1466431 - Fix resolving of the document.fonts.ready Promise for documents that never load fonts. r=heycam 2018-05-18 12:45:18 +01:00
Jonathan Watt 28123a9dcb Bug 1465997 - Don't replace FontFaceSet's ready Promise when it's pending. r=heycam 2018-05-17 19:09:42 +01:00
Jonathan Watt 0327bb1ef7 Bug 1466251 part 2 - Mark font-display-failure-fallback.html as now passing. rs=heycam 2018-05-15 17:51:23 +01:00
Jonathan Watt 572c8e4059 Bug 1466251 part 1 - Make sure we reject FontFace.loaded if font loading times out. r=heycam 2018-05-15 16:18:40 +01:00
Jonathan Watt fc527d7807 Bug 1466004 part 2 - Mark font-weight-matching.html as now passing. rs=heycam 2018-05-14 15:31:04 +01:00
Jonathan Watt cb1e759fc3 Bug 1466004 part 1 - Flush layout when script asks for document.fonts.ready. r=heycam 2018-05-14 14:53:25 +01:00
André Bargull 74d05c67bd Bug 1464794 - Remove 'using mozilla::*' from header files in js/src. r=Waldo 2018-06-04 01:31:05 -07:00
Alex Gaynor d71b5b9238 Bug 1392739 - Add test for faulty nsStandardURL deserialization. r=mayhemer 2018-05-23 22:25:08 +02:00
Valentin Gosu 300188571e Bug 1392739 - Use CheckedInt in nsStandardURL::Deserialize(). r=mayhemer 2018-06-04 13:57:51 +02:00
Samuel Thibault 73a24b5b8a Bug 1319273 - Accessible: Make TextBounds return rect of whole frame if content is empty. r=surkov 2018-05-23 17:02:33 +02:00
André Bargull 350c65991b Bug 1464845 - Remove js_strdup and JS_strdup. r=Waldo 2018-06-04 01:30:51 -07:00
Christoph Kerschbaumer 19be815a52 Bug 1466508 - Fix race condition within wpt test policy-inherited-correctly-by-plznavigate.html. r=jgraham 2018-06-04 14:09:00 +02:00
Ryan VanderMeulen 9e8871e42e Bug 1466519 - Update pdf.js to version 2.0.536. r=bdahl
--HG--
extra : rebase_source : 0762d9b984fcb6f7da4a94ea5135b74ae53ecf04
extra : amend_source : 5874d964ce4ce556ba1c0a909fa6bade451f0b4b
2018-06-04 09:04:46 -04:00
Emilio Cobos Álvarez 29985b3f24 Bug 1449243: Remove invalid assertion. r=me
We can look at stale styles while trying to figure out if we need any
invalidation, and that's ok.

MozReview-Commit-ID: 4mBIFNm9qJv
2018-06-04 14:51:47 +02:00
Ryan VanderMeulen 232bf51514 Bug 1465017 - Revert commit b5415b0216c7 (bug 1452604) for broken "See Details" button on the blocked site page.
--HG--
extra : amend_source : f36dc86b40f085019bf80b8700d425aee7fe9832
2018-06-04 08:48:28 -04:00
Jon Coppeard 7309d3041a Bug 1461619 - Don't update atoms marking bitmaps in parallel due to potential races r=sfink 2018-06-04 11:19:06 +01:00
Jon Coppeard ab5bff083b Bug 1461619 - Rename some atom marking methods to make their purpose cleare r=sfink 2018-06-04 11:18:27 +01:00
Jon Coppeard 977f50a7e7 Bug 1462693 - Update JSScript and LazyScript in separate phases in compacting GC r=sfink 2018-06-04 11:18:04 +01:00
Lars T Hansen 5341ca2688 Bug 1429818 - Make wasm sign extension feature unconditional. r=luke
Remove the feature define and all the ifdefs that use it.

Remove the TestingFunctions predicate that reveals the value of the
define.

Update the test cases that used the predicate.

--HG--
extra : rebase_source : 161aff058c5d596ab0bee94b03b2b1819e71e9ad
extra : amend_source : 2bf2d2b34051a5f99e85e54d8ac480b73fb8fc54
2018-03-22 09:06:20 +01:00
Jonathan Kew 34cd1f8ad9 Bug 1466332 - Add a reftest version of the @font-face descriptor matching tests from WPT's at-font-face-font-matching.html, as the WPT version does not currently run reliably. r=jwatt 2018-06-04 09:45:50 +01:00
Brian Birtles 067439a2c5 Bug 1466031 - Update event-dispatch test now that we can use the updated EventWatcher; r=hiro
--HG--
extra : rebase_source : b5b22b84d77b0939b47c672a3106ec53125e62dc
2018-06-04 10:20:58 +09:00
Brian Birtles 90c5d84416 Bug 1466031 - Add spec links to test files; r=hiro
--HG--
extra : rebase_source : d411e7febaff7ebb5ae38cfa41ce32ed26a24bc2
2018-06-04 10:20:58 +09:00
Brian Birtles b6222ec571 Bug 1466031 - Move CSS animations / Web animation integration tests to web-platform-tests; r=hiro
--HG--
rename : dom/animation/test/css-animations/test_cssanimation-animationname.html => testing/web-platform/tests/css/css-animations/CSSAnimation-animationName.tentative.html
rename : dom/animation/test/css-animations/test_animation-cancel.html => testing/web-platform/tests/css/css-animations/CSSAnimation-canceling.tentative.html
rename : dom/animation/test/css-animations/test_setting-effect.html => testing/web-platform/tests/css/css-animations/CSSAnimation-effect.tentative.html
rename : dom/animation/test/css-animations/test_animation-finished.html => testing/web-platform/tests/css/css-animations/CSSAnimation-finished.tentative.html
rename : dom/animation/test/css-animations/test_animation-computed-timing.html => testing/web-platform/tests/css/css-animations/CSSAnimation-getComputedTiming.tentative.html
rename : dom/animation/test/css-animations/test_animation-currenttime.html => testing/web-platform/tests/css/css-animations/CSSAnimation-getCurrentTime.tentative.html
rename : dom/animation/test/css-animations/test_animation-id.html => testing/web-platform/tests/css/css-animations/CSSAnimation-id.tentative.html
rename : dom/animation/test/css-animations/test_animation-pausing.html => testing/web-platform/tests/css/css-animations/CSSAnimation-pausing.tentative.html
rename : dom/animation/test/css-animations/test_animation-playstate.html => testing/web-platform/tests/css/css-animations/CSSAnimation-playState.tentative.html
rename : dom/animation/test/css-animations/test_animation-ready.html => testing/web-platform/tests/css/css-animations/CSSAnimation-ready.tentative.html
rename : dom/animation/test/css-animations/test_animation-starttime.html => testing/web-platform/tests/css/css-animations/CSSAnimation-startTime.tentative.html
rename : dom/animation/test/css-animations/test_pseudoElement-get-animations.html => testing/web-platform/tests/css/css-animations/CSSPseudoElement-getAnimations.tentative.html
rename : dom/animation/test/css-animations/test_document-get-animations.html => testing/web-platform/tests/css/css-animations/Document-getAnimations.tentative.html
rename : dom/animation/test/css-animations/test_animations-dynamic-changes.html => testing/web-platform/tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative.html
rename : dom/animation/test/css-animations/test_element-get-animations.html => testing/web-platform/tests/css/css-animations/Element-getAnimations.tentative.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html => testing/web-platform/tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html
rename : dom/animation/test/css-animations/test_effect-target.html => testing/web-platform/tests/css/css-animations/KeyframeEffect-target.tentative.html
rename : dom/animation/test/css-animations/test_event-dispatch.html => testing/web-platform/tests/css/css-animations/event-dispatch.tentative.html
rename : dom/animation/test/css-animations/test_event-order.html => testing/web-platform/tests/css/css-animations/event-order.tentative.html
rename : dom/animation/test/testcommon.js => testing/web-platform/tests/css/css-animations/support/testcommon.js
extra : rebase_source : 87f112f3018504414a7d6d17d66c4980b58017d0
2018-06-04 10:20:58 +09:00
Brian Birtles 11ca5452f9 Bug 1466031 - Update test_setting-effect.html; r=hiro
Apart from whitespace / test description tests this patch also drops an
assertion about the animation playState since it seems unrelated to the purpose
of that particular test.

--HG--
extra : rebase_source : 73be030dd1dc98ae1facd9c2b80dd1b5bcbf04eb
2018-06-04 10:20:57 +09:00
Brian Birtles 260853229a Bug 1466031 - Update test description in test_pseudoElement-get-animations.html; r=hiro
--HG--
extra : rebase_source : 3db36e712c7b002e01c15443cef31ed004fac19d
2018-06-04 10:20:57 +09:00
Brian Birtles 2509ef01f9 Bug 1466031 - Update test_element-get-animations.html; r=hiro
As well as addressing a few FIXMEs this patch drops the checking of start times
since that seems out of scope for this file and is covered elsewhere (I believe
we only added it at first to bootstrap this work).

--HG--
extra : rebase_source : daa067147d6833880deb59b3d270ca122999a64f
2018-06-04 10:20:57 +09:00
Brian Birtles 141d6a3152 Bug 1466031 - Update test_animations-dynamic-changes.html; r=hiro
--HG--
extra : rebase_source : 946d2c211e466a5abc05810ab5717b881875c768
2018-06-04 10:20:57 +09:00
Brian Birtles 284e3445aa Bug 1466031 - Update test_animation-starttime.html; r=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).

--HG--
extra : rebase_source : 9bb3d82e18e5c2d9654576502a1d4263a1e46daa
2018-06-04 10:20:57 +09:00
Brian Birtles 3a94426531 Bug 1466031 - Move the reversing test to Web Animations web-platform-tests; r=hiro
--HG--
extra : rebase_source : f2d1fda92736cc07d2535e06dd7f35673a7d3562
2018-06-04 10:20:56 +09:00
Brian Birtles 4dfeec9f3c Bug 1466031 - Tidy up test_animation-ready.html; r=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.

--HG--
extra : rebase_source : b803572692c70fced551d4343ac241068b6f0057
2018-06-04 10:20:56 +09:00
Brian Birtles e8003d01b4 Bug 1466031 - Tidy up test_animations-playstate.html; r=hiro
--HG--
extra : rebase_source : e0b70521af1f0faa292d4d46e22d0c870bacde45
2018-06-04 10:20:56 +09:00
Brian Birtles 4c2ded77b8 Bug 1466031 - Tweak whitespace in test_animation-id.html; r=hiro
This just makes the grouping a little more clear I think.

--HG--
extra : rebase_source : 67749506b5befd705cd29331383066e5fe25afef
2018-06-04 10:20:55 +09:00
Brian Birtles 5becd5775e Bug 1466031 - Tidy up test_animation-finished.html; r=hiro
This mostly just involves using promise_rejects to simplify some test code.

The change to the test description of the last test might seem like it is giving
it the opposite meaning but the original test name was "Test finished promise
changes when animationPlayState set to running"[1], and it is about testing
that there are NO changes but that got lost when the "Test" part of the
description was dropped.


[1] https://searchfox.org/mozilla-central/rev/cb846d13d3f9ec5d38ace93a74f749a18e9c67f5/dom/animation/test/css-animations/test_animation-player-finished.html#287

--HG--
extra : rebase_source : e318bd236f522e612a8717c4b7b871b1dd74ed54
2018-06-04 10:20:55 +09:00
Brian Birtles 3c5785da47 Bug 1466031 - Drop test_animation-finish.html; r=hiro
These tests are all covered elsewhere:

* The "Test exceptions when finishing infinite animation" test is covered by
  the "Finishing an infinite animation throws" test in
  finishing-an-animation.html in the Web Animations web-platform-tests.
* The "Test finish() while paused" test is covered by the "Finishing a paused
  animation resolves the start time" test in finishing-an-animation.html in
  the Web Animations web-platform-tests.
* The "Test finish() while pause-pending with positive playbackRate" test is
  covered by the "Finishing a pause-pending animation resolves the pending
  task immediately and update the start time" test in
  finishing-an-animation.html in the Web Animations web-platform-tests.
* The 'Test finish() while pause-pending with negative playbackRate" test is
  covered by the "Finishing a pause-pending animation with negative playback
  rate resolves the pending task immediately" test in
  finishing-an-animation.html in the Web Animations web-platform-tests.

In fact, it very much looks like these tests were copied to Web Animations'
web-platform-tests at some point without deleting the original.

--HG--
extra : rebase_source : d63b1c3ca7548e7f4f27c607e4671691094ddd86
2018-06-04 10:20:55 +09:00
Brian Birtles 8f39ae4272 Bug 1466031 - Re-arrange tests in test_animations-currenttime.html; r=hiro
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.

--HG--
extra : rebase_source : 949ec7e12396fa97c741c7cc90abb3ff64cc7ab7
2018-06-04 10:20:55 +09:00
Brian Birtles a07b093a4b Bug 1466031 - Apply various whitespace tweaks to test_animation-computed-timing.html; r=hiro
--HG--
extra : rebase_source : 93a14e6329309f8ef09614c62ad57b7941235dcc
2018-06-04 10:20:55 +09:00
Brian Birtles 0d0f48e374 Bug 1466031 - Update the titles of each test file; r=hiro
Some of these names will make more sense after the renaming of files towards the
end of this patch series.

Also a couple of files do not have titles added since they will be subsequently
removed.

--HG--
extra : rebase_source : 6ba046f9c1cc2e062d5aa7f7a49b791ef7ee7e83
2018-06-04 10:20:55 +09:00
Brian Birtles 3b45943212 Bug 1466031 - Fix the spelling of canceled/canceling in dom/animation/test/css-animations/; r=hiro
--HG--
extra : rebase_source : 63090a905d293df990f69ab434aab8c5f08e4c08
2018-06-04 10:20:55 +09:00
Brian Birtles 5f1c559e1f Bug 1466031 - Use for ... of instead of forEach in a few places in dom/animation/test/css-animations/; r=hiro
--HG--
extra : rebase_source : 625bbff718339ae0943664dd26d8ca693b8eb02a
2018-06-04 10:20:54 +09:00
Brian Birtles d0fae9ac7e Bug 1466031 - Use async/await in dom/animation/test/css-animations/; r=hiro
--HG--
extra : rebase_source : aa428787355384b9dc01f8c312adc03aeadb6b28
2018-06-04 10:20:54 +09:00
Brian Birtles cd3afc3d8a Bug 1466031 - Replace var with const/let in dom/animation/test/css-animations/; r=hiro
--HG--
extra : rebase_source : e6d69231e8825491a6f2b6713ce6ad0655658aee
2018-06-04 10:20:54 +09:00
Brian Birtles e190516708 Bug 1466031 - Use arrow functions in dom/animation/test/css-animations/; r=hiro
--HG--
extra : rebase_source : 2446c48d66750142e5c3a544f115beb859043ac8
2018-06-04 10:20:54 +09:00
sotaro d7adf198ee Bug 1451183 - Add GLLibraryEGL::Shutdown() r=jgilbert 2018-06-04 11:09:52 +09:00
sotaro 623f090649 Bug 1451183 - Make EGLLibrary destroyable r=jgilbert 2018-06-04 11:09:29 +09:00
sotaro 5ae7f885d0 Bug 1466059 - Use DeviceManagerDx::GetImageDevice() in WMFVideoMFTManager::InitInternal() r=nical 2018-06-04 09:42:16 +09:00
Narcis Beleuzu adf3d042d3 Backed out changeset a71f125a6d73 (bug 1464744) for wpt failures. CLOSED TREE 2018-06-04 02:58:20 +03:00
Xidorn Quan 8fc0bb9c61 Bug 1464744 followup - Enable wpt of css-scrollbars on all platforms. r=jgraham
--HG--
extra : source : 7e8608344bd8f270a32a9ba233d88e529365b0af
2018-06-04 09:03:19 +10:00
Jonathan Kew 7954a2d745 Bug 1466332 - patch 3 - Update StyleDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt 2018-06-03 21:33:53 +01:00
Jonathan Kew 7cfc0cfbdc Bug 1466332 - patch 2 - Update WeightDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt 2018-06-03 21:33:47 +01:00