Commit Graph

9331 Commits

Author SHA1 Message Date
Razvan Maries
a4082bd470 Bug 1560466 - disabled CSSTransition-startTime.tentative.html on Android debug. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35766

--HG--
extra : moz-landing-system : lando
2019-06-25 11:48:27 +00:00
Maja Frydrychowicz
ae1c620602 Bug 1553046 - Disable more tests under webvtt/rendering/cues-with-video/processing-model; a=testonly
--HG--
extra : rebase_source : e6d590cfbc5fd09022f912f9f2179899c28229fe
2019-06-26 16:29:04 -04:00
longsonr
020fd563bd Bug 1295404 - Remove requiredFeatures from SVGTests r=dholbert r=bzbarsky 2019-06-26 19:51:12 +01:00
Maja Frydrychowicz
2f1b964b3b Bug 1560268 - Update metadata for /css/css-contain/contain-size-flexbox-002.html; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D35450

--HG--
extra : moz-landing-system : lando
2019-06-25 13:27:51 +00:00
Jeff Gilbert
510b2f48e1 Bug 1560761 - Remark tests after bug 1560736.
Differential Revision: https://phabricator.services.mozilla.com/D37035

--HG--
extra : moz-landing-system : lando
2019-07-05 06:32:24 +00:00
Andreas Pehrson
7a7df60d99 Bug 1560969 - Fix MediaStream-idl.https.html per spec. r=jib
The "inactive" event for MediaStream does not exist in the spec. Instead we can
check that the `active` attribute is set to false synchronously after stopping
tracks. For completion, we do this on all MediaStreams in the test.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 09:19:24 +00:00
Joel Maher
aaf230b4c9 Bug 1561119 - adjust test expectations for osx 10.14.5. r=egao
adjust test expectations for osx 10.14.5

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

--HG--
extra : moz-landing-system : lando
2019-06-24 23:42:35 +00:00
Boris Chiou
75dcf29f96 Bug 1552352 - Add extended attributes to CSSKeyframeRule.style. r=smaug
Add `SameObject` and `PutForwards=cssText` to style attribute.
It's ok to add SameObject directly because we always return the same
data member after creating.

Besides, there is no need to manually update cpp function to support
PutForwards, so this update should be fine.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:22:46 +00:00
violet
75f6c6ddaa Bug 1560828 - paint-order parsing has off-by-one error r=emilio
A couple of firefox only WPT failure caused by this off-by-one bug.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 04:07:42 +00:00
violet
59ab77300a Bug 1529572 - Should resolve absolute units r=longsonr
Firefox only failure.

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

--HG--
extra : moz-landing-system : lando
2019-06-23 12:51:05 +00:00
violet
8a8f7223a9 Bug 1557563 - Add computed value ZeroToOneNumber r=emilio,birtles
Correctly handle clamping to 1 behavior of grayscale(),
invert(), opacity() and sepia().

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

--HG--
extra : moz-landing-system : lando
2019-06-23 23:01:47 +00:00
Brindusan Cristian
215c57d27d Merge inbound to mozilla-central. a=merge 2019-06-24 00:47:59 +03:00
Emilio Cobos Álvarez
ede1bad1f0 Bug 1536871 - Enable layout.css.line-height.normal-as-resolved-value.enabled on getComputedStyle-line-height.html. r=me 2019-06-23 18:55:03 +02:00
Cosmin Sabou
6c9fa41187 Bug 1560324 - Disable test on Android !debug for frequent failures. a=testonly 2019-06-23 15:45:35 +03:00
Razvan Maries
2a9b886a7c Merge mozilla-inbound to mozilla-central a=merge 2019-06-23 00:44:35 +03:00
Daniel Holbert
3d83ddc5c5 Bug 1558849: Temporarily disable web-platform-test ruby-inlinize-blocks-002.html on more categories of Windows testers. (no review, test-annotation-only)
This test is known intermittent on windows. It's already annotated to be
disabled for some categories of Windows testers, but that annotation was overly
specific.

I've already fixed the "upstream" version of this test (the version in
layout/reftests), so the intermittent failure will stop once that fix has been
synchronized around.  But in the meantime, let's adjust the annotation so that
it includes Win10 64-bit testers, so we don't get intermittent failures for
those testers.

--HG--
extra : amend_source : c815ae1200e6a615f932ddf36fba6f8a7a039500
2019-06-22 09:48:24 -07:00
Boris Chiou
88447089e6 Bug 1560198 - Fix the serialization of the computed value of background-size. r=emilio
This patch produces the following serialization:
```
    input      |  computed value
  ------------------------------
1. "auto"            "auto"
2. "auto auto"       "auto"
3. "15px auto"       "15px"
4. "15px"            "15px"
```
i.e. If the second value is 'auto', then it's omitted from our serialization,
because it's implied.

Besides, we update the wpt to address this spec issue:
https://github.com/w3c/csswg-drafts/issues/2574

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

--HG--
extra : moz-landing-system : lando
2019-06-21 21:48:54 +00:00
Mihai Alexandru Michis
68de945c39 Bug 1557518 - Expect attachment-scroll-positioning-1.html to pass on Windows 10 AArch64 opt. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D35329

--HG--
extra : moz-landing-system : lando
2019-06-21 17:18:58 +00:00
violet
ea5e6c4b2b Bug 1529571 - Use in rather than hasOwnProperty to check property support r=heycam
This test is supposed to check CSS property support, but using
hasOwnProperty() is causing a lot of false positive because
hasOwnProperty() doesn't go up the proto chain even if the property
is actually supported.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 20:16:34 +00:00
Maja Frydrychowicz
b9cf78e459 Bug 1553046 - Update wpt metadata for webvtt tests that crash. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D35475

--HG--
extra : moz-landing-system : lando
2019-06-22 06:36:53 +00:00
Maja Frydrychowicz
20a702d1e1 Bug 1550895 - Disable a few more tests to green up wpt on GeckoView; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D35480

--HG--
extra : moz-landing-system : lando
2019-06-21 16:26:53 +00:00
shindli
c0ca77697c Merge inbound to mozilla-central. a=merge 2019-06-21 12:34:14 +03:00
Cosmin Sabou
d96d24e199 Bug 1560360 - Update syntax for disabling more flaky css-appearance tests on win7 debug and win10 aarch64. a=testonly
--HG--
extra : amend_source : b7bd3c079c342674dba1116dadbc514a706886c3
2019-06-21 06:24:48 +03:00
Cosmin Sabou
8c2b7f4504 Bug 1560360 - Disable more flaky css-appearance tests on win7 debug and win10 aarch64. a=testonly
--HG--
extra : amend_source : 2d903cd2fe6a35f7654092a40b75b36a2f51300f
2019-06-21 04:15:32 +03:00
Byron Campen [:bwc]
5f86ad9057 Bug 1556795: Re-enable some web-platform-tests related to DataChannel ids. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35046

