Commit Graph

34407 Commits

Author SHA1 Message Date
Henrik Skupin
59b691b66e Bug 1546880 - [raptor] Remove proxy workaround from raptor-youtube-playback tests. r=perftest-reviewers,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D32378

--HG--
extra : moz-landing-system : lando
2019-05-24 05:36:42 +00:00
Henrik Skupin
7ac54a42f3 Bug 1546880 - Remove usage of proxy server from testing/profiles/perf/user.js. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32376

--HG--
extra : moz-landing-system : lando
2019-05-23 23:45:18 +00:00
Henrik Skupin
cb729f61af Bug 1546880 - [talos] Replace remote w3c image with local copy. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32375

--HG--
extra : moz-landing-system : lando
2019-05-23 23:39:38 +00:00
alexandru.ionescu
2f37f5f55a Bug 1546323 Run cold page load tests against Fennec v64 in CI r=Bebe
Differential Revision: https://phabricator.services.mozilla.com/D31773

--HG--
extra : moz-landing-system : lando
2019-05-24 07:12:19 +00:00
Daniel Holbert
0f84d86e05 Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

But that's not sufficient. To make frames fully report lack-of-a-baseline,
we now do the following for layout-contained frames, as of this patch:

 (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its
     default value (which is what we do for frames without a baseline like
     e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares
     about the baseline, it'll then ask directly, using a baseline getter.

 (b) We now return 'false' in more implementations of bool-returning
     baseline-getter-methods (where 'false' indicates 'no baseline').

 (c) We now return the margin-box-bottom edge, in the nscoord-returning
     'GetLogicalBaseline()' getter method. (We typically do this by deferring
     to the inherited method, which ultimately comes from nsFrame's
     implementation). It's appropriate to use the margin-box-bottom edge when
     there's no baseline, per the definition of 'vertical-align: baseline',
     here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:17 +00:00
Daniel Holbert
c016e21c54 Bug 1552287 part 1: [css-contain] Fix some CSS layout-containment web-platform-tests to make their assumptions more valid. r=TYLin
In particular:

- In contain-layout-suppress-baseline-002.html, the test currently indirectly
  relies on the 50px-tall-canvas being the tallest thing in each flex
  container. This isn't robustly true (and in fact on windows, the textarea is
  taller at 50.8px tall). So I'm adjusting this test so that it no longer has a
  hardcoded flex container size and no longer depends on this.

- In contain-layout-baseline-005.html and its reference case, we need to
  explicitly specify 'vertical-align:baseline' to test baseline-alignment,
  because some of its tested form controls have other UA-stylesheet-provided
  default values of 'vertical-align'.
  (e.g. <select multiple> defaults to 'vertical-align:text-bottom")

- Also: in that same test, we need to reduce the width of the an <input>
  textfield -- otherwise, it and the other elements on its line may not fit and
  may linewrap, which prevents us from effectively testing baseline-alignment
  on the linewrapped element.

- In contain-layout-button-001.html, the expectation was not correct. Before
  this patch, the test expects that a layout-contained button will have the
  same baseline as an empty button, and that's an invalid expectation. An empty
  button uses a point inside of its content-box as its baseline, whereas a
  layout-contained element *has no baseline*, which means that it does
  'vertical-align:baseline' alignment by aligning its own margin-bottom edge
  with the parent's baseline, per
  https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
  So, I'm amending the test to have this expectation and updating its meta tags
  to reference the updated expectation and with a reference to that spec text.

Firefox fails the amended contain-layout-button-001.html test, so this patch
adds a .ini file to reflect that failure.  The next patch in this series will
fix our implementation to make us pass the test, and will remove the .ini file.

Chrome also fails the amended contain-layout-button-001.html tests, and I filed
https://bugs.chromium.org/p/chromium/issues/detail?id=965740 on them with an
explanation.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:07 +00:00
Boris Chiou
3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +00:00
Emilio Cobos Álvarez
43842d4d0a Bug 1544242 - Give up on a test that's too fuzzy on win and OSX for now. CLOSED TREE
Will try to reland it fixed.
2019-05-24 04:57:40 +02:00
Emilio Cobos Álvarez
3a43b20078 Bug 1544242 - Add a test for a bug that this inadvertently fixes. r=heycam
Always generating the slot assignment combinator means that we check the current
host correctly.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:11:52 +00:00
Emilio Cobos Álvarez
980074a5b2 Bug 1544242 - Cleanup selector-matching for nested pseudo-elements, match ::slotted correctly when there's no selector before it, and add tests. r=heycam,mats
D29542 fixed the bogus checks that was making nested pseudo-elements match
author rules. This adds tests and ends up being just a cleanup, though as it
turns out we it also fixes an issue with ::slotted() matched from
Element.matches.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:09:15 +00:00
Andreea Pavel
b0d930d399 Backed out changeset 9a5f590f5f75 (bug 1480236) for android build bustages at nsIGlobalObject.cpp on a CLOSED TREE
--HG--
extra : histedit_source : 7723fa0dc4ed421c9c00a0390f430741eba9e0bb
2019-05-24 04:15:04 +03:00
Olli Pettay
7ca3af6ba1 Bug 1480236 - Implement queueMicrotask(), r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32341

--HG--
extra : moz-landing-system : lando
2019-05-23 21:26:05 +00:00
Andreea Pavel
ed8cf51b98 Backed out 23 changesets (bug 1550633) for causing bug 1548454 to permafail on a CLOSED TREE
Backed out changeset ce4a146da49d (bug 1550633)
Backed out changeset e1a33576d6ad (bug 1550633)
Backed out changeset bbd8f62b9bff (bug 1550633)
Backed out changeset 583d4e0945ad (bug 1550633)
Backed out changeset 29487a59512d (bug 1550633)
Backed out changeset 0f6ddd898e89 (bug 1550633)
Backed out changeset fd1afdd721e3 (bug 1550633)
Backed out changeset d4a6c1337f89 (bug 1550633)
Backed out changeset 2d4773f2dc6c (bug 1550633)
Backed out changeset e9dea69efffe (bug 1550633)
Backed out changeset 4265dd65cec3 (bug 1550633)
Backed out changeset 2aaaa42c409b (bug 1550633)
Backed out changeset d85485f76233 (bug 1550633)
Backed out changeset b6e8370b6efb (bug 1550633)
Backed out changeset afaef937598b (bug 1550633)
Backed out changeset 470d8fae0461 (bug 1550633)
Backed out changeset 8024fcefe8b1 (bug 1550633)
Backed out changeset 224eadc5ef27 (bug 1550633)
Backed out changeset 26c3c521ce27 (bug 1550633)
Backed out changeset def294ad0efb (bug 1550633)
Backed out changeset b15cc6e689e7 (bug 1550633)
Backed out changeset be178934cbbb (bug 1550633)
Backed out changeset 9893ccf1f8ad (bug 1550633)
2019-05-24 03:38:26 +03:00
Andreea Pavel
9ea3c5f4bf Backed out 2 changesets (bug 1552287) for failing contain-layout-suppress-baseline-002.html on a CLOSED TREE
Backed out changeset 815c6657d164 (bug 1552287)
Backed out changeset 888c32d2a32e (bug 1552287)
2019-05-24 03:34:03 +03:00
Daniel Holbert
b15f05575d Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

But that's not sufficient. To make frames fully report lack-of-a-baseline,
we now do the following for layout-contained frames, as of this patch:

 (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its
     default value (which is what we do for frames without a baseline like
     e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares
     about the baseline, it'll then ask directly, using a baseline getter.

 (b) We now return 'false' in more implementations of bool-returning
     baseline-getter-methods (where 'false' indicates 'no baseline').

 (c) We now return the margin-box-bottom edge, in the nscoord-returning
     'GetLogicalBaseline()' getter method. (We typically do this by deferring
     to the inherited method, which ultimately comes from nsFrame's
     implementation). It's appropriate to use the margin-box-bottom edge when
     there's no baseline, per the definition of 'vertical-align: baseline',
     here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:41:35 +00:00
Daniel Holbert
44b7ad2eb6 Bug 1552287 part 1: [css-contain] Fix some CSS layout-containment web-platform-tests to make their assumptions more valid. r=TYLin
In particular:

- In contain-layout-baseline-005.html and its reference case, we need to
  explicitly specify 'vertical-align:baseline' to test baseline-alignment,
  because some of its tested form controls have other UA-stylesheet-provided
  default values of 'vertical-align'.
  (e.g. <select multiple> defaults to 'vertical-align:text-bottom")

- Also: in that same test, we need to reduce the width of the an <input>
  textfield -- otherwise, it and the other elements on its line may not fit and
  may linewrap, which prevents us from effectively testing baseline-alignment
  on the linewrapped element.

- In contain-layout-button-001.html, the expectation was not correct. Before
  this patch, the test expects that a layout-contained button will have the
  same baseline as an empty button, and that's an invalid expectation. An empty
  button uses a point inside of its content-box as its baseline, whereas a
  layout-contained element *has no baseline*, which means that it does
  'vertical-align:baseline' alignment by aligning its own margin-bottom edge
  with the parent's baseline, per
  https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
  So, I'm amending the test to have this expectation and updating its meta tags
  to reference the updated expectation and with a reference to that spec text.

Firefox fails the amended contain-layout-button-001.html test, so this patch
adds a .ini file to reflect that failure.  The next patch in this series will
fix our implementation to make us pass the test, and will remove the .ini file.

Chrome also fails the amended contain-layout-button-001.html tests, and I filed
https://bugs.chromium.org/p/chromium/issues/detail?id=965740 on them with an
explanation.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:41:24 +00:00
Ehsan Akhgari
7a2bc82f23 Bug 1553680 - Read the Cookie response headers from a `white-space: pre' element so that any white-space in them would be preserved in the expectation value; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32239

--HG--
extra : moz-landing-system : lando
2019-05-23 11:28:53 +00:00
alwu
8657110169 Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 17:58:40 +00:00
alwu
9fc4931d42 Bug 1550633 - part14 : add a test for 'honor user preferences for automatic text track selection'. r=bzbarsky
This test is used to ensure that we queue 'honor user preferences for automatic text track selection' as a marco task, not a mirco task.

In this test, we would trigger a media event before queuing a text track selection task, and check the text track's mode to know whether the text track selection runs after the task for media event.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:03:10 +00:00
alwu
05d99aa6d5 Bug 1550633 - part12 : enable wpts. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31561

--HG--
extra : moz-landing-system : lando
2019-05-23 09:03:25 +00:00
alwu
84ef4e1182 Bug 1550633 - part11.1 - modify 'track-element-src-change-error.html'. r=jya
According to spec [1], if the track URL changes so that it is no longer equal to URL while fetching is ongoing, we need to change the text track readiness state to`failed to load` and dispatch `error`.

So we now only fire `error` if `src` is removed during loading, but if the track element has finished loading before removing `src`, we won't dispatch `error` for it.

[1] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-failed-to-load-3

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:03:29 +00:00
alwu
307f759685 Bug 1550633 - part11 : modify wpt 'track-element-src-change.html' and 'track-element-src-change-error.html'. r=jya
According to the spec [1], the text track list of cues is initially empty. It is dynamically modified when the referenced file is parsed.

Therefore, after reset the track element's url, the number of cues of the text track should be zero, until we start parsing resource and add cue into the list.

[1]
https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-list-of-cues
https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-list-of-cues-3

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:03:27 +00:00
alwu
957438151e Bug 1550633 - part5 : modify and enable test 'track-mode-not-changed-by-new-track.html'. r=jya
In `honor user preferences for automatic text track selection` [1], we would set `did-perform-automatic-track-selection` flag to true [2], and then we won't execute automatic track selection anymore [3].

It means that we would only do automatic track selection one time, and then user has to enable newly added track explicitly by changing its mode.

In this test, we have done the automatic track selection when we added the `metadata` track to media element's text track list, so we won't run it again, even if the newly added track has `default` attribute.

Therefore, we have to enable the `caption` track explicitly. In addition, add the missing `event` parameter for the function `trackAdded()`.


[1] https://html.spec.whatwg.org/multipage/media.html#honor-user-preferences-for-automatic-text-track-selection
[2] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection-2
[3] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:03:42 +00:00
Kartikaya Gupta
d35c6b3268 Bug 1549776 - Add a script to run wrench reftests on an Android emulator. r=gbrown
This adds an android_emulator_wrench.py script that uses mozharness to
control the Android emulator, and run the wrench reftests. It has an
associated wrench.py config script which is similar to existing android
config scripts.

The android_emulator_wrench script is structured a little differently
from other android mozharness scripts, mostly for two reasons:

1) I tried hard to make it locally runnable by developers, using
   ./mach python. This allows develpers to more easily reproduce the
   setup that runs in automation, and does so without duplicating a lot
   of code.

2) I also tried to make the script use fewer of what I consider to be
   "opaque" mozharness features, like the actions list which can run
   hard-to-find preflight and postflight functions. Instead of treating
   mozharness like a framework and filling in some functions for it to
   invoke as part of it's grand plan, I treat it more like a library and
   specifically the functions I want in the order that I want, which
   makes it easier for novice developers to debug problems.

As part of writing this script I extracted a few helper functions and made
some minor changes to existing android/adb mozharness machinery, but these
are all simple refactorings and should introduce no functional change.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 17:02:49 +00:00
Daniel Holbert
0fb414a70a Bug 1553548: [css-contain] Make table-wrapper-box inherit CSS "contain" from table box. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32179

--HG--
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-001.html
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-002.html
extra : moz-landing-system : lando
2019-05-23 16:52:28 +00:00
mandy cheang
5767663a4e Bug 1541233 - Don't load customization style sheets if toolkit.legacyUserProfileCustomizations.stylesheets pref is not set. r=mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D31670

--HG--
extra : moz-landing-system : lando
2019-05-23 12:06:09 +00:00
Hiroyuki Ikezoe
de7c51b158 Bug 1553022 - Don't use the given range in ScrollToWithOrigin in the case where scroll snap will happen. r=botond
ScrollToShowRect calls nsIScrollableFrame::ScrollTo with an nsRange which
will be used to constrain the final scroll position so that if snapping needs
to happen we need to ignore the given range not to constrain the final
destination position in the range.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 10:22:08 +00:00
Dorel Luca
e7b8d1a1ec Backed out 2 changesets (bug 1553022) for build bustage on builds/worker/workspace/build/src/layout/generic/nsGfxScrollFrame.cpp
Backed out changeset d136380e4945 (bug 1553022)
Backed out changeset 9a556ee9f039 (bug 1553022)
2019-05-23 13:08:25 +03:00
Hiroyuki Ikezoe
292b43f092 Bug 1553022 - Don't use the given range in ScrollToWithOrigin in the case where scroll snap will happen. r=botond
ScrollToShowRect calls nsIScrollableFrame::ScrollTo with an nsRange which
will be used to constrain the final scroll position so that if snapping needs
to happen we need to ignore the given range not to constrain the final
destination position in the range.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:44:26 +00:00
Julian Descottes
00ccf24ba8 Bug 1553437 - Add cold-open talos DAMP test for jsdebugger, webconsole, netmonitor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D32122

--HG--
extra : moz-landing-system : lando
2019-05-23 08:41:19 +00:00
Mihai Alexandru Michis
6026c240e3 Backed out 22 changesets (bug 1550633) for browser-chrome failure at browser_cache.js. CLOSED TREE
Backed out changeset 87067f045e1e (bug 1550633)
Backed out changeset a42883570179 (bug 1550633)
Backed out changeset bf1426571565 (bug 1550633)
Backed out changeset 97f61668f78c (bug 1550633)
Backed out changeset e22ef6f848aa (bug 1550633)
Backed out changeset 22213d6f047c (bug 1550633)
Backed out changeset 27e03b195718 (bug 1550633)
Backed out changeset 9a5e3e6b8c21 (bug 1550633)
Backed out changeset d338d667dcbd (bug 1550633)
Backed out changeset abc099f50543 (bug 1550633)
Backed out changeset ed0f76cca0d9 (bug 1550633)
Backed out changeset 4b193e156faa (bug 1550633)
Backed out changeset fefc8d667b9c (bug 1550633)
Backed out changeset e4128df1406b (bug 1550633)
Backed out changeset 9ad7d7b5ef6d (bug 1550633)
Backed out changeset d8fdfd9505bf (bug 1550633)
Backed out changeset 679ce0bdbf18 (bug 1550633)
Backed out changeset f75c225dc273 (bug 1550633)
Backed out changeset 4346465d73b1 (bug 1550633)
Backed out changeset 4c8fd0720cc2 (bug 1550633)
Backed out changeset 81545b2c0b58 (bug 1550633)
Backed out changeset 12fc5abcd066 (bug 1550633)
2019-05-23 11:54:26 +03:00
Brian Birtles
1639347f15 Bug 1553021 - Add web-platform-tests for { subtree: true } option to Animatable.getAnimations; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31945

--HG--
extra : moz-landing-system : lando
2019-05-22 05:48:28 +00:00
alwu
7d9efb558d Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:50:40 +00:00
alwu
72c28ef2e4 Bug 1550633 - part14 : add a test for 'honor user preferences for automatic text track selection'. r=bzbarsky
This test is used to ensure that we queue 'honor user preferences for automatic text track selection' as a marco task, not a mirco task.

In this test, we would trigger a media event before queuing a text track selection task, and check the text track's mode to know whether the text track selection runs after the task for media event.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 19:02:57 +00:00
alwu
c065aeb585 Bug 1550633 - part12 : enable wpts. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31561

--HG--
extra : moz-landing-system : lando
2019-05-23 05:31:29 +00:00
alwu
10fe65841a Bug 1550633 - part11.1 - modify 'track-element-src-change-error.html'. r=jya
According to spec [1], if the track URL changes so that it is no longer equal to URL while fetching is ongoing, we need to change the text track readiness state to`failed to load` and dispatch `error`.

So we now only fire `error` if `src` is removed during loading, but if the track element has finished loading before removing `src`, we won't dispatch `error` for it.

[1] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-failed-to-load-3

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

--HG--
extra : moz-landing-system : lando
2019-05-22 22:23:50 +00:00
alwu
4bf63cecab Bug 1550633 - part11 : modify wpt 'track-element-src-change.html' and 'track-element-src-change-error.html'. r=jya
According to the spec [1], the text track list of cues is initially empty. It is dynamically modified when the referenced file is parsed.

Therefore, after reset the track element's url, the number of cues of the text track should be zero, until we start parsing resource and add cue into the list.

[1]
https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-list-of-cues
https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-list-of-cues-3

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

--HG--
extra : moz-landing-system : lando
2019-05-21 00:25:41 +00:00
alwu
df7a85cbd8 Bug 1550633 - part5 : modify and enable test 'track-mode-not-changed-by-new-track.html'. r=jya
In `honor user preferences for automatic text track selection` [1], we would set `did-perform-automatic-track-selection` flag to true [2], and then we won't execute automatic track selection anymore [3].

It means that we would only do automatic track selection one time, and then user has to enable newly added track explicitly by changing its mode.

In this test, we have done the automatic track selection when we added the `metadata` track to media element's text track list, so we won't run it again, even if the newly added track has `default` attribute.

Therefore, we have to enable the `caption` track explicitly. In addition, add the missing `event` parameter for the function `trackAdded()`.


[1] https://html.spec.whatwg.org/multipage/media.html#honor-user-preferences-for-automatic-text-track-selection
[2] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection-2
[3] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection

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

--HG--
extra : moz-landing-system : lando
2019-05-20 09:33:13 +00:00
Botond Ballo
4b30c2225e Bug 1550813 - Revise viewport-resize-event-on-load-overflowing-page.html to avoid bug 1547827. r=jgraham
The test still fails, but now the failure is an issue with the feature rather
than the harness.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 00:39:30 +00:00
Stephen Donner
168232fa40 Bug 1553623: Fix typos in Raptor's cmdline.py; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D32215

--HG--
extra : moz-landing-system : lando
2019-05-22 21:12:28 +00:00
Chris Manchester
a18c4d2cbd Bug 1553339 - Abandon "2" in name of sccache toolchain artifacts. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D32218

--HG--
extra : moz-landing-system : lando
2019-05-22 21:06:16 +00:00
Nick Alexander
0f10c34f1d Bug 1533051 - Package greprefs.js and geckoview-prefs.js at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put certain preferences
into those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:27:11 +00:00
Brian Grinstead
7ba536e61d Bug 1551334 - Migrate OSX hidden window from XUL to XHTML r=Gijs
Also take the oppurtunity to include "mac" in the filename to clarify
where it's used.

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

--HG--
rename : browser/base/content/hiddenWindow.xul => browser/base/content/hiddenWindowMac.xhtml
extra : moz-landing-system : lando
2019-05-22 18:00:13 +00:00
Tom Ritter
ccda570925 Bug 1553481 - Filter out pdbs from CPP_UNIT_TEST_BINS so we don't try to strip them r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D32141

--HG--
extra : moz-landing-system : lando
2019-05-22 15:08:07 +00:00
shindli
931018bb0c Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-22 18:32:55 +03:00
shindli
bdf94edb89 Merge inbound to mozilla-central. a=merge 2019-05-22 18:26:18 +03:00
Jonathan Kew
5ee1a7fd40 Bug 1418472 - Flush line-breaks when encountering a Placeholder for an absolutely-positioned frame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32023

--HG--
extra : moz-landing-system : lando
2019-05-22 11:33:21 +00:00
Noemi Erli
98ff24cc58 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-22 06:45:38 +03:00
Sean Feng
cd60ceaea9 Bug 1550606 - Fix a race condition in WPT related to postMessage r=smaug
We used to use 2 rAFs to stop the load event from racing with
onmessage event, but this was not the proper solution and it was
still racy, especially after Bug 1534012 is landed. So we fixed it
by instead letting racy postMessage to be sent, we wait for the
proper postMessage to be sent, and the test would automatically
timeout if the proper postMessage failed to sent.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 19:11:29 +00:00
Christoph Kerschbaumer
796a800303 Bug 965637: Move CSP from Principal into Client, part 4: test updates. r=mccr8,jkt
Differential Revision: https://phabricator.services.mozilla.com/D27657

--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +00:00