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

14930 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 1d52ade04b Backed out changeset 0b9e5272fe4d (bug 1560299) for wpt failures on idlharness.https.html . CLOSED TREE 2019-07-01 16:10:22 +03:00
Andreas Pehrson 603b91c87a Bug 1556710 - Update WPT expectations. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D33764

--HG--
extra : moz-landing-system : lando
2019-07-01 09:54:00 +00:00
Andreas Pehrson b225701ee6 Bug 1556710 - Make MediaRecorder tests that are using gUM run in Firefox. r=jib
Depends on D33762

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

--HG--
rename : testing/web-platform/meta/mediacapture-streams/__dir__.ini => testing/web-platform/meta/mediacapture-record/__dir__.ini
extra : moz-landing-system : lando
2019-07-01 09:54:26 +00:00
Cosmin Sabou 81fdce0315 Bug 1560299 - Update expectations for several presentation-api/controlling-ua tests failing on beta. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D36452

--HG--
extra : moz-landing-system : lando
2019-07-01 09:43:50 +00:00
Kagami Sascha Rosylight 5e70c0e2ab Bug 1397945: Align DOMMatrix scale* operations to the spec r=bzbarsky
Adjusted scale() to receive six arguments, scale3d() to allow zero argument, and scaleNonUniform to support only two arguments.  Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e6484802f1961c7fe881b4d1d7f4309ec19110a7

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

--HG--
extra : moz-landing-system : lando
2019-06-28 15:11:00 +00:00
Cosmin Sabou 73585f341c Bug 1554777 - Disable test on Android because of flakiness and frequent failures. a=testonly 2019-06-30 20:50:59 +03:00
Andreea Pavel 1cee16c05d Bug 1554777 - update test expectation r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36280

--HG--
extra : moz-landing-system : lando
2019-06-30 09:51:37 +00:00
Andreea Pavel 02dafdeba5 Bug 1490546 - update postmessage.https.html.ini expectation r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36278

--HG--
extra : moz-landing-system : lando
2019-06-30 09:51:25 +00:00
Boris Zbarsky 827dd3e9ce Bug 1562257 part 5. Fix style mapping of border attribues to more closely match the spec. r=mccr8
Per spec, "border" is parsed as a non-negative integer, only mapped if nonzero
(though this is not observably different from mapping even if 0, except if user
or UA stylesheets style the border), and supported on img, object,
<input type="image">, but NOT embed, iframe, or marquee.

This matches the Chrome and Safari behavior, as far as I can tell.  The
substantive change here is that we are removing mapping for the <embed border>
case.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:55:38 +00:00
Boris Zbarsky 1725cec1ac Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8
Per spec, "hspace" and "vspace" are parsed as dimension attributes and are
supported on the following elements: embed, iframe, img, object,
<input type="image">, marquee.  Except no one implements this for iframe.
https://github.com/whatwg/html/issues/4742 tracks the spec changing accordingly.

As far as hspace/vpace on <table> go, Safari supports them in both quirks and
standards mode, while Chrome doesn't support them in either mode.  The HTML spec
doesn't have them supported at all, and neither does the quirks mode spec, so
I'm removing the quirks-only support we had to align with the specs and Chrome.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:51:43 +00:00
Boris Zbarsky 6391a08bef Bug 1562257 part 3. Change the dimension attribute reflection test to handle the attribute name and CSS property name not matching. r=mccr8
We're going to need that for hspace/vspace

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:32:38 +00:00
Boris Zbarsky 8443e97624 Bug 1562257 part 2. Fix parsing of margin attributes on <body> match the spec. r=mccr8
The various margin attributes on <body> are "pixel length attributes" in the
spec, which should get parsed as non-negative integers.  That said, Chrome and
Safari implement marginwidth, marginheight, marginleft, and margintop as
"dimension attributes" instead, and don't implement marginright and marginbottom
at all.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 23:32:12 +00:00
Boris Zbarsky a57983df7a Bug 1561440 part 4. Parse non-integer HTML dimension values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36265

--HG--
extra : moz-landing-system : lando
2019-06-28 23:31:15 +00:00
Kagami Sascha Rosylight 3f472122f6 Bug 1560462: Implement DOMMatrix.fromMatrix r=bzbarsky
Also fixes `.multiply()` to use DOMMatrixInit.

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

