Commit Graph

9106 Commits

Author SHA1 Message Date
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
Brian Birtles
2f6180dd9e Bug 1253476 - Use update() to update declarations from Servo_DeclarationBlock_SetPropertyToAnimationValue; r=emilio
This method is used when updating the SMIL override style and from Web
Animations' Animation.commitStyles method. By using update we accurately return
false when no change is made to a declaration block.

For SMIL this simply acts as an optimization, meaning we can avoid updating the
SMIL override style ub some cases.

For Animation.commitStyles, however, this allows us to avoid generating
a mutation record. Normally making a redundant change to an attribute *does*
generate a mutation record but the style attribute is different. All browsers
avoid generating a mutation record for a redundant change to inline style.
This is specified in the behavior for setProperty[1] which does not update the
style attribute if updated is false.

[1] https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-setproperty

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

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:39 +00:00
Brian Birtles
65f06d35fe Bug 1253476 - Implement Animation.commitStyles; r=boris,emilio,bzbarsky,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30327

--HG--
extra : moz-landing-system : lando
2019-05-20 06:04:23 +00:00
Brian Birtles
8ceb39cc5f Bug 1253476 - Add tests that removing is triggered at the right time; r=boris
Differential Revision: https://phabricator.services.mozilla.com/D30323

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:16 +00:00
Edgar Chen
e336502f67 Bug 1549351 - Promise rejection event should not be sent for cross-origin scripts; r=smaug,till
Differential Revision: https://phabricator.services.mozilla.com/D31565

--HG--
extra : moz-landing-system : lando
2019-05-19 01:18:04 +00:00
violet
94b46be68b Bug 1520020 - Accept empty argument for some filters r=emilio
Filters blur(), invert(), etc. can omit argument.

Computed/specified style serialization is a little tricky w.r.t the shortest
serialization principle. Ideally we should serialize `invert(1)` to `invert()`,
but that will be a breaking change, so we always serialize them with an
argument.

Note, Blink/WetKit treat specified (but not computed) style serialization
differently when the specified one is originally without argument. Our
current behavior is the same as pre-Chromium Edge.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 07:01:29 +00:00
Hiroyuki Ikezoe
ba8e59a283 Bug 1552089 - Don't tweak snapport position even in the case of RTL scroll containers. r=botond
In RTL scroll containers, the right most x-axis scroll position is 0 and
leftward scroll positions are negative values.  And also
nsLayoutUtils::TransformFrameRectToAncestor, which is used to tell whether the
snap target element is inside the destination snapport or not [1], returns
negative x-axis positions for elements in RTL scroll containers if the element
is positioned at places where the elements are outside of the initial scroll
position (0, 0).  So we don't need to tweak snapport postion even in the case
of RTL scroll containers.

Instead, what we needed in the first place is that we choose a proper x-axis
scroll position that the targe element appears inside the snapport.

[1] https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/layout/generic/nsGfxScrollFrame.cpp#6604-6605,6616-6617

Depends on D31409

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:36:57 +00:00
Hiroyuki Ikezoe
f2920c13d8 Bug 1551806 - Don't try to snap if there is no valid snap positions for the scroll-snap v1 implementation. r=botond
From the spec [1];
  If a valid snap position exists then the scroll container must snap at the
  termination of a scroll (if none exist then no snapping occurs).


Both of test cases in this commit fail without this change.

[1] https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:50:24 +00:00
Hiroyuki Ikezoe
4a8729bdf1 Bug 1552134 - Add width=device-width,initial-scale=1 to avoid auto shrink the contents to intersection-observer tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31580

