Commit Graph

610099 Commits

Author SHA1 Message Date
Daniel Varga
3ee92b7a2f Merge mozilla-central to autoland 2018-08-18 01:04:09 +03:00
Narcis Beleuzu
a42bb6a055 Backed out changeset 32e2d0ddc56a (bug 1477100) for build bustages on editDialog.css. CLOSED TREE 2018-08-18 00:49:17 +03:00
Emilio Cobos Álvarez
94eb4ee48e Bug 1483808 - Make webkit device-pixel-ratio media queries a proper alias to resolution. r=dholbert
According to the spec:

  https://compat.spec.whatwg.org/#css-media-queries-webkit-device-pixel-ratio

And to the Chromium implementation:

  https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/media_query_evaluator.cc?l=366&rcl=1d7328865bcf06a687aafc18ff95d55317030672

They're no different than resolution.

In our implementation `resolution` does slightly different stuff. Given we
still haven't shipped -webkit-device-pixel-ratio, making this match resolution
looks better than the opposite.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 21:25:37 +00:00
Tom Prince
f5f9b5f0ac Bug 1481178: Retry downloading chainOfTrust.json.asc in mach artifact toolchain; r=gps a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D3661

--HG--
extra : rebase_source : 1476805171a838a80d4220dafcadcc175344efa1
2018-08-17 15:20:37 -06:00
Daniel Varga
707a0b3f74 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-18 00:53:04 +03:00
Drew Willcoxon
f90bca5e29 Bug 1484067 - Hide search em-dash when search query only contains spaces r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3659

--HG--
extra : moz-landing-system : lando
2018-08-17 20:56:31 +00:00
Randall Barker
832c1cbf6b Bug 1483596 - Add GeckoView API to set VR UA string r=esawin,jchen
Differential Revision: https://phabricator.services.mozilla.com/D3545

--HG--
extra : moz-landing-system : lando
2018-08-17 20:34:04 +00:00
Jared Wein
61f730db69 Bug 1477100 - Show the labels as placeholders inside of the fields. r=MattN
Show the labels as placeholders inside of the fields.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 20:50:26 +00:00
Timothy Guan-tin Chien
166aa2d738 Bug 1483972 - Allow videocontrols to initialize without style r=jaws,dholbert!,jaws!
This crash happens because nsVideoFrame didn't know what to do with two
children in the UA Widget Shadow Root.

The two children are both videocontrols, with the first one being the lingering
DOM inserted by first constructor call that throws.

The subsequent appendChild of the same element caused the videocontrols
to be initialized again, since the previous run didn't return a widget
instance to UAWidgetsChild.

The fix here removes the throw statement added in
https://hg.mozilla.org/mozilla-central/rev/dca187f7c72c#l3.15 ,
allowing the constructor to complete.

Without this statement, we will rely on assertion in the test here
https://hg.mozilla.org/mozilla-central/rev/4ddca5eb06c2#l2.18
to fail on slower platforms to ensure the stylesheet is loaded synchronously.

An alternative fix would be to wrap up the contructor in a try catch block
from UAWidgetsChild and make sure the DOM is cleaned up when the constructor
throw. That however will hide the error thrown so I decided to remove the throw
statement instead.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 20:43:46 +00:00
Randall Barker
a1c5b33558 Bug 1483420 - Add GeckoView APIs for overriding screen size and display DPI r=esawin,jchen
Differential Revision: https://phabricator.services.mozilla.com/D3379

--HG--
extra : moz-landing-system : lando
2018-08-17 20:17:44 +00:00
Emilio Cobos Álvarez
66b986e252 Bug 1483882 - Teach IDTracker about Shadow DOM. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D3533
2018-08-17 22:01:52 +02:00
Joel Maher
c0d0bc65ae Bug 1481708 - run wasm-misc on desktop browsers. r=rwood
support wasm-misc as a benchmark in raptor

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

--HG--
extra : moz-landing-system : lando
2018-08-17 19:22:29 +00:00
Rob Wood
eeb6464d68 Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D3446