--HG--
extra : moz-landing-system : lando
2019-06-20 20:23:55 +00:00
Cosmin Sabou
55afe30077 Merge mozilla-central to autoland. CLOSED TREE 2019-06-21 01:44:45 +03:00
Cosmin Sabou
49014f945b Merge mozilla-inbound to mozilla-central. a=merge 2019-06-21 01:03:07 +03:00
James Graham
52ccd7af68 Bug 1560360 - Disable flaky css-appearance tests on win7 debug, a=testonly 2019-06-20 11:38:30 -07:00
Andreea Pavel
0bf8290504 Bug 1559989 - disabled shape-outside-circle-004.html on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35430

--HG--
extra : moz-landing-system : lando
2019-06-20 17:06:56 +00:00
Ciure Andrei
4ffd609e9c Backed out 4 changesets (bug 1556795)for causing RTCPeerConnection-createDataChannel.html to perma fail CLOSED TREE
Backed out changeset 05898e5d5434 (bug 1556795)
Backed out changeset a87072937e2c (bug 1556795)
Backed out changeset f8ce8930bcab (bug 1556795)
Backed out changeset 112937d690e0 (bug 1556795)
2019-06-20 18:33:22 +03:00
Razvan Maries
8ea522bf4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-20 14:19:57 +03:00
James Graham
9573702c11 Bug 1558851 - Fix shape-outside-computed.html metadata, a=testonly 2019-06-19 14:29:28 -07:00
James Graham
4d8cf2fed2 Bug 1559913 - Add long timeout to flaky WebRTC test, a=testonly 2019-06-19 11:07:04 -07:00
James Graham
2c7935fab9 Bug 1559911 - Disable unstable WebRTC test, a=testonly 2019-06-19 11:07:03 -07:00
James Graham
041988c427 Bug 1559483 - Remove example.com from test, r=me 2019-06-19 11:07:03 -07:00
moz-wptsync-bot
77101fa9a6 Bug 1558851 - [wpt-sync] Update web-platform-tests to dcac708930b6e73bf3e7629908b6467e7644cff9, a=testonly
wpt-head: dcac708930b6e73bf3e7629908b6467e7644cff9
wpt-type: landing
2019-06-19 11:07:02 -07:00
moz-wptsync-bot
ea00941398 Bug 1555129 [wpt PR 17052] - Update wpt metadata, a=testonly
wpt-pr: 17052
wpt-type: metadata
2019-06-19 11:06:30 -07:00
moz-wptsync-bot
27890574de Bug 1554569 [wpt PR 17019] - Update wpt metadata, a=testonly
wpt-pr: 17019
wpt-type: metadata
2019-06-19 11:06:04 -07:00
moz-wptsync-bot
f53e56ad76 Bug 1553431 [wpt PR 16844] - Update wpt metadata, a=testonly
wpt-pr: 16844
wpt-type: metadata
2019-06-19 11:06:01 -07:00
moz-wptsync-bot
f1621b8b7f Bug 1552598 [wpt PR 16905] - Update wpt metadata, a=testonly
wpt-pr: 16905
wpt-type: metadata
2019-06-19 11:05:49 -07:00
moz-wptsync-bot
a52504fc13 Bug 1534801 [wpt PR 15740] - Update wpt metadata, a=testonly
wpt-pr: 15740
wpt-type: metadata
2019-06-19 11:05:34 -07:00
moz-wptsync-bot
3e24acddba Bug 1557359 [wpt PR 16828] - Update wpt metadata, a=testonly
wpt-pr: 16828
wpt-type: metadata
2019-06-19 11:05:28 -07:00
moz-wptsync-bot
e2a4c2b909 Bug 1551909 [wpt PR 16753] - Update wpt metadata, a=testonly
wpt-pr: 16753
wpt-type: metadata
2019-06-19 11:05:19 -07:00
moz-wptsync-bot
effa1a7f80 Bug 1551466 [wpt PR 16760] - Update wpt metadata, a=testonly
wpt-pr: 16760
wpt-type: metadata
2019-06-19 11:05:09 -07:00
Kagami Sascha Rosylight
795d0eebcc Bug 1559874: Always create 3D DOMMatrix from 16 elements r=bzbarsky
Currently Firefox creates a 2D DOMMatrix when certain values of 16 elements are zero, so this change fixes it to align with the spec.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 03:59:59 +00:00
Cosmin Sabou
26a3767938 Merge mozilla-central to mozilla-inbound. 2019-06-21 01:48:24 +03:00
arthur.iakab
4f10b95d82 Bug 1560360 - Disabled css-appearance-push-button-001 on win7 debug a=testonly
--HG--
extra : amend_source : b1f7aedea0da0252785020b5cee7e767348b7b0e
2019-06-21 00:26:39 +03:00
Andreea Pavel
eac6a82151 Bug 1557708 - disabled event-timeout.any.worker.html on android r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D35404

--HG--
extra : moz-landing-system : lando
2019-06-20 14:14:27 +00:00
violet
00989decc6 Bug 1325319 - Implement isPointInFill() and isPointInStroke() for SVGGeometryElement r=longsonr,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33592

--HG--
extra : moz-landing-system : lando
2019-06-19 21:14:55 +00:00
Daniel Holbert
98ade52aeb Bug 1560205: Adjust test background-image-first-line.html to specify line-height for Ahem font, for more predictable sizing. r=emilio
This matches the recommendation at:
  https://web-platform-tests.org/writing-tests/ahem.html
...and it makes this test start passing.  Without this change, the default
`line-height:normal` behavior effectively behaves like `line-height:1.2` in
Firefox, which creates some space between the content and the container's top
border, which makes the test fail.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 23:09:35 +00:00
Byron Campen [:bwc]
2347ae8973 Bug 1556795: Re-enable some web-platform-tests related to DataChannel ids. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35046

--HG--
extra : moz-landing-system : lando
2019-06-19 18:39:45 +00:00
Alastor Wu
d1557a6f2b Bug 1559599 - expect test 'track-webvtt-non-snap-to-lines.html' failed on Android. r=heycam
There is a weird rendering (or CSS) issue that the background box is little bit larger than the one in the test file, which causes test failure on Android.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 19:59:18 +00:00
Ting-Yu Lin
c5bc13999e Bug 1523595 Part 4 - Enable column-span for multicol-fill-auto-block-children-{001,002}.xht, and fix a reference file. r=dbaron
The default margin-top of h1 is 0.67em in Firefox (specified in
layout/style/res/html.css) as well as in Google Chrome.