--HG--
extra : moz-landing-system : lando
2019-05-18 23:43:54 +00:00
Fabio Alessandrelli
aec49ddacd Bug 1529695: Implement RTCDataChannel.negotiated. r=bwc,smaug
--HG--
extra : amend_source : d16ca9ffde03d531b012c8f7263d49ef1137327b
2019-05-16 23:11:46 +02:00
Coroiu Cristina
b4731ed54d Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period
Backed out changeset 4316d55f87be (bug 1383650)
Backed out changeset 0118148f1534 (bug 1383650)
Backed out changeset 447c9248342b (bug 1383650)
Backed out changeset 6730776560c0 (bug 1383650)
Backed out changeset a7b8e6460fb8 (bug 1383650)
Backed out changeset e864696f6cf8 (bug 1383650)
Backed out changeset 2b003d678c58 (bug 1383650)
Backed out changeset 7bc3bff991c4 (bug 1383650)
Backed out changeset f1f7b4ad9547 (bug 1383650)
Backed out changeset 18b030b31660 (bug 1383650)
Backed out changeset 70e74dd6b45d (bug 1383650)
Backed out changeset 55a283e793df (bug 1383650)
2019-05-16 04:47:58 +03:00
violet
9264ebe151 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 00:47:37 +00:00
violet
2dad80d965 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 00:47:20 +00:00
Wes Kocher
3cb779b9e3 Bug 1550895 - Disable some more frequently failing wpt tests on geckoview
Differential Revision: https://phabricator.services.mozilla.com/D31359

--HG--
extra : moz-landing-system : lando
2019-05-15 22:41:09 +00:00
Byron Campen [:bwc]
fdc5e08b84 Bug 1546404: Add bug links to failing tests. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D31085

--HG--
extra : moz-landing-system : lando
2019-05-15 21:33:50 +00:00
Wes Kocher
7a290f6c28 Bug 1550895 - disable some additional frequently failing geckoview wpt tests
Differential Revision: https://phabricator.services.mozilla.com/D31158

--HG--
extra : moz-landing-system : lando
2019-05-14 23:23:03 +00:00
arthur.iakab
13d576fff0 Bug 1551384 Re-enable navigate-window.https.html on Linux sw-e10s r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D31061

--HG--
extra : moz-landing-system : lando
2019-05-14 13:07:51 +00:00
Cosmin Sabou
73b271c009 Bug 1525580 - Disable update-after-navigation-redirect.https.html and re-enable other tests. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D31049

--HG--
extra : moz-landing-system : lando
2019-05-14 10:57:41 +00:00
Andreea Pavel
2806e1a8fc Bug 1525580 - Disable update-missing-import-scripts.https.html on win debug. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30983

--HG--
extra : moz-landing-system : lando
2019-05-14 06:06:16 +00:00
Wes Kocher
ad81a9d9d9 Bug 1550895 - Disable some additional frequently failing geckoview wpt tests
Differential Revision: https://phabricator.services.mozilla.com/D30987

--HG--
extra : moz-landing-system : lando
2019-05-13 23:54:27 +00:00
Mihai Alexandru Michis
d2a3810fca Bug 1543316 - Disable multiple-update.https.html on sw-e10s r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30876

--HG--
extra : moz-landing-system : lando
2019-05-13 09:52:14 +00:00
Botond Ballo
79a6455e3f Bug 1550595 - Disable failing Visual Viewport API web platform tests on desktop. r=kats
We disable them rather than marking them as expected to fail because sometimes
the problems with them can manifest as intermittent failures.

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

--HG--
extra : moz-landing-system : lando
2019-05-12 00:10:20 +00:00
Wes Kocher
70fc12089a Bug 1550895 - Disable some additional frequently failing geckoview wpt tests
This disables a few additional tests and updates the annotations for other disabled tests to point to this bug instead of the general geckoview-wpt bug.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 22:57:35 +00:00
Wes Kocher
3a836ebd00 Bug 1550672 - Fix wpt webrtc annotations r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D30615

--HG--
extra : moz-landing-system : lando
2019-05-10 21:10:23 +00:00
Gurzau Raul
d48d7be18a Bug 1550381 - Disable track-cues-cuechange.html on Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30661

--HG--
extra : moz-landing-system : lando
2019-05-10 16:46:40 +00:00
Dzmitry Malyshau
7f9b0ee390 Bug 1532174 - Repace WR RelativeTransform with CoordinateSpaceMapping, improve flattening semantics. r=gw
This change makes get_relative_transform() to no longer rely on any flattening done before in the pipeline.
This makes it correct is some of the cases we failed previously (see ini files removed).
It now does flattening on every flat coordinate system it passes through, and it's used for SpaceMapper.
The old RelativeTransform is now replaced with CoordinateSpaceMapping, which reduces the zoo of our types :)

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

--HG--
extra : moz-landing-system : lando
2019-05-10 02:22:51 +00:00