--HG--
extra : moz-landing-system : lando
2019-06-30 03:02:13 +00:00
Coroiu Cristina 3712f3103e Backed out changeset d63622bdde81 (bug 1560462) for wpt failures at css/geometry/DOMMatrixInit-validate-fixup.html 2019-06-30 03:21:14 +03:00
Kagami Sascha Rosylight ef13c99bda Bug 1560462: Implement DOMMatrix.fromMatrix r=bzbarsky
Also fixes `.multiply()` to use DOMMatrixInit.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 03:24:08 +00:00
Csoregi Natalia 4173161363 Merge mozilla-central to autoland. CLOSED TREE 2019-06-29 13:02:56 +03:00
Csoregi Natalia 29f8e6aebd Merge inbound to mozilla-central. a=merge 2019-06-29 12:59:53 +03:00
Kartikaya Gupta 721a5dbcf4 Bug 1558598 - Ensure mozinfo correctly detects WebRender. r=ahal
I don't know if this covers all the things that use mozinfo (probably not)
but it covers all the suites that use mozinfo and have webrender conditions
in the test manifests (i.e. mochitest and wpt variants).

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:51:14 +00:00
Kartikaya Gupta 14cf3a5147 Bug 1558598 - Force WebRender on or off in the WPT harness. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D35856

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:53 +00:00
Kagami Sascha Rosylight 29904ec6bf Bug 1454622: Remove DOMQuad bounds attribute r=bzbarsky
The bounds attribute has been deprecated and shown zero use, and thus this change removes it.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 02:27:47 +00:00
Boris Zbarsky 9abd9bd6cd Bug 1560055 part 6. Add a test for reflection of percentage values and fix our one failure there. r=mccr8
Our new behavior should align with the Blink/WebKit behavior and the current
spec, though I also filed https://github.com/whatwg/html/issues/4737 on the spec
for the fact that dimension attributes reflecting as integers is a bit weird

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:01:35 +00:00
Boris Zbarsky 3dd95a2c8f Bug 1560055 part 3. Switch various "width" and "height" attributes on HTML elements to mostly follow the spec for parsing the attribute. r=mccr8
The spec allows non-integer values, but we don't have a good way to store them
in nsAttrValue yet.  See https://bugzilla.mozilla.org/show_bug.cgi?id=1561440

HTMLTableCellElement::MapAttributesIntoRule can now call
MapImageSizeAttributesInto instead of manually mapping width and height, because
0 values (which it was excluding before) are now excluded at attribute parse
time.

For 'width' on HTMLTableElement I kept our old behavior for 0, which matches the spec
but not Safari or Chrome.

For 'height' on HTMLTableElement I kept our old behavior for 0, which matches
Safari and Chrome but not the spec.  https://github.com/whatwg/html/issues/4715
tracks a possible spec change.

Same thing for 'height' on HTMLTableRowElement.

Same thing for 'width' on HTMLTableColElement.

The ParseImageAttribute call in HTMLMediaElement is not needed, because
HTMLAudioElement does not map any of those to style and HTMLVideoElement only
maps width/height, which it already parses.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:56:55 +00:00
Boris Zbarsky 2e218ac638 Bug 1560055 part 2. Switch frame/iframe marginwidth/height parsing to follow the spec. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36126

--HG--
extra : moz-landing-system : lando
2019-06-28 20:54:30 +00:00
Maja Frydrychowicz af5e1e3ef8 Bug 1560454 - Disable flaky WebAudio test; a=testonly
--HG--
extra : rebase_source : 8ca3c3aa76c32e76859e1c9795c56475bad26359
2019-06-27 10:40:58 -04:00
Hiroyuki Ikezoe c6bceffd5f Bug 1561802 - Mark two test cases FAIL on Android E10S (i.e. GeckoView). r=botond
These tests fail because of the layer alignment issue on GeckoView (bug 1556685).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 16:44:07 +00:00
Andreea Pavel 65e3147f88 Bug 1553658 - Disable cc-request.html on android. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36279

--HG--
extra : moz-landing-system : lando
2019-06-28 15:33:12 +00:00
Makoto Kato c2694625b5 Bug 1444847 - part 4: Implement `mozilla::dom::StaticRange` and static factory methods r=smaug
This patch is based on Makoto Kato-san's patch.

This patch implements `mozilla::dom::StaticRange` class and creating some
static factory methods.

Then, makes `AbstractRange` has a utility method of `SetStartAndEnd()`
method of `nsRange` and `StaticRange` for sharing same logic in one place.
However, there are some additional work is required only in `nsRange`, e.g.,
`nsRange` needs to start observing mutation of the range, but `StaticRange`
does not it.  Therefore, it's implemented as a template method which takes
`nsRange*` or `StaticRange*` as a parameter.  Then, each `DoSetRange()`
method of them can do different things without virtual calls.

Note that `StaticRange` does not have any properties, methods nor constructor.
Therefore, we need additional API to test it.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:48:52 +00:00
Makoto Kato 5f9abd3366 Bug 1444847 - part 1: Create `mozilla::dom::AbstractRange` r=smaug
This patch is based on the patch created by Makoto Kato-san.

`Range` and `StaticRange` have common base interface, `AbstractRange`.
https://dom.spec.whatwg.org/#abstractrange

This interface has simply returns `startContainer`, `endContainer`,
`startOffset`, `endOffset` and `collapsed`.

