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

35180 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 10c835f1fe Bug 1556801: Work around and fix harness errors caused by uncaught promise rejections. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33990

--HG--
extra : moz-landing-system : lando
2019-06-13 16:22:00 +00:00
Brian Grinstead 10b19180a7 Bug 1558995 - Remove <deck id="content-deck"> r=dao
This isn't necessary, since it has only 2 static children (the selected tab's content
and the customizable UI), and their visibility is toggled in a single place. We already
toggle .hidden for both - there's no need for a separate deck.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 09:28:24 +00:00
Valentin Gosu 410b2695a5 Bug 1527314 - Add more Cross-Origin-Opener-Policy tests r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D33330

--HG--
extra : moz-landing-system : lando
2019-06-14 09:46:57 +00:00
Valentin Gosu 5334e3fffd Bug 1527314 - Add tentative to cross-origin-opener WPT test names r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D33329

--HG--
rename : testing/web-platform/meta/html/cross-origin-opener/new_window_same_site.html.ini => testing/web-platform/meta/html/cross-origin-opener/new_window_same_site.tentative.html.ini
rename : testing/web-platform/tests/html/cross-origin-opener/new_window_same_site.html => testing/web-platform/tests/html/cross-origin-opener/new_window_same_site.tentative.html
rename : testing/web-platform/tests/html/cross-origin-opener/new_window_same_site.html.headers => testing/web-platform/tests/html/cross-origin-opener/new_window_same_site.tentative.html.headers
extra : moz-landing-system : lando
2019-06-14 09:45:26 +00:00
Marian Raiciof b2b633e095 Bug 1526752 - [mozdevice] Update adb.py and other necessary files to support python3 r=ahal,davehunt
Improve support for Python 3 by running modernize over adb.py and a few other related changes.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 08:44:15 +00:00
Arnold Iakab 814461e367 Bug 1538722 Improve Raptor failure message when running a test not targeted for the current application/platform r=alexandru.irimovici
Differential Revision: https://phabricator.services.mozilla.com/D32434

--HG--
extra : moz-landing-system : lando
2019-06-07 11:41:13 +00:00
Charlie Marlow b23d78eb85 Bug 1552062: Part 3: Added reftests for text-underline-offset r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D34934

--HG--
extra : moz-landing-system : lando
2019-06-14 02:33:45 +00:00
Alastor Wu 50383c6759 Bug 1534888 - part3 : enable wpt '2_cues_overlapping_completely_move_up.html' and '2_cues_overlapping_partially_move_up.html'. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D34610

--HG--
extra : moz-landing-system : lando
2019-06-13 23:31:27 +00:00
Alastor Wu 4f9e901bae Bug 1534888 - part2 : move the cue upward 1% of video's height. r=heycam
In `2_cues_overlapping_partially_move_up.vtt`, the second cue was put on the 99% place where the second cue is `1%` higher than the first cue, and then we would move the second cue up by a line box height in order to prevent those two cues overlapping.

Therefore, in the reference files, the second cue should be 1%(of 180px) higher than its original place.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:31:09 +00:00
Alastor Wu d7b1cca5b1 Bug 1534888 - part1 : modify wpt '2_cues_overlapping_completely_move_up.html' and '2_cues_overlapping_partially_move_up.html'. r=heycam
In order to simulate the line break correctly and robustly, we use <div> to trigger the line break, instead of using `martin-top` to adjust the box position, which have to specify the actual line box's size. Notice that the line box size is not actullay equal to the font size, it would make the offset really tricky (like moving aroung 9.33px if font is 9px) and not robust.

In addtion, as the main purpose of these tests are to check whether the second cue would be moved upward and not overlapped with the first box, we change the line position to `100%`, which can eliminate unnecessary moving. If we set `position:50%` for first box, the first box's top would be aligned to the 50% place height of video rendering area, and the second cue would be put above the first cue, which makes that the reference files have to use more complicated CSS style in order to get the same rendering. But if we put the first cue on the bottom, it's way more easier to write the style for the make-up cue line in the reference files.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:30:44 +00:00
alwu 29f942f3c0 Bug 1556087 - part3 : enable wpts. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D33395