--HG--
extra : moz-landing-system : lando
2018-08-17 18:06:22 +00:00
Narcis Beleuzu
b001ac17eb Backed out changeset 9c08d6d5d6f2 (bug 1483882) for reftest failures on svg/fragid-shadow. CLOSED TREE 2018-08-17 21:27:14 +03:00
Michael Kaply
925e710ffa Bug 1483939 - Account for anchor when creating URLSearchParams. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D3525

--HG--
extra : moz-landing-system : lando
2018-08-17 17:58:23 +00:00
Edouard Oger
7a730215d7 Bug 1483979 - Enable fxa commands r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3569

--HG--
extra : moz-landing-system : lando
2018-08-17 17:56:52 +00:00
Henri Sivonen
d3a158ae38 Bug 1483764 - Fix EOF behavior when decoding responseText lazily. r=smaug
* Drop the decoder when it finishes regardless of who called it.
 * Match criteria for having mDecoder process EOF from OnStopRequest to
   the criteria used for eager decoding in StreamReaderFunc.
 * Process EOF when decoding lazily.
 * Get rid of the useless mResponseCharset field.

MozReview-Commit-ID: 7oJwyKQYP8K

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

--HG--
extra : moz-landing-system : lando
2018-08-17 17:04:22 +00:00
Noemi Erli
1360ddcaa4 Backed out 3 changesets (bug 1482454) for devtools failures CLOSED TREES
Backed out changeset 3ada76566234 (bug 1482454)
Backed out changeset 1cdd772dae68 (bug 1482454)
Backed out changeset f06260e3db1c (bug 1482454)
2018-08-17 19:52:01 +03:00
Simon Fraser
bb47a9554c Bug 1484268 Update cryptography for mitmproxy r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D3619

--HG--
extra : moz-landing-system : lando
2018-08-17 16:43:08 +00:00
Gabriel Luong
15b9c20c49 Bug 1483965 - Fix the checked selection in the RDM device pixel ratio menu. r=caliman 2018-08-17 12:26:47 -04:00
Ehsan Akhgari
720eee8a3f Bug 1483035 - Add the reject tracker cookie policy to the Cookies enterprise policy; r=mkaply 2018-08-17 12:03:06 -04:00
Noemi Erli
13c06e5fff Backed out changeset 48eed9811f27 (bug 1483035) Linting failure on builds/worker/checkouts/gecko/browser/components/enterprisepolicies/tests/browser/browser_policy_cookie_settings.js CLOSED TREE 2018-08-17 18:50:51 +03:00
Ehsan Akhgari
4e4c7325e4 Bug 1483035 - Add the reject tracker cookie policy to the Cookies enterprise policy; r=mkaply 2018-08-17 11:29:05 -04:00
Geoff Brown
12eb64ca79 Bug 1482413 - More mozharness logging updates for test-verify; r=me,a=test-only 2018-08-17 09:21:33 -06:00
Geoff Brown
b70a1556ca Bug 1482957 - Download minidump_stackwalk in android-hw tests; r=bc
The script was setting minidump_stackwalk_path, signalling that minidump_stackwalk
is expected to be found pre-installed at that location. When the path is not set,
the executable is downloaded.
2018-08-17 09:21:31 -06:00
trisha
853b12987a Bug 1483207 - Update the 'Continue...' label in new cert-error pages. r=johannh
DONTBUILD