The test reference tries to override it to avoid margin-collapse, but
using 0.66em can cause rounding issue on MacOS that make the test
failed.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 17:05:25 +00:00
Ting-Yu Lin
6c93720bad Bug 1523595 Part 3 - Apply ColumnSetWrapper's block size constraint to the available size when creating BlockReflowInput for ColumnSet. r=dbaron
We used to apply the column container's block size constraint on top of
the available block size in nsColumnSetFrame::ChooseColumnStrategy().
After column-span is enabled, ColumnSet is no longer the outermost
column container frame. We need to apply ColumnSetWrapper's block size
constraint to the available size when creating the ReflowInput for
ColumnSet so that ColumnSet can use it to compute the max column block
size in ChooseColumnStrategy().

This is calculated in nsBlockFrame::ReflowBlockFrame() instead of
nsColumnSetFrame::ChooseColumnStrategy() because we need
BlockReflowInput::mBCoord to determine the remaining block size.

multicol-breaking-004.html is copied and modified from
multicol-breaking-001.html with border-bottom added to test
"box-decoration-break: clone".

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

--HG--
extra : moz-landing-system : lando
2019-06-19 17:05:22 +00:00
alwu
595af52f60 Bug 1556079 - part2 : enable and modify wpt 'cue_too_long.html'. r=heycam
According to the spec 7.2.10.17 [1], if we have tried both direction and there is no place to put the cue inside the rendering area without overlapping with other cues or the boundary of rendering area, then we have to discard all CSS boxes, which means that we should not display this cue.

Therefore, I added the cue's text content in `very_long_cue.vtt` in order to let it exceed the boundary of the rendering area during display.

[1] https://www.w3.org/TR/webvtt1/#processing-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:06:12 +00:00
Cosmin Sabou
c9b041e8fb Bug 1464898 - Disable test across all platforms for frequent failures. a=test-only 2019-06-18 18:49:53 +03:00
Cosmin Sabou
51405c59e5 Backed out changeset 64f906609a52 (bug 1487358) as requested by whimboo for causing bug 1559836. 2019-06-18 15:50:37 +03:00
violet
f8f8760a7f Bug 1559796 - Should not serialize default radius of circle r=emilio
Should not serialize default shape-outside circle() function radius.

The ToCss impl of Circle and Ellipse turn out to be identical in specified and computed value, thus move them to generics.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 11:54:41 +00:00
Noemi Erli
f555fa472a Backed out changeset a2a92e2fd645 (bug 1559796) for failing in shape-outside-circle-004.html 2019-06-18 08:44:42 +03:00
violet
a213db9419 Bug 1559796 - Should not serialize default radius of circle r=emilio
Should not serialize default shape-outside circle() function radius.

The ToCss impl of Circle and Ellipse turn out to be identical in specified and computed value, thus move them to generics.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 03:48:27 +00:00
Kagami Sascha Rosylight
a235dfa68b Bug 1558387: Remove DOMError constructor r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D35184

--HG--
extra : moz-landing-system : lando
2019-06-17 15:43:38 +00:00
Henrik Skupin
ac0e789e45 Bug 1487358 - [wdspec] Enable test_abort_by_user_prompt_twice for "Execute Script" and "Execute Async Script". r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D35004

--HG--
extra : moz-landing-system : lando
2019-06-17 13:41:53 +00:00
Csoregi Natalia
00ee9d3ed1 Merge inbound to mozilla-central. a=merge 2019-06-17 00:48:46 +03:00
Cosmin Sabou
5bfda5dd46 Bug 1548125 - Disable test on windows for frequent failures. a=test-only 2019-06-16 18:25:43 +03:00
Narcis Beleuzu
68e070762a Merge mozilla-central to inbound. CLOSED TREE 2019-06-16 12:38:13 +03:00
longsonr
35dbd5da16 Bug 1559626 - Convert getCharNumAtPosition to take a DOMPointInit r=violet r=bzbarsky 2019-06-16 10:12:40 +01:00
Kagami Sascha Rosylight
dda2a19293 Bug 1420580: Expose Geometry Interfaces to worker r=bzbarsky
Exposes DOMMatrix, DOMPoint, DOMQuad, and DOMRect to workers.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 17:26:25 +00:00
Narcis Beleuzu
702da77ede Bug 1556907 - Disable dedicated-inheritance.html for frequent failures r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D34276

--HG--
extra : moz-landing-system : lando
2019-06-15 11:40:02 +00:00
violet
682af614dd Bug 1470695 - Implement overflow-block and overflow-inline properties r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34738

--HG--
extra : moz-landing-system : lando
2019-06-15 13:09:16 +00:00
Hiroyuki Ikezoe
c7911567c5 Bug 1558863 - elementScroll.html now works fine on Android E10S environments, bug 1554022 fixed the failure reason. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D34951

--HG--
extra : moz-landing-system : lando
2019-06-14 18:35:34 +00:00
alwu
3f0fb6b601 Bug 1559334 - disable wpt 'track-webvtt-two-cue-layout-after-first-end.html' on Android. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D35084

--HG--
extra : moz-landing-system : lando
2019-06-14 21:08:48 +00:00
alwu
80e3b0b83c Bug 1557182 - part3 : enable wpt '2_tracks.html' and '3_tracks.html'. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D34082

--HG--
extra : moz-landing-system : lando
2019-06-13 23:17:37 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Emilio Cobos Álvarez
8381c5ce61 Bug 1505489 - Add a pref and enable Shadow Parts in Nightly and for chrome stylesheets. r=heycam
I want to enable in Nightly to evaluate (in the medium term) shipping it without
the part forwarding, once the cascade order and importance issues are fixed, and
that we pass all the tests that don't involve forwarding.

That is, I want to monitor whether having ::part() causes compat issues or not.

Depends on D32648

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:58 +00:00
James Graham
a1f5e2d0e0 Bug 1557206 - Add fuzzy annotation for intermittent webvtt test, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D34506

--HG--
extra : moz-landing-system : lando
2019-06-11 16:45:57 +00:00
Ting-Yu Lin
307ef73912 Bug 1524431 Part 2 - Check IsBidiSplittable() before processing the ancestor frames. r=jfkthame
The idea is to check IsBidiSplittable() in more places to prevent fixed
continuations created by column-span from becoming fluid ones.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:27:57 +00:00
alwu
5e73cc45e1 Bug 1555197 - part5 : enable wpt 'track-webvtt-two-cue-layout-after-first-end.html'. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D32938