--HG--
extra : moz-landing-system : lando
2019-06-14 00:37:25 +00:00
alwu 1ce922186c Bug 1556087 - part2 : adjust 'left' property for reference cues. r=heycam
If cue's `position` is smaller than `50`, the cue box would stay left and reduce its box size. If cue's `position` is larger than `50` the cue box would stay right and also reduce its box size [1].

Therefore, for `align_center_position_lt_50-ref` and `align_center_position_lt_50_size_gt_maximum_size-ref`, we should set `left:0` because the box is in the left side.

For `align_center_position_gt_50-ref`, we have to set `right:0`.

[1] https://searchfox.org/mozilla-central/source/dom/media/webvtt/vtt.jsm#641-685

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

--HG--
extra : moz-landing-system : lando
2019-06-14 01:54:38 +00:00
alwu 68b25f1e6a Bug 1556087 - part1 : remove unnecessary break in reference files. r=heycam
In reference files `align_center_position_*.html`, the text `Awesome!!!` doesn't exceed the line box's boundary, so it won't wrap to multiple lines.

In other files, we don't have to set the break explicitly, texts would automatically wrap to multiple lines when it exceeds the line box's boundary.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:01:17 +00:00
alwu db26550cec Bug 1557412 - enable several wpts which are actually able to pass. r=heycam
These wpt are actually able to pass without having any modification, we should enable them.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:37:32 +00:00
alwu ea1a345650 Bug 1555849 - part2 : enable wpt 'track-webvtt-non-snap-to-lines.html'. r=heycam
We made following changes for 'track-webvtt-non-snap-to-lines.html'.

1. As the video is 300*150, testing file would put the cue on the place which is 20% of video's height (30px) below.
2. The font size is defined as 5% of video's height (7.5px).
3. As the cue is left alignment, so we also have to set `left=0`.
4. In addition, there is no need to add padding.

In addition, this test would fail on Windows because there is a weird green background showing on the top of the text [1].

[1] https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/NdZrHNWqTAiskV8QOcBFNA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:10:23 +00:00
violet 8578cbdade Bug 1032124 - Use the referenced element to check whether to ignore a mutation event r=emilio,longsonr
Using `nsContentUtils::IsInSameAnonymousTree(this, aElement)` to check will ignore all mutation notification for anonymous <use> which will happen when <use> is nested. This is the cause that second-level <use> isn't properly synced with element mutation.

We should use the referenced element instead of `this` in the check condition.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 20:02:42 +00:00
Emilio Cobos Álvarez 95cb23d936 Bug 1548155 - Add a WPT test to ensure that getComputedStyle() round-trips when scrollbars are present. r=bzbarsky
See the note in the test about the .tentative.html bit. I really think Gecko
behavior is sane here.

I filed https://bugs.chromium.org/p/chromium/issues/detail?id=973171 about this,
and told the Blink folks to file a csswg-drafts issue if they disagreed.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 22:01:21 +00:00
shindli 95037e5b4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-14 00:51:32 +03:00
shindli 0534ae5951 Merge inbound to mozilla-central. a=merge 2019-06-14 00:46:21 +03:00
Brindusan Cristian 3f9e2ec379 Backed out changeset 64b2f8306217 (bug 1536871) for dt failures at browser_fontinspector.js. CLOSED TREE 2019-06-14 00:14:16 +03:00
Thomas Nguyen 1d636c1d2d Bug 1557636 Use Referrer info in worker and fix sharedworker's wrong referrer r=baku
SharedWorker should use worker's referrer info instead of default value

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

--HG--
extra : moz-landing-system : lando
2019-06-13 20:37:34 +00:00
Alastor Wu 81efe13915 Bug 1557882 - part2 : add wpt 'start_alignment.html'. r=heycam
Add a new wpt 'start_alignment.html' to ensure that two cues would have different text alignment.

In addition, add `line:0` in vtt file to put cue on the top in order to reduce the complexity of using CSS to markup the test, because if we don't specifiy the postion for cue, those two cues won't be put the bottom of the video, instead they would be move upward one line above the bottom according to the spec.