--HG--
extra : source : a692112bf9b8054eb2e40847c32eb94fd4095d70
extra : amend_source : 4ade9201a3af6914081c431caddacccb37830615
2018-08-17 16:04:41 +05:30
Ryan VanderMeulen
7c85684213 Backed out changeset a692112bf9b8 for landing with the wrong bug number in the commit message. 2018-08-17 11:10:26 -04:00
trisha
b54816c898 Bug 1480038 - Update the 'Continue...' label in new cert-error pages. r=johannh 2018-08-17 16:04:41 +05:30
André Bargull
69a6c8ce90 Bug 1346211 - Part 6: Use ICU for all time zone computations when available. r=Waldo
--HG--
extra : rebase_source : 7b7216fadc6cf2dd048c85b7c935b2c2a6b3b1c7
2018-08-17 03:04:39 -07:00
Tom Schuster
1c7d45c07c Bug 1483999 - Use a switch for dispatching traverse functions. r=sfink
--HG--
extra : rebase_source : 3b154016e2c567347db17748e0861d4a987df038
extra : histedit_source : 4d673e93ea1512931594b654940f81dcb2c918f9
2018-08-16 22:48:37 +02:00
Tom Schuster
aa8c909319 Bug 1483999 - Move rooting outside of loop. r=sfink
--HG--
extra : rebase_source : 5d9c6246ddf80c450e4a47f3df4f709f5424a44b
2018-08-16 21:49:45 +02:00
Dale Harvey
f0d25ece63 Bug 1477294 - Hide identity popup when the user reloads. r=johannh
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
Dão Gottwald
34db588af8 Bug 1483887 - Copy fullscreen window controls styling from Windows. r=ntim 2018-08-17 14:36:19 +02:00
Csoregi Natalia
953b0fcb6d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-18 12:50:21 +03:00
Brian Birtles
021537f68f Bug 1467344 - Update corresponding tests for CSS animations to make them consistent; r=hiro
This is a collection of fix-ups to the corresponding tests for CSS animations to
apply the same sort of naming etc. that we have now applied to CSS transitions
tests.

--HG--
rename : testing/web-platform/tests/css/css-animations/CSSAnimation-getComputedTiming.tentative.html => testing/web-platform/tests/css/css-animations/AnimationEffect-getComputedTiming.tentative.html
extra : rebase_source : a5e5e34cf389e3d6c8e4d11e80568f17988549c2
2018-08-16 14:41:06 +09:00
Brian Birtles
e5e3d40a60 Bug 1467344 - Update event-dispatch test now that we can use the updated EventWatcher; r=hiro
--HG--
extra : rebase_source : 3f19db266b03c18b577cb397ad828261f1f65ab1
2018-08-16 14:41:05 +09:00
Brian Birtles
366519313f Bug 1467344 - Add spec links to test files; r=hiro
--HG--
extra : rebase_source : 29bc003f1bb87ce6b71360260cfbde6bb77999c7
2018-08-16 14:41:05 +09:00
Brian Birtles
c23be2ef0f Bug 1467344 - Move tests from dom/animations/tests/css-transitions to WPT; r=hiro
--HG--
rename : dom/animation/test/css-transitions/test_animation-computed-timing.html => testing/web-platform/tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative.html
rename : dom/animation/test/css-transitions/test_pseudoElement-get-animations.html => testing/web-platform/tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative.html
rename : dom/animation/test/css-transitions/test_animation-cancel.html => testing/web-platform/tests/css/css-transitions/CSSTransition-canceling.tentative.html
rename : dom/animation/test/css-transitions/test_animation-currenttime.html => testing/web-platform/tests/css/css-transitions/CSSTransition-currentTime.tentative.html
rename : dom/animation/test/css-transitions/test_setting-effect.html => testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
rename : dom/animation/test/css-transitions/test_animation-finished.html => testing/web-platform/tests/css/css-transitions/CSSTransition-finished.tentative.html
rename : dom/animation/test/css-transitions/test_animation-ready.html => testing/web-platform/tests/css/css-transitions/CSSTransition-ready.tentative.html
rename : dom/animation/test/css-transitions/test_animation-starttime.html => testing/web-platform/tests/css/css-transitions/CSSTransition-startTime.tentative.html
rename : dom/animation/test/css-transitions/test_csstransition-transitionproperty.html => testing/web-platform/tests/css/css-transitions/CSSTransition-transitionProperty.tentative.html
rename : dom/animation/test/css-transitions/test_document-get-animations.html => testing/web-platform/tests/css/css-transitions/Document-getAnimations.tentative.html
rename : dom/animation/test/css-transitions/test_element-get-animations.html => testing/web-platform/tests/css/css-transitions/Element-getAnimations.tentative.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html => testing/web-platform/tests/css/css-transitions/KeyframeEffect-getKeyframes.tentative.html
rename : dom/animation/test/css-transitions/test_effect-target.html => testing/web-platform/tests/css/css-transitions/KeyframeEffect-target.tentative.html
rename : dom/animation/test/css-transitions/test_event-dispatch.html => testing/web-platform/tests/css/css-transitions/event-dispatch.tentative.html
extra : rebase_source : f09d4ff00f5be59ec5f90b211eebb074bdc17781
2018-08-16 14:41:04 +09:00
Brian Birtles
8ad2e56a19 Bug 1467344 - Drop use of flushComputedStyle in css-transitions tests; r=hiro
flushComputedStyle is as follows:

  var cs = getComputedStyle(elem);
  cs.marginLeft;