--HG--
extra : moz-landing-system : lando
2019-05-30 07:42:51 +00:00
alwu
cabe387e46 Bug 1555825 - part2 - enable wpt 'track-cue-empty.html'. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D33216

--HG--
extra : moz-landing-system : lando
2019-06-13 15:42:19 +00:00
Byron Campen [:bwc]
2a1255fc1f Bug 1557052: Add a bug number to a ini file. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D34394

--HG--
extra : moz-landing-system : lando
2019-06-12 21:26:43 +00:00
Byron Campen [:bwc]
b7d499d9b7 Bug 1557053: Add a bug link for this failure. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D34425

--HG--
extra : moz-landing-system : lando
2019-06-12 21:27:50 +00:00
Jonathan Kingston
a5ba216f93 Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D22810

--HG--
extra : moz-landing-system : lando
2019-06-13 08:58:07 +00:00
Glenn Watson
e22f19cf52 Bug 1558106 - Support picture caching for multiple scroll roots. r=kvark
This patch implements the majority of the planned picture caching
improvements. It supports most of the functionality required to
(as a follow up) support OS compositor integration. It also improves
on the robustness and functionality of the previous picture caching
implementation.

There are some expected temporary performance regressions in
some cases (such as content that is constantly invalidating) and
during initial page render when many render targets must be drawn
to. These performance regressions will be resolved in follow up
commits by supporting multi-resolution tiles.

The scene is split into a number of slices, determined by the scroll
root of each primitive, which can be found by the primitive's
spatial node indices. If a scene contains too many slices, then
picture caching is disabled on the page, to avoid excessive texture
memory usage, and rendering falls back to rasterizing each frame.

The specific changes in this patch are:
    * Support tile caches for multiple scroll roots, allowing the
      entire page (including fixed divs and the main UI bar) to be
      cached in most cases, in addition to the main content.
    * Remove requirement to read tiles back from the framebuffer.
      Instead, they are drawn into the picture cache target tiles,
      and blitted to the screen. This is slightly slower than the
      existing picture caching when content is constantly changing,
      however this cost will disappear / become irrelevant when
      the OS compositor integration work is complete.
    * Switch picture cache render targets to be nearest sampled (they
      are always rendered 1:1) and support depth buffer targets.
    * Make use of the external scroll offset support to allow removal
      of the primitive correlation hacks in the previous picture
      caching implementation. Also allows storing of primitive
      dependencies in picture space rather than world space, which
      reduces floating point inaccuracies.
    * Determine if each tile and picture cache can be considered
      opaque. This is used to determine whether subpixel AA text
      rendering is available on a slice, and for rendering optimizations
      related to disabling blending and/or tile clears.
    * Use the clip chain instance results from the recent visibility pass
      work to determine clip chain dependencies. This results in fewer
      clip item dependencies in tiles, which is faster to check validity
      and reduces redundant invalidations.
    * Remove extra overhead during batching related to batch lists,
      and region iteration, as they are no longer required.
    * Support PrimitiveVisibilityMask during batching. This allows a
      single traversal of a picture (surface) root during batching to
      efficiently construct multiple alpha batcher objects (typically
      one per invalida tile).
    * Picture caching is now handled implicitly by WR, depending on
      the content of the scene. There is no requirement for client
      code to manually select which stacking context should be cached.
    * Simplify how clip chain / transform dependencies are tracked by
      picture cache tiles.
    * Support pushing / popping enclosing clip chain roots without
      the need for a stacking context / picture in some cases. This
      simplifies the logic to split the scene into multiple slices.

The main remaining work in this area is (a) extend the code to
optionally provide each slice as an input to the OS compositor
rather than drawing the tiles in WR, and (b) support multi-resolution
tiles so that we reduce the draw call, batching and render target
overhead in cases where much of the page content is changing.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 04:43:56 +00:00
Karl Tomlinson
f361ee2253 Bug 1444508 remove obsolete expected failures r=padenot
These have been lingering since
https://hg.mozilla.org/mozilla-central/rev/3ac736416349
due to bug 1474463.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 15:38:05 +00:00
Byron Campen [:bwc]
1d1125d7a0 Bug 1531885: Surface certificate-related errors in RTCPeerConnection's c'tor, fix an error type, and re-enable a test. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33569