Different from the original patch's approach, this patch moves related
members in `nsRange` to `AbstractRange` since this approach avoids
virtual call cost.  Additionally, this patch makes them not throw as
declared by the spec.  As far as I know, the destruction cost of
`ErrorResult` may appear in profile so that we should avoid creating
the instance if we can avoid it.

Unfortunately, the instance size of `nsRange` becomes larger with this
patch.  The size is changed from 176 to 184.  I.e., now, `nsRange`
requires bigger chunk.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:46:35 +00:00
Cosmin Sabou 2243d927a1 Bug 1560331 - Disable test cause of the frequent failures. a=testonly 2019-06-28 09:11:52 +03:00
Andreea Pavel 867cbb1a2b Backed out changeset 46f669479d66 (bug 1560331) because the patch did not work 2019-06-28 07:23:08 +03:00
Andreea Pavel b5d70bbe2a Bug 1383229 - disabled universal-selector-005.xht on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36276

--HG--
extra : moz-landing-system : lando
2019-06-28 01:02:17 +00:00
Andreea Pavel bb44f00ee2 Bug 1560331 - update test expectations r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36271

--HG--
extra : moz-landing-system : lando
2019-06-28 00:33:52 +00:00
Charlie Marlow 8d6b1bcaa4 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 21:34:33 +00:00
Andreea Pavel ea400c1438 Backed out changeset 21d365e43fec (bug 1561131) for failing test_bug1112014.html on a CLOSED TREE 2019-06-28 00:12:41 +03:00
Kagami Sascha Rosylight f631f135ff Bug 1560705: Fix DOMMatrix test to do approximation r=bzbarsky,emilio
This allows lower precision for DOMMatrix when parsing CSS as the CSS spec does not have number precision requirement.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 19:48:23 +00:00
Charlie Marlow 3f0f7ff856 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 18:09:10 +00:00
Andreea Pavel ffa060ad1a Bug 1560317 - delete mediasource-play-then-seek-back.html expectancy r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35794

--HG--
extra : moz-landing-system : lando
2019-06-27 17:49:11 +00:00
Paul Adenot c0268a0f97 Bug 1560251 - Relax a check in mediastreamaudiosourcenode-routing.html. r=karlt
Changing the cutoff and lowering the windowing does not seem to work reliably
unfortunately.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:36:48 +00:00
Emilio Cobos Álvarez aebd7e0393 Bug 1561908 - Enable the relevant pref on img-aspect-ratio.tentative.html so that it doesn't fail on late beta or later (when that pref is not enabled by default). 2019-06-27 16:00:18 +02:00
Emilio Cobos Álvarez ca7c3716eb Bug 1552578 - Restrict properties that apply to ::marker for now. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D31680
2019-06-27 13:27:40 +02:00
Andreas Pehrson 77efe17683 Bug 1561249 - Check that MediaStream's onactive and oninactive attributes are not supported in WPT. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35822

--HG--
extra : moz-landing-system : lando
2019-06-27 01:29:16 +00:00
Andreas Pehrson 817749cc2a Bug 1561268 - Make MST-end-manual.https.html spec compliant. r=jib
Depends on D35784

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

--HG--
extra : moz-landing-system : lando
2019-06-27 01:28:49 +00:00
Andreas Pehrson a747ca0c9a Bug 1561268 - Modernize MST-end-manual.https.html. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35784

--HG--
extra : moz-landing-system : lando
2019-06-27 10:46:28 +00:00
Coroiu Cristina f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
Charlie Marlow c0b881c1d5 Bug 1440014: Part 2: Added reftests for text-decoration-width r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D34943

--HG--
extra : moz-landing-system : lando
2019-06-25 20:09:03 +00:00
Mihai Alexandru Michis c97c5547e7 Backed out changeset 7423f5bc275c (bug 1552578) for causing failures in test_marker_restrictions.html. CLOSED TREE 2019-06-27 05:52:48 +03:00
Mihai Alexandru Michis cc9e91253e Backed out 2 changesets (bug 1528031) for causing crashtests to time out. CLOSED TREE
Backed out changeset 27ce9b212d26 (bug 1528031)
Backed out changeset 0a18aa212ee6 (bug 1528031)
2019-06-27 05:45:20 +03:00
Emilio Cobos Álvarez 5fa55a81bc Bug 1552578 - Restrict properties that apply to ::marker for now. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D31680

--HG--
extra : moz-landing-system : lando
2019-06-27 00:53:45 +00:00
Kagami Sascha Rosylight fb9f61bd7d Bug 1397949: Mark all arguments as optional on DOMMatrix translate*()/skew*() r=bzbarsky
The spec allows zero argument calls, so this change implements it. Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=94b2eb5869ae41e431c9e277abb62b5a19a69579

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

--HG--
extra : moz-landing-system : lando
2019-06-26 23:27:55 +00:00