That _probably_ flushes style in most engines, but it's possible some engine in
the future will optimize things in a way that it can flush marginLeft without
flushing, say, backgroundColor. Before moving these tests to wpt, it would be
better to explicitly flush the property (or at least one of the properties) we
are transitioning.

This patch also updates the "Setting zero combined duration" test from
test_animation-cancel.html since, in making this change, I realized the test was
wrong.

Specifically, it was testing that when we set a combined duration of zero that
a transition is canceled. However, nothing in the spec requires this. The spec
only requires a non-zero combined duration to _start_ a transition and only
cancels an existing transition if the combined duration becomes _zero_ if the
"the end value of the running transition is not equal to the value of the
property in the after-change style".

This test passed, however, because it changed the transition property to
margin-top, hence it was actually testing the same condition as the previous
test.

--HG--
extra : rebase_source : ab1890c3125cb0a136869cd665efd2aa358304f0
2018-08-16 14:41:04 +09:00
Brian Birtles
39f115e905 Bug 1467344 - Update tests in test_setting-effect.html; r=hiro
This patch splits the first test into four separate tests since it really seems
to be testing four different things.

Likewise, the later patch for replacing the effect is split into two parts:

- One to test the playState behavior
- One to test the value reported by transitionProperty

The test, "After setting a transition's effect to null, transitionend is still
dispatched", is dropped since it is covered by the last test in
test_event-dispatch.html.

--HG--
extra : rebase_source : dae7ade8a7217e7916930278050b1c9fae847553
2018-08-16 14:41:03 +09:00
Brian Birtles
7b8fddcb1b Bug 1467344 - Update tests in test_keyframeeffect-getkeyframes.html; r=hiro
This patch merely tidies up some whitespace and uses of quotes / template
strings. There are no substantive changes.

--HG--
extra : rebase_source : 09383565b47c2a6173e1839756058e2b20dfff16
2018-08-16 14:41:03 +09:00
Brian Birtles
e72376bfc3 Bug 1467344 - Update tests in test_animation-element-get-animations.html; r=hiro
This mostly just tidies up these tests to give them sensible titles.

The only test with major substantive changes is the first test. This test tests
three things:

1) That getAnimations() returns one transition per transitioning property
2) That getAnimations() returns transitions in the order they were generated
3) That CSS transitions have their start time set based on when they were
   generated.

(2) is covered later in this file by the test: 'getAnimations sorts
    transitions by when they were generated'
(3) is really a test for startTime, if anything, not getAnimations().
    I'm not sure how necessary it is, but I've added it to
    test_animation-starttime.html for now.

As a result, this patch updates this first test to only cover (1).

--HG--
extra : rebase_source : 992861421e83e8fc391f865888428de22ed16914
2018-08-16 14:41:03 +09:00
Brian Birtles
7c74982678 Bug 1467344 - Tidy up test in test_csstransition-transitionproperty.html; r=hiro
This is mostly whitespace tidy-ups. The only substantive change is the fix to
the test description which previously seemed to be missing some words.

--HG--
extra : rebase_source : 9eb84f5a845ece8fe60d5322de6d5f8a6580c370
2018-08-16 14:41:03 +09:00
Brian Birtles
08d47db33c Bug 1467344 - Update tests in test_animation-starttime.html; r=hiro
Apart from obvious tidy-ups the substantive changes to tests in this file are as
follows:

* Skipping forward through animation
  -> This is really testing two things:
     (a) That you can seek a transition using the start time.
     (b) That seeking a transition using the start time triggers
         dispatching events.

     This patch splits the above into two separate tests.