The reason is that the base moving unit for adjusting cue box's position is the Bsize of the first line box, it would require extra moving if one cue contains two different cues which line boxes are not the same height.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 19:05:09 +00:00
Narcis Beleuzu 01662f5eb8 Backed out changeset 62ac95a65617 (bug 1495621) for marionette mozprocess timed out failures. 2019-06-13 22:20:03 +03:00
alwu 2e33188362 Bug 1557548 - part2 : enable wpt 'navigate_cue_position.html'. r=heycam
Disable on Windows is because sometime iframe can't load successfully, which makes our test file showing wrong image.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 17:52:40 +00:00
alwu f81594ca2d Bug 1557548 - part1 : remove 'controls' attribute from video. r=heycam
It's no need to add 'controls' attribute in this test because it's totally unrelated with navigation and we even have to add extra offset for the cue text in the reference file.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 17:52:33 +00:00
Emilio Cobos Álvarez 7d1f93b8c6 Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-13 18:30:07 +00:00
Cosmin Sabou b55c15e4cc Bug 1539615 - Disable test across all platforms for permafailing. a=test-only 2019-06-13 17:30:55 +03:00
violet d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Maja Frydrychowicz ec68562778 Bug 1553584 - Delay wpt reftest screenshots until after paint. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D33843

--HG--
extra : moz-landing-system : lando
2019-06-13 02:19:44 +00:00
Ehsan Akhgari b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Ehsan Akhgari fc40494b9c Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
Differential Revision: https://phabricator.services.mozilla.com/D34459

--HG--
extra : moz-landing-system : lando
2019-06-12 23:05:36 +00:00
Henrik Skupin 50f64995b8 Bug 1477977 - [wdspec] Add test to make sure "Switch To Window" keeps tab modal status between tabs. r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D34140

--HG--
extra : moz-landing-system : lando
2019-06-07 13:34:45 +00:00
Henrik Skupin 5b1247be4e Bug 1477977 - [marionette] Support dynamic handling of modal dialogs and tab modal alerts. r=maja_zf
With this patch Marionette registers globally for the dialog notifications
and events while a session is active. Also it provides an interface for
custom dialog handlers to hook in.

Instead of the callbacks custom events could have been fired, but that would
be some more work, and should preferable be done in a follow-up bug.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:26:53 +00:00
Henrik Skupin 15d145a042 Bug 1477977 - [marionette] Handle "tabmodal-dialog-loaded" to observe new tab modal dialogs. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D34138

--HG--
extra : moz-landing-system : lando
2019-06-07 18:36:48 +00:00
Geoff Brown 710630afc9 Bug 1558867 - Report log for short runs of 'mach gtest'; r=bc
This allows me to run 'mach gtest "APZ*"' and other short runs of gtest
that were previously failing.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 20:38:37 +00:00
Boris Zbarsky 53db65b94f Bug 1558653. Stop using [array] in nsIConsoleService. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D34666

--HG--
extra : moz-landing-system : lando
2019-06-12 18:10:19 +00:00
Andreas Pehrson a410e8138e Bug 1554699 - Await play promise in case timeupdate events happened before it resolved. r=jib
Since the media element is playing directly after play(), not waiting for the
readyState to advance before play()ing could leave the play promise from play()
unhandled until cleanup, when it would be rejected by the load algorithm.

This would happen if a timeupdate event is raised before the first frame comes
in to update the readyState, which resolves the play promise.

Waiting for the readyState to advance before play()ing seems like the cleanest
fix wrt testing currentTime after the first timeupdate event.

Depends on D33655

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

--HG--
extra : moz-landing-system : lando
2019-06-12 18:28:12 +00:00
Andreas Pehrson b6db26bf80 Bug 1554699 - The loop attribute should not have any effect on a media element playing a MediaStream. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33655

--HG--
extra : moz-landing-system : lando
2019-06-12 08:50:57 +00:00
Andreas Pehrson 4bad2d59ff Bug 1554699 - Split up and elaborate on MediaStream-MediaElement-srcObject.https.html. r=jib
This does several things:
- Split the test up, so one assert doesn't fail the entire test suite
- Check preload, playbackRate and defaultPlaybackRate attributes after unsetting srcObject
- Check setting currentTime before loading (default playback start position),
  and after loading (official playback position) separately