--HG--
extra : moz-landing-system : lando
2019-06-10 15:12:29 +00:00
Masayuki Nakano
2c80a8326a Bug 1529884 - part 0: Add new WPT to check whether document.execCommand() without editable element and with editable parent or child document r=smaug
Currently, there are no tests of `execCommand()` without editable element.
Additionally, current Gecko propagate "cut" and "copy" commands into child
document (I think it's odd).

This test checks the behavior.  The expected results are considered mainly
from Chrome, but also Chrome does not pass all tests because some their
behavior are odd.  E.g., Chrome returns `true` for `execCommand("styleWithCSS")`
even though it does nothing.  So, this patch makes its expected result `false`.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 10:23:26 +00:00
Cosmin Sabou
cca5f7e799 Bug 1557481 - Update metadata because of frequent failures on windows opt. a=test-only
--HG--
extra : rebase_source : 1ee76e00a134d65066d0dfc4d2b886505b4a0817
2019-06-09 01:40:38 +03:00
violet
702c5ec984 Bug 1557637 - Correct resolve <image> size when specified size is auto and intrinsic size is missing r=longsonr
https://www.w3.org/TR/css3-images/#default-sizing-algorithm

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

--HG--
extra : moz-landing-system : lando
2019-06-08 00:33:36 +00:00
Joel Maher
ed6e672552 Bug 1557123 - migrate web-platform-tests and web-platform-tests-reftest to osx 10.14. r=egao
migrate web-platform-tests and web-platform-test-reftests to osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 22:44:31 +00:00
Andrea Marchesini
5651452d9d Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 7 - WPT, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34141

--HG--
extra : moz-landing-system : lando
2019-06-07 13:11:17 +00:00
Daniel Varga
a05236937c Merge mozilla-central to autoland
--HG--
extra : rebase_source : ef48ee99e861f57c5e04f0230238ab31940e46b1
2019-06-07 12:58:55 +03:00
Daniel Varga
fe7dbedf22 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-07 12:50:35 +03:00
Emilio Cobos Álvarez
6c53f1d280 Bug 1556628 - Update a WPT expectation which fails on android because android does silly things in the UA style sheets. 2019-06-06 21:25:53 -04:00
Csoregi Natalia
eb1f65e802 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-06-07 01:40:06 +03:00
Bogdan Tara
c26e23ffb4 Backed out changeset 0cff8ca10f71 (bug 1557123) for many wpt failures on osx 10.14 CLOSED TREE 2019-06-07 02:21:53 +03:00
Sebastian Hengst
9535a11c30 Bug 1557398 - Set audioworklet-suspend.https.html to expected fail for release and beta because audio worklet is only enabled for Nightly r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D34037

--HG--
extra : moz-landing-system : lando
2019-06-07 04:51:21 +00:00
Charlie Marlow
29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Wes Kocher
5d1863a650 Bug 1553440 - Disable object-src-url-redirect-blocked.sub.html on geckoview due to frequent failures
Differential Revision: https://phabricator.services.mozilla.com/D34009

--HG--
extra : moz-landing-system : lando
2019-06-06 19:02:43 +00:00
Edwin Gao
1ba21895d2 Bug 1557123 - migrate web-platform-tests and web-platform-test-reftests to osx 10.14. r=egao
migrate web-platform-tests and web-platform-test-reftests to osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:43:08 +00:00
James Graham
984e7571f5 Bug 1552460 - aarch64 metadata changes, a=testonly
This is only running on central it seems
2019-06-06 17:35:58 +01:00
shindli
f8c85e378a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Cosmin Sabou
b38fab2d6c Backed out changeset 4ff8006a80f5 (bug 1557123) for causing a spike in wpts and wpts reftests intermittents. 2019-06-06 04:48:26 +03:00
Noemi Erli
a39212800d Bug 1552460 - Disabled fixed-z-index-blend.html on windows debug a=test-only 2019-06-06 06:41:33 +03:00
Noemi Erli
96ac3efc72 Bug 1552460 - Disabled text-clipped-offscreen-move-onscreen.html on macosx a=test-only 2019-06-06 06:36:20 +03:00
Noemi Erli
d6159a8a2c Bug 1552460 - Disabled fixed-z-index-blend.html on macosx a=test-only 2019-06-06 02:11:15 +03:00
Noemi Erli
5130b6c226 Bug 1552460 - Disable text-clipped-offscreen-move-onscreen.html on Linux a=test-only 2019-06-06 01:36:08 +03:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
J.C. Jones
e3d132a966 Bug 1551382 - Correct WebAuthn WPT prefs (fix Android) r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D33715

--HG--
extra : moz-landing-system : lando
2019-06-05 07:25:52 +00:00
alwu
7177a915f1 Bug 1555794 - remove useless file 'track-remove-track.html.ini'. r=jgraham
`track-remove-track.html.ini` is an useless file because the expected failed testing [Tests that the 'removetrack' event is NOT fired for inband TextTrack on a failed load] is not in this file.

It's acutally a testing in another file, `track-remove-track-inband.html` [1].

[1] https://searchfox.org/mozilla-central/rev/7556a400affa9eb99e522d2d17c40689fa23a729/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-remove-track-inband.html#75

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

--HG--
extra : moz-landing-system : lando
2019-06-05 14:52:06 +00:00
Byron Campen [:bwc]
3f9e04b166 Bug 1531825 - Part 0: Re-enable some test-cases. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33572

--HG--
extra : moz-landing-system : lando
2019-06-04 23:01:47 +00:00
James Graham
4f5d72b3f4 Bug 1552460 - Fix metadata syntax, a=testonly 2019-06-05 21:20:21 +01:00
James Graham
2be3c2346c Bug 1557136 - Prevent connection to example.com in test, r=me 2019-06-05 21:19:04 +01:00
James Graham
c6fa53a5ce Bug 1552460 - More metadata updates, a=testonly 2019-06-05 20:57:16 +01:00
James Graham
006ad2b250 Bug 1552460 - More metadata updates, a=testonly 2019-06-05 17:15:50 +01:00
James Graham
b8133d865b Bug 1552460 - More metadata updates, a=testonly 2019-06-05 13:49:27 +01:00
Mihai Alexandru Michis
d07d090c31 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 12:59:10 +03:00
moz-wptsync-bot
e4aaed0e28 Bug 1552460 - [wpt-sync] Update web-platform-tests to 230bfb8583f71ec71dd2a55917829f431e58a3cf, a=testonly
wpt-head: 230bfb8583f71ec71dd2a55917829f431e58a3cf
wpt-type: landing
2019-06-05 10:32:30 +01:00
moz-wptsync-bot
f3dcb03127 Bug 1551463 [wpt PR 16717] - Update wpt metadata, a=testonly
wpt-pr: 16717
wpt-type: metadata
2019-06-05 10:30:14 +01:00
moz-wptsync-bot
a7c8b55cac Bug 1551031 [wpt PR 16773] - Update wpt metadata, a=testonly
wpt-pr: 16773
wpt-type: metadata
2019-06-05 10:29:59 +01:00
moz-wptsync-bot
d9c65ec4c3 Bug 1551029 [wpt PR 16606] - Update wpt metadata, a=testonly
wpt-pr: 16606
wpt-type: metadata
2019-06-05 10:29:57 +01:00
moz-wptsync-bot
fce176e4d2 Bug 1511305 [wpt PR 14302] - Update wpt metadata, a=testonly
wpt-pr: 14302
wpt-type: metadata
2019-06-05 10:29:29 +01:00
moz-wptsync-bot
e22c8d1bb0 Bug 1535394 [wpt PR 15758] - Update wpt metadata, a=testonly
wpt-pr: 15758
wpt-type: metadata
2019-06-05 10:29:15 +01:00
moz-wptsync-bot
0bb6375018 Bug 1501083 [wpt PR 13647] - Update wpt metadata, a=testonly
wpt-pr: 13647
wpt-type: metadata
2019-06-05 10:29:03 +01:00
moz-wptsync-bot
5c1911a707 Bug 1501429 [wpt PR 13688] - Update wpt metadata, a=testonly
wpt-pr: 13688
wpt-type: metadata
2019-06-05 10:29:00 +01:00
moz-wptsync-bot
9ba1256f47 Bug 1550354 [wpt PR 16337] - Update wpt metadata, a=testonly
wpt-pr: 16337
wpt-type: metadata
2019-06-05 10:28:52 +01:00
moz-wptsync-bot
eb72f8385c Bug 1534034 [wpt PR 15224] - Update wpt metadata, a=testonly
wpt-pr: 15224
wpt-type: metadata
2019-06-05 10:28:42 +01:00
moz-wptsync-bot
891eeea0fa Bug 1516420 [wpt PR 14669] - Update wpt metadata, a=testonly
wpt-pr: 14669
wpt-type: metadata
2019-06-05 10:28:22 +01:00
moz-wptsync-bot
b94f9c28df Bug 1550279 [wpt PR 16593] - Update wpt metadata, a=testonly
wpt-pr: 16593
wpt-type: metadata
2019-06-05 10:27:55 +01:00
moz-wptsync-bot
bdecc50ef6 Bug 1550190 [wpt PR 16398] - Update wpt metadata, a=testonly
wpt-pr: 16398
wpt-type: metadata
2019-06-05 10:26:38 +01:00
moz-wptsync-bot
cd389b01a8 Bug 1499019 [wpt PR 13518] - Update wpt metadata, a=testonly
wpt-pr: 13518
wpt-type: metadata
2019-06-05 10:26:33 +01:00
moz-wptsync-bot
4bfefa0dba Bug 1516424 [wpt PR 14671] - Update wpt metadata, a=testonly
wpt-pr: 14671
wpt-type: metadata
2019-06-05 10:26:28 +01:00
moz-wptsync-bot
35113e5827 Bug 1495271 [wpt PR 13271] - Update wpt metadata, a=testonly
wpt-pr: 13271
wpt-type: metadata
2019-06-05 10:25:49 +01:00
Ehsan Akhgari
09c5ba934d Bug 1555980 - Move HTMLDocument colour properties to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D33286

--HG--
extra : moz-landing-system : lando
2019-06-04 07:30:59 +00:00
Emilio Cobos Álvarez
1e7b303431 Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats
See https://github.com/whatwg/html/issues/4082 for the data and some comments
from Boris and David.

I didn't look into fixing the font-inflation reftests, see bug 1540176 for that.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 15:39:47 +00:00
Edgar Chen
1ea67058f6 Bug 1525554 - Enable promise rejection event and update tests result; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D31734

--HG--
extra : moz-landing-system : lando
2019-06-04 12:55:57 +00:00
Valentin Gosu
75e7f43f76 Bug 1533877 - Add web-platform tests for the Cross-Origin header r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D31398

--HG--
extra : moz-landing-system : lando
2019-06-04 12:24:36 +00:00
Andreas Pehrson
231ddae952 Bug 1537986 - Make WPT for opening the same video device at different resolutions spec compliant. r=jib
This makes it request a different ideal resolution and accepts anything in
between the original and the requested resolution.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 12:31:43 +00:00
Andreas Pehrson
0c194f3e07 Bug 1537986 - Update WPT expectations. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D32966

--HG--
extra : moz-landing-system : lando
2019-05-31 11:11:07 +00:00
Andrea Marchesini
176b3f8e39 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500

--HG--
extra : moz-landing-system : lando
2019-06-04 02:42:57 +00:00
Andrea Marchesini
1ad6a8a6dc Bug 1554847 - Improve cross-origin checks in canvas API - Fix WPT, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D32794

--HG--
extra : moz-landing-system : lando
2019-06-04 06:33:39 +00:00
Coroiu Cristina
73edc6621b Backed out 4 changesets (bug 1554847) for wpt failures at /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html
Backed out changeset 17e36d139ac2 (bug 1554847)
Backed out changeset 101bd1c2d688 (bug 1554847)
Backed out changeset 3ff9a221f3e5 (bug 1554847)
Backed out changeset 946e4d9420dd (bug 1554847)
2019-06-04 03:24:42 +03:00
Emilio Cobos Álvarez
749db71829 Bug 1554150 - Hide some appearance values from content. r=mats
They're not used internally either, so remove all ability to address them.

I haven't removed the implementation yet, as some of them are quite complex, and
I don't have a mac / windows build. We should do that when this hits release
though.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 17:32:48 +00:00
shindli
18d693fe12 Backed out 5 changesets (bug 1533877) for causing wpt permafailure in /html/cross-origin/anonymous.tentative.html CLOSED TREE
Backed out changeset 1804d3178cd4 (bug 1533877)
Backed out changeset b5a3e938f421 (bug 1533877)
Backed out changeset 08efb10cceb2 (bug 1533877)
Backed out changeset c4b8d755873b (bug 1533877)
Backed out changeset e53056e11429 (bug 1533877)
2019-06-03 22:06:38 +03:00
Valentin Gosu
001b48bbb3 Bug 1533877 - Add web-platform tests for the Cross-Origin header r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D31398

--HG--
extra : moz-landing-system : lando
2019-06-03 14:57:01 +00:00
Jan-Ivar Bruaroey
f11e661ca9 Bug 1555568: Add RTCPeerConnection-mandatory-getStats.https.html as stats gap analysis metric. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D33120

--HG--
extra : moz-landing-system : lando
2019-05-30 22:05:40 +00:00
Andrea Marchesini
b37b2bcb8f Bug 1556335 - Remove testing/web-platform/meta/fetch/api/redirect/redirect-mode.any.js.ini, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D33465

--HG--
extra : moz-landing-system : lando
2019-06-03 12:03:04 +00:00
Andrea Marchesini
08a835687c Bug 1554847 - Improve cross-origin checks in canvas API - Fix WPT, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D32794

--HG--
extra : moz-landing-system : lando
2019-06-03 09:55:25 +00:00
Ehsan Akhgari
a9e9f5ccdb Bug 1415270 - Part 1: Move nsHTMLDocument editing APIs to Document; r=farre,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D32911

--HG--
extra : moz-landing-system : lando
2019-05-31 01:37:26 +00:00
Hiroyuki Ikezoe
4daa2d3ed4 Bug 1554024 - Mark scroll-restoration-navigation-cross-origin.html FAIL on Android E10S (i.e. GeckoView). r=botond
The test should work once after we fixed an issue on the interaction between
layer-pixel alignment and scrolling APIs in bug 1556685.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 21:00:58 +00:00
Charlie Marlow
754d5e42ca Bug 1556041: added web platform tests for text-underline-offset r=emilio
One test case for the from-font feature is expected to fail (noted in it's ini file), when this is implemented later it should pass

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

--HG--
extra : moz-landing-system : lando
2019-06-05 20:02:17 +00:00
Joel Maher
ebc7491e8a Bug 1557123 - migrate web-platform-tests and web-platform-test-reftests to osx 10.14. r=egao
migrate web-platform-tests and web-platform-test-reftests to osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 20:22:14 +00:00
Daniel Holbert
df03876416 Bug 1556855 part 2: Update tests to assume that 'layout.css.prefixes.webkit' is already true. r=mats
(The pref is about to be removed, but even before its removal, it defaults to
'true' so these tests don't need to bother setting/checking it.)

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

--HG--
extra : moz-landing-system : lando
2019-06-05 18:22:39 +00:00
Brindusan Cristian
a8747fe17d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-06 14:27:39 +03:00
Noemi Erli
5d3b612129 Bug 1552460 - Disabled text-clipped-offscreen-move-onscreen.html on macosx a=test-only
--HG--
extra : source : c1f525dffc3501e3a58d9e11f4dcb674cc29a67b
2019-06-06 06:36:20 +03:00
Noemi Erli
0f0dc95f6f Bug 1552460 - Disabled fixed-z-index-blend.html on windows debug a=test-only
--HG--
extra : source : f2ed44809cf97774ca0bc2e035af4d1079e7bc30
2019-06-06 06:41:33 +03:00
shindli
c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Edgar Chen
2130ce5e46 Bug 1557060 - Update webaudio test result for release/beta build; r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D33854

--HG--
extra : moz-landing-system : lando
2019-06-06 08:58:19 +00:00
Thomas Nguyen
01ff0bf93f Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs
Also, in many place, we use document uri as referrer. It is not right
for the case srdoc iframe. We should use the last non-srdoc parent
document's uri

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

--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
extra : moz-landing-system : lando
2019-06-06 07:23:37 +00:00
Alastor Wu
8a3753f034 Bug 1555091 - enable wpt 'kind.html'. r=jya
This test only contains simple API behavior test, which is not possible to be affected by web-render.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 07:39:22 +00:00
Boris Zbarsky
cc371c6881 Bug 1485842. Fix pref handling in the wpt harness to deal with prefs that aren't set already. r=jgraham,karlt
Differential Revision: https://phabricator.services.mozilla.com/D33085

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:18 +00:00
Andrew McCreight
f8a94637c7 Bug 1555516 - Whitelist another CSP leak frame. r=jgraham
The stack isn't always deep enough to get to LoadInfo, so add another
fairly distinct frame that is closer to the top of the stack. I also
noticed an instance of this failure in the service-worker directory,
so I added the whitelisting there, too.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 10:07:10 +00:00
Byron Campen [:bwc]
2d6cf50175 Bug 1551589: readyState fixes r=ng
Depends on D31085

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

--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Byron Campen [:bwc]
9c8f9d54ae Bug 1549361: Remove this leak suppression. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D31092

--HG--
extra : moz-landing-system : lando
2019-05-16 00:42:44 +00:00
Mihai Alexandru Michis
157ed60453 Bug 1548125 - Disable mediasource-correct-frames.html for frequent failures on Windows 10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32994

--HG--
extra : moz-landing-system : lando
2019-05-29 12:58:11 +00:00
Alastor Wu
17d59d11c8 Bug 1555090 - remove 'max-asserts' for wpt 'addCue.html' and 'constructor.html'. r=jgraham
There is no need to add `max-asserts` for those two wpts, they are running correctly without hitting any assertion.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 10:19:20 +00:00
alwu
ed2f2811ba Bug 1553692 - enable wpt 'track-text-track-cue-list.html' r=jib
For getter, it will return undefined [1] when we can't get the element. We should use assert_equals because undefined is not an object.

For getCueById, it will return null [2] when we can't get the element. We should use assert_equals because null is not an object.

[1] https://heycam.github.io/webidl/#dfn-attribute-getter
[2] https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcuelist-getcuebyid

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

--HG--
extra : moz-landing-system : lando
2019-05-28 23:02:45 +00:00
Boris Chiou
a194573277 Bug 1429303 - Animate offset-rotate. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D32237

--HG--
extra : moz-landing-system : lando
2019-05-28 18:31:48 +00:00
Ehsan Akhgari
eb5865bd87 Bug 1554539 - Fix access-control-basic-options-not-supported.py to consistently fail if the Origin header is unexpectedly missing; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D32653

--HG--
extra : moz-landing-system : lando
2019-05-28 14:50:11 +00:00
Brindusan Cristian
bc9a979544 Bug 1546879 - Disable mediasource-correct-frames-after-reappend.html on Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32733

--HG--
extra : moz-landing-system : lando
2019-05-28 13:37:08 +00:00
Valentin Gosu
60c1e2be27 Bug 1536744 - Add WPT expect FAIL for ssh origin tests r=baku
These should be removed once bug 1553105 lands.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:52:11 +00:00
Valentin Gosu
f5bcc2cec2 Bug 1536744 - Remove expected FAILs from URL web-platform-tests r=baku
These were fixed by the improvements added to nsSimplerURI::Resolve()

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:51:05 +00:00
Valentin Gosu
3cf97eb027 Bug 1553582 - Disable resource_reparenting.html in e10s because cancelling the channel is racy r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D32667

--HG--
extra : moz-landing-system : lando
2019-05-28 09:53:07 +00:00
Alastor Wu
ddd3f0ae0a Bug 1553678 - enable wpt 'track-active-cues.html' r=jya
According to the spec [1], the TimeMarchesOn should only be ran when media element's show poster flag is not set.

If we would like to receive `cuechange` event, we have to reset media element's `show poster` flag in order to run `TimeMarchesOn` when adding new cues.

[1] https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:time-marches-on-2

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

--HG--
extra : moz-landing-system : lando
2019-05-27 12:57:18 +00:00
Ehsan Akhgari
ad6a833e39 Bug 1549560 - Move HTMLDocument.open/close/write/writeln to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32388

--HG--
extra : moz-landing-system : lando
2019-05-27 23:03:03 +00:00
Bogdan Tara
2bcd3a4566 Backed out changeset c352b73db92b (bug 1549560) for dom/base/Document.cpp related build bustages CLOSED TREE 2019-05-27 23:57:00 +03:00
Ehsan Akhgari
6b308d9e98 Bug 1549560 - Move HTMLDocument.open/close/write/writeln to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32388

--HG--
extra : moz-landing-system : lando
2019-05-27 18:42:23 +00:00
Jonathan Kew
5fe29c880d Bug 1322992 - Implement locale-specific casing behavior for Lithuanian, and add more WPT tests for it. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D32129

--HG--
rename : testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-039-ref.html => testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-044-ref.html
rename : testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-039.html => testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-044.html
extra : moz-landing-system : lando
2019-05-27 01:35:03 +00:00
Kershaw Chang
993dce095a Bug 1546041 - Throw TypeError if mode is Navigate r=baku
According to spec, we should throw TypeError if the mode is Navigate.

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

--HG--
extra : moz-landing-system : lando
2019-05-27 13:51:16 +00:00
Ehsan Akhgari
fa14c5eccf Bug 1554516 - Bring the implementation of XMLHttpRequest.requestType setter on the worker thread up to the spec; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32656

--HG--
extra : moz-landing-system : lando
2019-05-27 11:12:04 +00:00
Brindusan Cristian
58d68b812b Backed out changeset 3b6338393cc7 (bug 1546041) for mochitest failures at test_request.html. CLOSED TREE 2019-05-27 12:56:32 +03:00
Kershaw Chang
b53ba78d32 Bug 1546041 - Throw TypeError if mode is Navigate r=baku
According to spec, we should throw TypeError if the mode is Navigate.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 20:36:09 +00:00
alwu
087c97b591 Bug 1550633 - part12 : enable wpts. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31561

--HG--
extra : moz-landing-system : lando
2019-05-24 00:41:14 +00:00
alwu
339990cb09 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-24 00:41:31 +00:00
Brindusan Cristian
5a5f5a78fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-25 00:54:26 +03:00
Brindusan Cristian
fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Andrew McCreight
8ea119cb58 Bug 1553370 - Fix up websocket WPT whitelists for CSP changes. r=jgraham
Recent CSP changes added some new stacks to big page leaks, so add
LoadInfo to some WPT white lists.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 21:15:19 +00:00
Ehsan Akhgari
de01c84b95 Bug 1467625 - Part 2: Do not allow setting Document.domain without a browsing context; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32387

--HG--
extra : moz-landing-system : lando
2019-05-24 13:56:29 +00:00
Ehsan Akhgari
14dbf3d080 Bug 1467625 - Part 1: Move HTMLDocument.domain getter/setter to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32386

--HG--
extra : moz-landing-system : lando
2019-05-24 13:51:09 +00:00
violet
13e131d652 Bug 1383650 - Support geometry property for SVG image element r=longsonr
The only different part is to resolve intrinsic image size. This patch
implements explicit requirements of the spec, but an edge case is tricky.
It's not clear per spec what the intrinsic image size is for an SVG
without explicit width/height, something like:

<svg>
  <image href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect width='40' height='90' fill='red' /></svg>"/>
</svg>

Chrome treats the intrinsic size of the href svg as the default size of
a replaced element (300x150), our image/VectorImage.cpp doesn't resolve
size in this case.

We can handle this particular case in some seperate bug if necessary, I think.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:40:12 +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
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
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
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
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
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
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
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
Cosmin Sabou
c1685882cc Merge mozilla-central to mozilla-inbound. 2019-05-24 12:56:42 +03:00
Olli Pettay
a1da896545 Bug 1480236 - Implement queueMicrotask(), r=baku
--HG--
extra : rebase_source : 38f0bb25142240bff9c8efba04f7acedfe4169e4
2019-05-24 11:27:03 +03:00
Valentin Gosu
1110a0511e Bug 1529911 - Fix web-platform-test expectations r=mayhemer
Because the IPDL channel between HttpChannelChild/Parent is sensitive to chaos
mode delays, sometimes the channel will be cancelled before completing, other
times after.
Because of this, the test will sometimes fail in verify mode.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 13:49:09 +00: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
Jonathan Kew
2ba7f6d756 Bug 1418472 - Add WPT reftests for the abs-pos at line-break issue here. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32022

--HG--
extra : moz-landing-system : lando
2019-05-21 17:02:21 +00:00
Andrea Marchesini
7b8a38ee05 Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
This patch reverts the second part of bug 1548432.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 06:31:22 +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
Boris Chiou
9c6dd560e5 Bug 1552911 - Drop the constructor of ResizeObserverEntry. r=dholbert,smaug
There is a spec issue about should we expose this API:
https://github.com/w3c/csswg-drafts/issues/3946

It's no clear that should we really need this API, so let's match
Chromium for now.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 18:17:16 +00:00
Mihai Alexandru Michis
68421ffba4 Backed out changeset 754426d70d28 (bug 1551729) for causing wpt failures. CLOSED TREE 2019-05-21 15:17:37 +03:00
violet
b1f320104b Bug 1383650 - Resolve SVG geometry metrics from CSS r=longsonr,emilio
This patch makes SVG retrieve metrics from CSS style.

It doesn't handle <svg> element because geometry properties for
outer <svg> element has been partially implemented long ago, it
needs special change.

It doesn't deal with the impact on SMIL.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet
30fa1da169 Bug 1383650 - Add SVG geometry property support in CSS r=emilio
This patch adds SVG geometry properties to CSS, it doesn't deal with
how SVG handles them.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:19 +00:00
Andrea Marchesini
32c1b6bb89 Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
This patch reverts the second part of bug 1548432.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 08:57:21 +00:00
Ting-Yu Lin
fe2543f2c4 Bug 1348839 - Add a web platform test which tests max-height imposes constraint on column boxes' height. r=dbaron
This reftest renders correctly since bug 1411422 is landed.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 22:05:09 +00:00
Boris Chiou
6f268e4980 Bug 1429299 - Part 4: Make offset-distance animatable. r=hiro
Use ComputedValue to animate offset-distance.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:56 +00:00
Boris Chiou
1842658992 Bug 1429299 - Part 3: Layout update for offset-distance. r=birtles
Just need to take offset-distance into account to get the final matrix.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:54 +00:00
Boris Chiou
ce15d305e2 Bug 1429299 - Part 2: Implement offset-distance. r=emilio
Define the offset-distance property in style system.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:52 +00:00
Dorel Luca
f5080f76dc Bug 1551729 - Revert changes made in Bug 1548432 in mozilla-test.html r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D31878

--HG--
extra : moz-landing-system : lando
2019-05-20 22:32:44 +00:00
Sean Feng
170e44e58f Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D27386

--HG--
extra : moz-landing-system : lando
2019-05-16 19:35:30 +00:00
Jonathan Kew
5aac1ed3b4 Bug 1011369 - Update metadata for WPT tests that now pass. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30789

--HG--
extra : moz-landing-system : lando
2019-05-20 20:47:51 +00:00
Jonathan Kew
eb2e0187f1 Bug 1531715 - Implement the CSS line-break property, with values "auto | anywhere". r=emilio
Note that the "loose | normal | strict" values are not yet parsed/implemented.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:07 +00:00
Dorel Luca
06b2e4e9d2 Backed out changeset 41c511d9528c (bug 1551729) for causing WPT failures in cookies/http-state/mozilla-tests.html. CLOSED TREE 2019-05-20 23:40:10 +03:00
Andrea Marchesini
b2c76acaf1 Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
This patch reverts the second part of bug 1548432.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 15:16:06 +00:00
Jonathan Kew
35bcd113af Bug 1509423 - Test/manifest updates to account for minor rendering differences between HarfBuzz and Core Text. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31095

--HG--
extra : moz-landing-system : lando
2019-05-20 14:29:35 +00:00
Emilio Cobos Álvarez
c1954c0d3a Bug 1492739 - Unprefix user-select. r=mats
The CSSWG decided that our behavior regarding inheritance is what we want,
see [1].

[1]: https://github.com/w3c/csswg-drafts/issues/3344

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

--HG--
extra : moz-landing-system : lando
2019-05-17 02:43:59 +00:00