* Skipping backwards through animation,
  -> All these tests are really just exercising event dispatch which is
     already covered by test_event-dispatch.html.

     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 'Pausing clears the start time'
     in wpt/web-animations/timing-model/animations/pausing-an-animation.html

--HG--
extra : rebase_source : ed598e907085d1cb06ef2142d6471eec4a34300d
2018-08-16 14:41:03 +09:00
Brian Birtles
92f4d59c41 Bug 1467344 - Update tests in test_animation-ready.html; r=hiro
The test: 'A new ready promise is created each time play() is called the
animation property', is covered in:

  web-animations/interfaces/Animation/ready.html

by the 'A new ready promise is created when play()/pause() is called' test.
As a result, this patch removes that test.

--HG--
extra : rebase_source : 61059b90fec505784b9df67c9b8a2962ca45204b
2018-08-16 14:41:03 +09:00
Brian Birtles
f42870d113 Bug 1467344 - Drop test_animation-pausing.html; r=hiro
This seems to be adequately covered by:

  web-animations/timing-model/animations/pausing-an-animation.html
  (specifically the last test: 'The animation's current time remains fixed
  after pausing')

  web-animations/timing-model/animation-effects/simple-iteration-progress.html
  (which checks that the iteration progress is correctly calculated from the
  current time)

--HG--
extra : rebase_source : 58fc61afb9ae638568f17950723bdba0c758c6a5
2018-08-16 14:41:03 +09:00
Brian Birtles
fd734f45b8 Bug 1467344 - Update tests in test_animation-finished.html; r=hiro
For the first test, we really want to check that it is possible to restart
transitions (since they are otherwise disassociated once they finish) hence this
patch updates the test to the actual output in style rather than timing.

The second test is covered in

  web-animations/timing-model/animations/reversing-an-animation.html

by the 'Playing a finished and reversed animation seeks to end' test so this
patch removes it from this file.

--HG--
extra : rebase_source : 415b8c9ca314085e64ffc715bf72046db264cf52
2018-08-16 14:41:03 +09:00
Brian Birtles
ce2e73ce15 Bug 1467344 - Update tests in test_animation-currenttime.html; r=hiro
This patch basically completely rewrites this file to make it simpler and remove
unnecessary tests.

In particular:

* It sets the duration and delay to 100s to match what we use in most tests
* All the helper methods at the start are inlined into the relevant tests
  because doing so makes the tests much easier to read and debug.
* The first two tests are combined and extended
  - Testing the initial current time is zero is not generally useful but it is
    when we're testing setting it
  - What the second test really wants to test is that the style updates (i.e.
    you really can seek a transition, not just that the currentTime value
    updates)
  - The trick where we set the start time just to get out of the pending state
    seems unnecessary, we may as well just wait on ready. In fact, we don't
    _need_ to do that, but this test is about checking you can seek a transition
    in motion.
* In the fourth test, 'Skipping backwards through transition', we don't check
  the event is dispatched since that is covered in test_event-dispatch.html
  in the 'Active -> Before' test.
* The final test, 'Animation.currentTime after pausing', is covered by
  web-animations/timing-model/animations/pausing-an-animation.html

--HG--
extra : rebase_source : 113af8f3e4b4f2ffe90cb9bb87be3c2e72a82289
2018-08-16 14:41:03 +09:00
Brian Birtles
01f72be8ec Bug 1467344 - Fix some minor formatting in test_animation-computed-timing.html; r=hiro
--HG--
extra : rebase_source : bc27d838e5e1f905852fe847681954e02c2c0624
2018-08-16 14:41:02 +09:00
Brian Birtles
7aa56d6148 Bug 1467344 - Drop some unnecessary <body> elements from test files; r=hiro
We're a bit inconsistent about this, but generally we try to keep this files as
minimal as possible.

There is still a lot of other cruft in the starttime and currenttime test files
but we will remove that when we tidy up those files in later patches in this
series.

--HG--
extra : rebase_source : 93ef290315b4650650de960551ff07572ff7656e
2018-08-16 14:41:02 +09:00