- Check that duration is changed to a real number on ending
- Check that HAVE_ENOUGH_DATA is reached by only assigning srcObject
- And other minor things and formatting

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

--HG--
extra : moz-landing-system : lando
2019-06-11 11:48:51 +00:00
Andreas Pehrson 951b7c244c Bug 1554699 - Update WPT expectations. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33097

--HG--
extra : moz-landing-system : lando
2019-06-11 11:48:33 +00:00
Dorel Luca cb53554453 Backed out 3 changesets (bug 1558598) for Geckoview failures
Backed out changeset d9c42c5f4850 (bug 1558598)
Backed out changeset d2f0c18e82de (bug 1558598)
Backed out changeset f24e407e9a6d (bug 1558598)
2019-06-12 18:19:07 +03:00
Kartikaya Gupta faedf6bd33 Bug 1558598 - Add the --enable-webrender option to android HW unittests. r=ahal
This is not used yet but will be eventually so I'm just going to
add it now.

Depends on D34623

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:12:30 +00:00
Kartikaya Gupta dac61ec776 Bug 1558598 - Force-disable webrender unless it is enabled. r=ahal
Ensure we force-disable webrender unless it is explicitly enabled
via the --enable-webrender flag. Also add missing env variables for
the telemetry_client.py case which appears to be a copy/paste error
that was not caught because we never run that test with WR enabled.

Depends on D34622

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:13:35 +00:00
Kartikaya Gupta f6b29b417f Bug 1558598 - Remove --disable-webrender options from a couple of places. r=ahal
This drops the --disable-webrender option (which force-disables WR)
and treats the lack of an --enable-webrender as if --disable-webrender
was provided.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:08:43 +00:00
Henrik Skupin 7f2ed6b0fb Bug 1558763 - [marionette] Disable "browser.tabs.remote.separatePrivilegedContentProcess" by default. r=maja_zf
Due to bug 1557457 it can happen that loading a web page with eg.
a HTTP auth prompt, no modal dialog will be shown by Firefox. As
such disable this preference for now globally, until all the issues
with privileged content processes have been solved.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:45:32 +00:00
Sam Sneddon 44270871a2 Bug 1558363 - Fix WPT manifest updates when within a git tree r=jgraham
This has been broken since bug 1545629 landed, when we started using
git to (quickly) get hashes of unchanged files. Unfortunately, the
logic for finding changed files only worked when the test root was the
root of the git repository.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:51:56 +00:00
Valentin Gosu 340e0822c9 Bug 1459573 - Support Cross Origin Resource Policy (CORP) r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D33747

--HG--
extra : moz-landing-system : lando
2019-06-12 13:30:05 +00:00
Oana Pop Rus 6a33762809 Backed out 2 changesets (bug 1553215) for Web platform tests failures in mediastreamaudiosourcenode-routing.html
Backed out changeset 992d3dd0cee0 (bug 1553215)
Backed out changeset fad5e3bf0695 (bug 1553215)
2019-06-12 15:51:21 +03:00
Paul Adenot f86c650449 Bug 1553215 - Start testing MediaStreamAudioSourceNode in WPT. r=karlt,pehrsons
It's not complete I think, but it covers the constructor and some bits of
behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 09:51:14 +00:00
Bryce Van Dyk cbab22c9cb Bug 1536102 - P4: Enabled WPT for encrypted media scheme checking. r=cpearce
Enable the web platform tests for clearkey scheme checking. Since these tests
simply check if the functionality is implemented, and do not check if the
browsers actually support different encryption schemes, it's okay to do this
even though we don't have cbcs support in clearkey yet. I.e. it's enough that a
page can ask "do you support cbcs in clearkey?" to Firefox to pass the test, the
answer from Firefox doesn't have to be "yes."

Add the pref setting to the DRM scheme checking test, though leave the
expectations as they are on this test, as in automation the test will still not
pass due to Widevine downloads being blocked. My hope is that we can find a
solution to this Widevine download issue in automation, at which point we'd
expect that tests to start passing due to the pref added in this patch -- at
which point we could toggle the expectations.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:52 +00:00