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

6467 Коммитов

Автор SHA1 Сообщение Дата
Alex Catarineu a8b667f825 Bug 467035 - Avoid leaking browser language via DTD r=Gijs,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34187

--HG--
extra : moz-landing-system : lando
2019-07-08 10:47:05 +00:00
Andrea Marchesini f9e570ba21 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-08 02:03:18 +00:00
Andrea Marchesini e87202df68 Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-08 00:10:56 +00:00
Ciure Andrei 35fa9e2361 Backed out changeset fe8c2426d9d3 (bug 1514474) for causing beta simulation failures CLOSED TREE 2019-07-08 04:58:50 +03:00
Ciure Andrei d94259f899 Backed out 2 changesets (bug 1514296) for causing beta simulation failures CLOSED TREE
Backed out changeset 88f4a687f039 (bug 1514296)
Backed out changeset fe343795c247 (bug 1514296)
2019-07-08 03:03:22 +03:00
Andrea Marchesini 5a8e4fdbe9 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-06 15:11:23 +00:00
Andrea Marchesini e01cab332f Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-06 15:10:59 +00:00
Paul Adenot 3ffaf1696e Bug 1563728 - Throw when the three parameters of BiquadFilterNode.getFrequencyResponse aren't of the same size. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37056

--HG--
extra : moz-landing-system : lando
2019-07-05 20:34:47 +00:00
Kagami Sascha Rosylight 76dc4579b9 Bug 1563504: Implement DOMPoint matrixTransform() r=bzbarsky
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=619248c60ce6a3f432c13abe7e7bc5bbf03c4184 (7 unexpected passes in wpt8 here have been removed)

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

--HG--
extra : moz-landing-system : lando
2019-07-06 06:55:53 +00:00
Kagami Sascha Rosylight 95687d2f8d Bug 1392722: Allow zero in rotateFromVector r=bzbarsky
Aligns to the spec. Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f7c12c831fb8a6ce0d5ec6b31fcf1f708464deaf

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

--HG--
extra : moz-landing-system : lando
2019-07-04 07:39:45 +00:00
Olli Pettay d957d5d294 Bug 1178763, move UIEvent.pageX/pageY to MouseEvent, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D36781

--HG--
extra : moz-landing-system : lando
2019-07-04 01:50:22 +00:00
Cosmin Sabou 78f2b81ebf Merge mozilla-central to autoland. 2019-07-03 19:21:47 +03:00
Cosmin Sabou 15a1881070 Merge mozilla-inbound to mozilla-central. a=merge 2019-07-03 19:20:05 +03:00
Mirko Brodesser 6b67de025f Bug 1562876: rename `Selection::RemoveRange` to `Selection::RemoveRangeAndUnselectFramesAndNotifyListeners`. r=smaug
The name of the corresponding webidl interface of course remains unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D36607
2019-07-03 13:26:14 +02:00
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Cosmin Sabou 56754efbdb Backed out 3 changesets (bug 1514474, bug 1514296) for mochitest failures on test_featureList.html. CLOSED TREE
Backed out changeset 52ae606e4cfa (bug 1514296)
Backed out changeset e74168e44dd7 (bug 1514474)
Backed out changeset a43f3aa0ea77 (bug 1514296)
2019-07-03 17:29:15 +03:00
Boris Zbarsky 11712bd3ce Bug 1558101: Implement geometry static constructors r=bzbarsky
Includes .fromRect, .fromQuad, and .fromFloat32/64Array.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 05:51:30 +00:00
Andrea Marchesini 34e8781b21 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Depends on D35801

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

--HG--
extra : moz-landing-system : lando
2019-07-03 13:16:36 +00:00
Andrea Marchesini 0bcffcfa72 Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-03 13:02:05 +00:00
Kagami Sascha Rosylight 509d2d30b6 Bug 1366738: Implement [LegacyWindowAlias] r=bzbarsky
Add [LegacyWindowAlias] extended attribute support for WebKitCSSMatrix and webkitURL.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 08:37:01 +00:00
Cosmin Sabou 3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Mihai Alexandru Michis 9c4d142e96 Backed out changeset 509af1e0771d (bug 1366738) for causing failures in test_WebKitCSSMatrix.html CLOSED TREE 2019-07-03 10:21:30 +03:00
Boris Zbarsky 73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky 3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
Kagami Sascha Rosylight 8dd328fee0 Bug 1366738: Implement [LegacyWindowAlias] r=bzbarsky
Add [LegacyWindowAlias] extended attribute support for WebKitCSSMatrix and webkitURL.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 02:37:11 +00:00
Kagami Sascha Rosylight 183a1c499a Bug 1560480: Align DOMMatrix rotate*() with the spec r=bzbarsky
Supports 3D rotation as the spec does.

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

--HG--
extra : amend_source : 8257e9047e3c2655bad7d44eef184c8bfb03e25b
2019-07-02 10:29:46 +02:00
Kagami Sascha Rosylight e8b452e9d2 Bug 1560119: Remove DOMMatrix scaleNonUniformSelf() r=bzbarsky
We probably just can remove it given that no other implementations are there.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 21:07:20 +00:00
Kartikaya Gupta 81d35ea432 Bug 1561698 - Check the layers id in hit-testing mochitests as well. r=botond,hsivonen
This exposes the layers id on the APZ hit result testing API, and
updates callers to check the layers id is correct. This is mostly
unnecessary for these tests, but introduces machinery that will be
useful in Fission-enabled tests, where iframes may be OOP and have
different layers ids.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 07:12:24 +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
Boris Zbarsky d99ca28ef4 Bug 1562064. Convert StructuredCloneTester to using [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D36261

--HG--
extra : moz-landing-system : lando
2019-06-30 16:43:10 +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
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
Kearwood "Kip" Gilbert 816af12bb5 Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky
gfxVRPuppet will be replaced with a fully asynchronous puppet automation that runs in the VR process.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:19:54 +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
J.C. Jones bdc71696d2 Bug 1551594 - Support HmacSecret webauthn extension r=keeler,smaug
Differential Revision: https://phabricator.services.mozilla.com/D31093

--HG--
extra : moz-landing-system : lando
2019-06-27 23:23:26 +00:00
Boris Zbarsky 2a6bd5b432 Bug 1350254 part 10. Switch RTCCertificate to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35724

--HG--
extra : moz-landing-system : lando
2019-06-25 06:49:06 +00:00
Boris Zbarsky ee45c802a7 Bug 1350254 part 9. Switch URLSearchParams to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35723

--HG--
extra : moz-landing-system : lando
2019-06-25 06:48:53 +00:00
Boris Zbarsky 4b183f77b2 Bug 1350254 part 8. Switch CryptoKey to [Serializable]. r=baku
The spec doesn't say to do this, but I think we should.  See
https://github.com/w3c/webcrypto/issues/222

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

--HG--
extra : moz-landing-system : lando
2019-06-25 06:48:41 +00:00
Boris Zbarsky 7eb91b22fc Bug 1350254 part 6. Switch DOMMatrix and DOMMatrixReadOnly to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35720

--HG--
extra : moz-landing-system : lando
2019-06-25 06:48:29 +00:00
Boris Zbarsky 0fa1029320 Bug 1350254 part 5. Switch DOMRect and DOMRectReadOnly to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35719

--HG--
extra : moz-landing-system : lando
2019-06-25 06:46:47 +00:00
Boris Zbarsky a408716f68 Bug 1350254 part 4. Switch DOMPoint and DOMPointReadOnly to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35718

--HG--
extra : moz-landing-system : lando
2019-06-25 06:46:20 +00:00
Boris Zbarsky 3bd779034c Bug 1350254 part 3. Switch DOMQuad to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35717

--HG--
extra : moz-landing-system : lando
2019-06-25 06:45:21 +00:00
Boris Zbarsky 75224691ef Bug 1350254 part 2. Switch ImageData to [Serializable]. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35716

--HG--
extra : moz-landing-system : lando
2019-06-25 06:44:38 +00:00
Coroiu Cristina f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03: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
prathiksha ace20f2933 Bug 1555438 - Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D33064

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:55 +00:00
Jeff Gilbert 7c6109af7b Bug 1560422 - WEBGL_explicit_present extension. r=lsalzman,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D35495

--HG--
extra : moz-landing-system : lando
2019-06-25 19:48:24 +00:00
longsonr 020fd563bd Bug 1295404 - Remove requiredFeatures from SVGTests r=dholbert r=bzbarsky 2019-06-26 19:51:12 +01: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 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
Oana Pop Rus fd2aad147f Merge inbound to mozilla-central. a=merge 2019-06-20 00:40:02 +03:00
Byron Campen [:bwc] 8ab44cf270 Bug 1550177 - Part 1: Remove some duplicate webidl enums. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30991

--HG--
extra : moz-landing-system : lando
2019-06-19 16:54:38 +00:00
Jonathan Watt c327ad117f Bug 1559840. Add a pref to expose the transform getters on the Element interface. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35208

--HG--
extra : rebase_source : 2910236db53d098fe725a3f8911668432cf02610
2019-06-17 15:51:33 -07:00
prathiksha beb8201a97 Bug 1552333 - Expose failedCertChain info from nsITransportSecurityInfo in content for about:certerror use. r=baku
Depends on D30852

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

--HG--
extra : moz-landing-system : lando
2019-06-12 00:09:39 +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
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
Jeff Gilbert f16e991a1d Bug 1559285 - Add webgl.default-antialias. r=mccr8,lsalzman
Default to false on Android, matching existing behavior.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 19:29:15 +00:00
Andrea Marchesini dbaf607895 Bug 1490044 - Remove DOMPrefs MACRO for WebIDL support. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33509

--HG--
extra : moz-landing-system : lando
2019-06-13 09:01:41 +00:00
Andreas Pehrson 099e60b97b Bug 1522305 - Make MediaRecorder timeslice parameter unsigned. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D17815

--HG--
extra : moz-landing-system : lando
2019-06-13 08:40:42 +00:00
Bryce Van Dyk 70bcd7528f Bug 1536102 - P2: Add encryption scheme to MediaKeySystemMediaCapability dictionary. r=smaug
Add encryption scheme member to MediaKeySystemMediaCapability dict, but hide it
behind a pref as the behaviour involved is only proposed at this stage.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:19 +00:00
Andrea Marchesini 71965cc378 Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 5 - blob.stream(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33830

--HG--
extra : moz-landing-system : lando
2019-06-07 13:10:33 +00:00
Andrea Marchesini 884f6af60d Bug 1557121 - Implement Blob.text()/Blob.arrayBuffer()/Blob.stream() - part 4 - blob.text()/blob.arrayBuffer(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33829

--HG--
extra : moz-landing-system : lando
2019-06-07 13:10:16 +00:00
Zibi Braniecki 37d6923b94 Bug 1552714 - Merge L10nUtils.webidl into DOMOverlays.webidl. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33196

--HG--
extra : moz-landing-system : lando
2019-06-06 16:32:37 +00:00
Zibi Braniecki fdd3cb9cbd Bug 1552714 - Move DocumentL10n to dom/l10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32957

--HG--
rename : dom/webidl/DocumentL10n.webidl => dom/chrome-webidl/DocumentL10n.webidl
rename : intl/l10n/DocumentL10n.cpp => dom/l10n/DocumentL10n.cpp
rename : intl/l10n/DocumentL10n.h => dom/l10n/DocumentL10n.h
extra : moz-landing-system : lando
2019-06-06 16:31:44 +00:00
Zibi Braniecki 319ed7e3c9 Bug 1552714 - Extract DOMLocalization out of DocumentL10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32397

--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:25 +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
Mihai Alexandru Michis 153172de0c Merge inbound to mozilla-central. a=merge 2019-06-05 12:51:25 +03:00
Narcis Beleuzu 3c50127358 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-05 00:51:07 +03:00
Bogdan Tara af987b940c Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-04 19:10:28 +03: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
Jan Varga 67c1136dd9 Bug 1556217 - LSNG: Add a test for large items; r=asuth, smaug
Differential Revision: https://phabricator.services.mozilla.com/D33417
2019-06-02 08:00:25 +02:00
Andreas Pehrson d80077c20a Bug 1537986 - Add deviceId and groupId to all camera and microphone settings. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D32964

--HG--
extra : moz-landing-system : lando
2019-06-04 12:07:31 +00:00
Ehsan Akhgari 7a3585c49f Bug 1415270 - Part 3: Prevent the editing APIs from being called on non-HTML documents; r=masayuki
This is similar to this Chromium change:
https://codereview.chromium.org/1155353002

The editing spec doesn't mention editing non-HTML documents, and historically
this is only a feature that WebKit has supported.  Supporting this feature
increases the attack surface of the browser without a clear benefit, so it
seems like a good idea to converge on this behaviour.

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

--HG--
rename : testing/web-platform/tests/html/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/user-interaction-editing-designMode.html => testing/web-platform/tests/html/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/user-interaction-editing-designMode-xml.xml
extra : moz-landing-system : lando
2019-05-30 17:14:05 +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
Neil Deakin 302fa305ad Bug 1519948, remove XUL box objects, r=bzbarsky
--HG--
extra : rebase_source : 4af617fecf06512aed5882831e64e38d4e7e5e94
2019-06-04 12:45:55 -04:00
prathiksha 5752203326 Bug 1549561 - Expose attributes from nsITransportSecurityInfo to content for about certerror use. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30851

--HG--
extra : moz-landing-system : lando
2019-05-30 06:42:56 +00:00
Daosheng Mu fc4437c39c Bug 1523351 - Part 2: Add tests for GamepadTouch and GamepadLightIndicator. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29289

--HG--
extra : moz-landing-system : lando
2019-05-29 22:15:25 +00:00
Daosheng Mu 7b8a1cc7ba Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-29 22:44:24 +00:00
Daniel Varga b173205f5e Backed out 5 changesets (bug 1523351) for build bustage at builds/worker/workspace/build/src/dom/gamepad/GamepadRemapping.cpp on a CLOSED TREE
Backed out changeset 723d0a919d71 (bug 1523351)
Backed out changeset 13dcba81ff07 (bug 1523351)
Backed out changeset 6209717410be (bug 1523351)
Backed out changeset 80b34e6ce876 (bug 1523351)
Backed out changeset 7bdb7982c3af (bug 1523351)
2019-05-30 01:10:11 +03:00
Daosheng Mu 304abbd74d Bug 1523351 - Part 2: Add tests for GamepadTouch and GamepadLightIndicator. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29289

--HG--
extra : moz-landing-system : lando
2019-05-29 20:48:29 +00:00
Daosheng Mu f1193f9f17 Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-29 21:44:28 +00:00
Daniel Varga 943f938b03 Backed out 5 changesets (bug 1523351) for causing build bustage at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StaticPrefList.h on a CLOSED TREE
Backed out changeset 607b23dcc62a (bug 1523351)
Backed out changeset b8169dcf0631 (bug 1523351)
Backed out changeset 982cd43dc8d9 (bug 1523351)
Backed out changeset 053540f0b00a (bug 1523351)
Backed out changeset cac2a77abd09 (bug 1523351)
2019-05-29 23:45:15 +03:00
Daosheng Mu 8b44d0d2b9 Bug 1523351 - Part 2: Add tests for GamepadTouch and GamepadLightIndicator. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29289

--HG--
extra : moz-landing-system : lando
2019-05-22 05:54:43 +00:00
Daosheng Mu fc365d059b Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-23 05:36:31 +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
Tarek Ziadé c48befbb9c Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya
This patch structurizes the media debug information via webidl dictionaries
that are returned by HTMLMediaElement::GetMozRequestDebugInfo() and
MediaSource::GetMozDebugReaderData().

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

--HG--
extra : moz-landing-system : lando
2019-05-27 16:15:33 +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
Boris Zbarsky e379022658 Bug 1551282 and bug 1553436. Allow pages to override window.u2f but not the "sign" and "register" properties on the U2F object. r=jcj,smaug
There are two related problems this patch is trying to address.  The first, and
simpler, one is bug 1553436: there are websites that use existing variables and
functions named "u2f" and adding a non-replaceable readonly property with that
name on Window breaks them.  The fix for this is straightforward: mark the
property [Replaceable].

The second problem, covered by bug 1551282, involves sites that use the Google
U2F polyfill.  The relevant parts of that polyfill look like this:

  'use strict';
  var u2f = u2f || {};
  u2f.register = some_function_that_only_works_right_in_Chrome;
  u2f.sign = some_function_that_only_works_right_in_Chrome;

The failure mode for that code before this fix is that the assignment to "u2f"
throws because it's a readonly property and we're in strict mode, so any code
the page concatenates in the same file after the polyfill does not get run.
That's what bug 1551282 is about.  The [Replaceable] annotation fixes that
issue, because now the polyfill gets the value of window.u2f and then redefines
the property (via the [Replaceable] setter) to be a value property with that
value.  So far, so good.

But then we need to prevent the sets of u2f.register
and u2f.sign from taking effect, because if they are allowed to happen, the
actual sign/register functionality on the page will not work in Firefox.  We
can't just make the properties readonly, because then the sets will throw due
to being in strict mode, and we still have bug 1551282.  The proposed fix is to
make these accessor properties with a no-op setter, which is exactly what
[LenientSetter] gives us.

The rest of the patch is just setting up infrastructure for generating the
normal bits we would generate if "sign" and "register" were methods and using
that to create the JSFunctions at the point when the getter is called.  The
JSFunctions then get cached on the u2f instance object.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 20:40:59 +00:00
shindli 54646b5a7c Backed out changeset 823ab2e5430a (bug 1551282) for Windows build bustages CLOSED TREE 2019-05-24 21:15:20 +03:00
Boris Zbarsky cd062bb5d7 Bug 1551282 and bug 1553436. Allow pages to override window.u2f but not the "sign" and "register" properties on the U2F object. r=jcj,smaug
There are two related problems this patch is trying to address.  The first, and
simpler, one is bug 1553436: there are websites that use existing variables and
functions named "u2f" and adding a non-replaceable readonly property with that
name on Window breaks them.  The fix for this is straightforward: mark the
property [Replaceable].

The second problem, covered by bug 1551282, involves sites that use the Google
U2F polyfill.  The relevant parts of that polyfill look like this:

  'use strict';
  var u2f = u2f || {};
  u2f.register = some_function_that_only_works_right_in_Chrome;
  u2f.sign = some_function_that_only_works_right_in_Chrome;

The failure mode for that code before this fix is that the assignment to "u2f"
throws because it's a readonly property and we're in strict mode, so any code
the page concatenates in the same file after the polyfill does not get run.
That's what bug 1551282 is about.  The [Replaceable] annotation fixes that
issue, because now the polyfill gets the value of window.u2f and then redefines
the property (via the [Replaceable] setter) to be a value property with that
value.  So far, so good.

But then we need to prevent the sets of u2f.register
and u2f.sign from taking effect, because if they are allowed to happen, the
actual sign/register functionality on the page will not work in Firefox.  We
can't just make the properties readonly, because then the sets will throw due
to being in strict mode, and we still have bug 1551282.  The proposed fix is to
make these accessor properties with a no-op setter, which is exactly what
[LenientSetter] gives us.

The rest of the patch is just setting up infrastructure for generating the
normal bits we would generate if "sign" and "register" were methods and using
that to create the JSFunctions at the point when the getter is called.  The
JSFunctions then get cached on the u2f instance object.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 17:19:23 +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
Boris Zbarsky 471d7a508d Bug 1121623 part 3. Switch WebrtcGlobalInformation to being a namespace. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32201

--HG--
extra : moz-landing-system : lando
2019-05-24 07:22:22 +00:00
Boris Zbarsky d51859cb38 Bug 1121623 part 2. Switch AddonManagerPermissions to being a namespace. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32200

--HG--
extra : moz-landing-system : lando
2019-05-24 07:19:58 +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
Jeff Gilbert 047e98938e Bug 1536672 - Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot
Also disable clang-format for gfx/gl/GLConsts.h.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 20:48:21 +00:00
Mihai Alexandru Michis 354eec452c Backed out changeset a649f69f29df (bug 1536672) for failing crashtest at WebGLContextValidate.cpp. CLOSED TREE 2019-05-23 10:57:29 +03:00
Brian Birtles 5ca0980aea Bug 1553021 - Update naming of parameter to getAnimations to match spec; r=bzbarsky
As per spec text added here:

  cf3a00ee5c

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

--HG--
extra : moz-landing-system : lando
2019-05-22 05:40:36 +00:00
Jeff Gilbert fb7050f9bf Bug 1536672 - Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot
Also disable clang-format for gfx/gl/GLConsts.h.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 02:43:11 +00:00
Olli Pettay a1da896545 Bug 1480236 - Implement queueMicrotask(), r=baku
--HG--
extra : rebase_source : 38f0bb25142240bff9c8efba04f7acedfe4169e4
2019-05-24 11:27:03 +03:00
Christoph Kerschbaumer b633427366 Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D27654

--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +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
Gurzau Raul e0cadccc1d Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-20 16:49:58 +03:00
Brian Birtles 1254291373 Bug 1253476 - Make whitespace in Web Animations WebIDL definitions more consistent; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D30611

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:44 +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 cb3c791020 Bug 1253476 - Implement Animation::Persist; r=boris,bzbarsky
https://drafts.csswg.org/web-animations-1/#dom-animation-persist

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

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:22 +00:00
Brian Birtles 5b145a6de4 Bug 1253476 - Add remove events; r=boris,bzbarsky
This patch introduces the machinery for dispatching remove events but does not
actually cause removing to do anything to the output of the animation beyond
updating its replaceState member.

The expected behavior is defined in:

  https://drafts.csswg.org/web-animations-1/#removing-replaced-animations

And the corresponding IDL members are defined in:

  https://drafts.csswg.org/web-animations-1/#animation
  https://drafts.csswg.org/web-animations-1/#enumdef-animationreplacestate

Tests for these events are added in the next patch in this series.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 05:48:29 +00:00
Jonathan Watt c82b2f965b Bug 1430688. Add a documenting comment for MozFrameLoaderOwner. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D31355

--HG--
extra : rebase_source : 9d6e7e1e5d1a6cb2b60ad13f05cfcd8ed5a5d081
2019-05-08 12:47:19 +01:00
Mihai Alexandru Michis 4916ef8c09 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 12:36:07 +03:00
Micah Tigley f697388960 Bug 1357774 - Part 1: Add a 'SetCurrentRDMPaneOrientation' WebIDL extension on the Document r=bradwerth,smaug
Differential Revision: https://phabricator.services.mozilla.com/D29455

--HG--
extra : moz-landing-system : lando
2019-05-16 20:31:13 +00:00
Brindusan Cristian 3813765b9b Backed out changeset 90ff166702b5 (bug 1357774) for build bustages at AndroidHal.cpp. CLOSED TREE 2019-05-15 05:03:41 +03:00
Micah Tigley b3e2863b78 Bug 1357774 - Part 1: Add a 'SetCurrentRDMPaneOrientation' WebIDL extension on the Document r=bradwerth,smaug
Differential Revision: https://phabricator.services.mozilla.com/D29455

--HG--
extra : moz-landing-system : lando
2019-05-14 23:42:30 +00:00
Kyle Machulis d0cadc6c25 Bug 1540839 - Add Cross Origin Opener Policy case for BC preservation; r=nika
If we're doing a process switch due to the cross origin opener policy
being mismatched, we don't want to preserve the browsing context.

Differential Revision: https://phabricator.services.mozilla.com/D26392
2019-05-14 10:51:05 -07:00
Razvan Maries 1be8bab7d1 Backed out 8 changesets (bug 1540839) for build bustages. CLOSED TREE
Backed out changeset f7e477858ab7 (bug 1540839)
Backed out changeset 55e841a0f005 (bug 1540839)
Backed out changeset b71b58e40426 (bug 1540839)
Backed out changeset 484a54613358 (bug 1540839)
Backed out changeset b34c4d71f202 (bug 1540839)
Backed out changeset 8ff2ff524489 (bug 1540839)
Backed out changeset 27492a30286c (bug 1540839)
Backed out changeset f1c35e8e84f6 (bug 1540839)
2019-05-14 04:23:27 +03:00
Kyle Machulis 679ff7a37e Bug 1540839 - Add Cross Origin Opener Policy case for BC preservation; r=nika
If we're doing a process switch due to the cross origin opener policy
being mismatched, we don't want to preserve the browsing context.

Differential Revision: https://phabricator.services.mozilla.com/D26392
2019-05-13 17:58:45 -07:00
alwu 119f85db3a Bug 1536762 - part2 : use first line box's size as positioning basic unit. r=heycam,baku
According to the spec [1] 7.2.10.2, we should use the first line box's height or width as positioning unit to adjust box's position.

We will also use this value to adjust box when `snap-to-line` is false.

There, we implement a new chrome-only API to acquire this information, which would return the first line box's size in the `block` frame.

[1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-12

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

--HG--
extra : moz-landing-system : lando
2019-05-09 19:22:33 +00:00
alwu 9ea9ba3929 Bug 1536762 - part1 : use unscaled bounding box'size as a cue box's size. r=baku,heycam
When adjusting cue's position, the goal is to place cue boxes fully inside the rendering area, and place in the right place.

In order to check whether the box is correctly inside the rendering area, we have to know the correct size of the cue box.

Therefore, we implement the new chrome-only APIs to acquire this information (box's height and width), and this returned value won't be affected by CSS transformation, which is good for positioning.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 18:26:17 +00:00
Noemi Erli 34f9686f88 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-09 18:37:16 +03:00
Emilio Cobos Álvarez 23b7a280bf Bug 1545823 - Implement non-standard CSSStyleSheet.rules, CSSStyleSheet.addRule and CSSStyleSheet.removeRule. r=bzbarsky
It's not worth dying on this hill. Both Blink and WebKit pass the tests.

(Well, WebKit actually fails one of the latest ones I wrote, cssRules and rules
are not the same JS object, WebKit returns a new rule list. I'll file)

Spec PR in https://github.com/w3c/csswg-drafts/pull/3900.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:32:52 +00:00
Cameron McCormack d4d63edb8f Bug 1133175 - Remove SVGTests.hasExtension. r=bz,longsonr 2019-05-09 14:39:28 +10:00
Boris Chiou 7ab6e6d017 Bug 1545239 - Update ResizeObserver and ResizeObserverEntry. r=smaug,dholbert
In this patch, we support
1. content-box (default)
2. border-box

And let ResizeObserverEntry expose these box sizes.

Besides, we store the mLastReportedSize as the logical size.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:54:36 +00:00
alwu f07597087a Bug 1548731 - part1 : support 'cuechange' event. r=smaug
According to the spec [1], `oncuechange` is one of the `GlobalEventHandler`. This event could be fired on `Track` element or `TextTrack` [2].

We would dispatch this event when we run the `TimeMarchesOn` algorithm.

[1] https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncuechange
[2] https://html.spec.whatwg.org/multipage/media.html#event-media-cuechange
[3] https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:event-media-cuechange

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

--HG--
extra : moz-landing-system : lando
2019-05-07 11:21:29 +00:00
Edgar Chen 2167e86221 Bug 1362272 - Part 1: Add onrejectionhandled and onunhandledrejection EventHandler; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17237

--HG--
extra : moz-landing-system : lando
2019-04-24 11:15:27 +00:00
shindli 9134ad98fa Backed out changeset c386ebfd9c6b (bug 1542674) as per tarek's request on IRC 2019-05-07 15:07:27 +03:00
Alphan Chen d12fbd8633 Bug 1474130 - Implement ScrollPosition/Privacy/DocCapability listeners in C++ r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D23057

--HG--
extra : moz-landing-system : lando
2019-05-04 10:42:52 +00:00
Tarek Ziadé 446d5cdff7 Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug
This patch structurizes the media debug information via webidl dictionaries
that are returned by HTMLMediaElement::GetMozRequestDebugInfo() and
MediaSource::GetMozDebugReaderData().

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

--HG--
extra : moz-landing-system : lando
2019-05-06 16:39:58 +00:00
Frederik Braun 18a04317f0 Bug 1548773: Remove support for typemustmatch r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D29803

--HG--
extra : moz-landing-system : lando
2019-05-05 14:41:59 +00:00
Nico Grunbaum 705743fb99 Bug 1528078 - Adding WebRTC device access and deprecated interface telemetry r=jib,smaug
Adding telemetry for gUM, enumerate devices, and mozRTCPeerConnection

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

--HG--
extra : moz-landing-system : lando
2019-05-03 23:50:22 +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
Mike Conley a51a8650de Bug 1533955 - Fire oop-browser-crashed event again if a subframe crashes. r=nika
This also adds an isTopFrame attribute to the FrameCrashedEvent binding, which
returns true if the frame that crashed was the top-most one.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:04:50 +00:00
Jim Porter a480304779 Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch adds an ID to ensure that we avoid canceling content JS if the next
page already started loading by the time we're ready to try canceling the JS.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:31:46 +00:00
Jim Porter f9d5e48623 Bug 1493225, part 2 - Cancel content JS when navigating through history to prevent hangs r=smaug
In this part, we pass along the navigation type (and index for when using the
dropdown on the back/forward buttons). This allows us to check if there's a
top-level load "between" the start and end pages.

The patch might look a bit strange, since we're passing the navigation
operation to two places from RemoteWebNavigation.js (the normal message passing
that existed before this patch and the HangMonitor channel in this patch). This
is primarily to make it easier to stop passing the navigation info along the
HangMonitor channel once session history is uplifted into the parent process.
At that point, the check for whether there's a top-level load could happen in
TabParent (I think).

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:31:36 +00:00
Byron Campen [:bwc] f28444a083 Bug 1531803 - Part 6: Fire track events when that track has been added to a stream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D25799

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:03 +00:00
Byron Campen [:bwc] c95b46bd72 Bug 1531803 - Part 4: Remove some track-id-centric ChromeOnly API on RTCRtpTransceiver. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D25797

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:00 +00:00
Fariskhi Vidyan b2514b847b Bug 1272409 - Part 2: Add ResizeObserver webidl and implementation. r=dholbert,smaug
This implements the first version of spec, so the webidl file doesn't
match the current spec and we will fix them in the follow-up bugs.

i.e.
1. The default observer box is content-box.
2. `ResizeObserverBoxOptions`, `ResizeObserverOptions`, and `ResizeObserverSize`
   are not included in `ResizeObserver.webidl`.
3. `ResizeObserverEntry` doesn't have `borderBoxSize` and `contentBoxSize`
   attributes.

Depends on D27615

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

--HG--
extra : moz-landing-system : lando
2019-04-26 20:29:14 +00:00
Botond Ballo d33987f123 Bug 1529892 - Extend APZTestData with free-form additional data not grouped by paint or scroll frame. r=kats,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D28773

--HG--
extra : moz-landing-system : lando
2019-04-26 05:10:44 +00:00
Daniel Varga 46db25d004 Backed out 5 changesets (bug 1272409) for build bustage at /builds/worker/workspace/build/src/dom/base/nsGlobalWindowCommands. On a CLOSED TREE
Backed out changeset 2ad8260489d6 (bug 1272409)
Backed out changeset 224dad4cbdc3 (bug 1272409)
Backed out changeset 72775dbf35c8 (bug 1272409)
Backed out changeset c331a4a8b343 (bug 1272409)
Backed out changeset d817fbfc52b6 (bug 1272409)
2019-04-26 02:41:43 +03:00
Byron Campen [:bwc] 79f14c2299 Bug 1529595: Remove "token" from RTCIceCredentialType, re-enable a web-platform-test, and fix a mochitest. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D28496

--HG--
extra : moz-landing-system : lando
2019-04-25 20:58:12 +00:00
Fariskhi Vidyan 3d0af6e0c6 Bug 1272409 - Part 2: Add ResizeObserver webidl and implementation. r=dholbert,smaug
This implements the first version of spec, so the webidl file doesn't
match the current spec and we will fix them in the follow-up bugs.

i.e.
1. The default observer box is content-box.
2. `ResizeObserverBoxOptions`, `ResizeObserverOptions`, and `ResizeObserverSize`
   are not included in `ResizeObserver.webidl`.
3. `ResizeObserverEntry` doesn't have `borderBoxSize` and `contentBoxSize`
   attributes.

Depends on D27615

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:06 +00:00
Gurzau Raul dc61b90737 Merge inbound to mozilla-central. a=merge 2019-04-25 19:19:37 +03:00
Marcos Cáceres 0e6e3ef889 Bug 1546859 add requestSecurityCode member to BasicCardRequest r=baku
the requestSecurityCode allows merchants to opt out of requiring a CVV from a credit card.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 07:47:36 +00:00
Zibi Braniecki 0e59a5d8f4 Bug 1544118 - Move nsINode::localize to use DocumentL10n::TranslateFragment. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D28269

--HG--
extra : moz-landing-system : lando
2019-04-24 10:35:37 +00:00
Brindusan Cristian e6bfbdb99f Backed out changeset a72c9df6c09a (bug 1527287) for build bustages at BrowserElementParent.cpp. CLOSED TREE 2019-04-25 03:15:59 +03:00
Ehsan Akhgari 691bad31ac Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28396

--HG--
extra : moz-landing-system : lando
2019-04-24 23:50:40 +00:00
Ehsan Akhgari 7b7c739afe Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28396
2019-04-24 20:29:19 -04:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Coroiu Cristina 33d59a9c32 Backed out 4 changesets (bug 1493225) for browser-chrome failures with application terminated with exit code 2147483651 on a CLOSED TREE
Backed out changeset 62ee0aed9e59 (bug 1493225)
Backed out changeset 3537b8f8d38a (bug 1493225)
Backed out changeset 1de539e8f568 (bug 1493225)
Backed out changeset e9c116dba541 (bug 1493225)
2019-04-19 23:55:50 +03:00
Jim Porter 7f3f2e49dc Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch adds an ID to ensure that we avoid canceling content JS if the next
page already started loading by the time we're ready to try canceling the JS.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:45 +00:00
Jim Porter dcf852821e Bug 1493225, part 2 - Cancel content JS when navigating through history to prevent hangs r=smaug
In this part, we pass along the navigation type (and index for when using the
dropdown on the back/forward buttons). This allows us to check if there's a
top-level load "between" the start and end pages.

The patch might look a bit strange, since we're passing the navigation
operation to two places from RemoteWebNavigation.js (the normal message passing
that existed before this patch and the HangMonitor channel in this patch). This
is primarily to make it easier to stop passing the navigation info along the
HangMonitor channel once session history is uplifted into the parent process.
At that point, the check for whether there's a top-level load could happen in
TabParent (I think).

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

--HG--
extra : moz-landing-system : lando
2019-04-18 19:53:34 +00:00
Emilio Cobos Álvarez ca33d8548f Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky
...instead of forwarding to the sheet like HTMLStyleElement does.

I've proposed this behavior in:

  https://github.com/whatwg/html/issues/3840#issuecomment-480894419

I think this is one of the sane behaviors we can have, what Blink / WebKit do
makes no sense to me.

Alternative potentially-sane behavior is making the initial value of the
stylesheet's disabled bit the same as the content attribute, and both reflect
and forward the attribute from the setter.

That means that setAttribute does something different than setting `disabled`,
which means that you can get into all sorts of funny states when reloading the
sheet... So I rather not do that.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 13:31:05 +00:00
Noemi Erli 9d4b8e45ab Backed out changeset ef991fe893a4 (bug 1281135) for failures in browser_bug839103.js 2019-04-19 09:18:03 +03:00
Emilio Cobos Álvarez 60a57d4109 Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky
...instead of forwarding to the sheet like HTMLStyleElement does.

I've proposed this behavior in:

  https://github.com/whatwg/html/issues/3840#issuecomment-480894419

I think this is one of the sane behaviors we can have, what Blink / WebKit do
makes no sense to me.

Alternative potentially-sane behavior is making the initial value of the
stylesheet's disabled bit the same as the content attribute, and both reflect
and forward the attribute from the setter.

That means that setAttribute does something different than setting `disabled`,
which means that you can get into all sorts of funny states when reloading the
sheet... So I rather not do that.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 07:48:55 +00:00
Ehsan Akhgari da503ca590 Bug 144795 - Move HTMLDocument.cookie getter/setter to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27931

--HG--
extra : moz-landing-system : lando
2019-04-18 08:55:00 +00:00
Ehsan Akhgari 1fd9b49041 Bug 1328138 - Disable the XMLDocument.async API on trunk; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27730

--HG--
extra : moz-landing-system : lando
2019-04-17 19:46:05 +00:00
Ehsan Akhgari 7275a59f14 Bug 332175 - Disable the XMLDocument.load() API on trunk; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27729

--HG--
extra : moz-landing-system : lando
2019-04-17 19:37:10 +00:00
Nika Layzell bc80781e67 Bug 1539163 - Part 1: support resuming load after process switch, r=qdot
This adds a codepath to the process switching logic to, rather than triggering
a fresh load, resume a process switching load.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:28 +00:00
Brendan Dahl 68f5e2a804 Bug 1533883 - Add webidl definition for checking if document was loaded with prototype. r=smaug
Needed for testing to ensure the prototype was used.

Depends on D27744

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

--HG--
extra : moz-landing-system : lando
2019-04-16 18:15:04 +00:00
Byron Campen [:bwc] cfe3ac0d84 Bug 1531904 - Part 1: webidl updates. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D26770

--HG--
extra : moz-landing-system : lando
2019-04-16 16:38:13 +00:00
Mike Conley 3cebfb583c Bug 1543122 - Add a privileged UAWidget-accessible WebIDL API for triggering Picture-in-Picture. r=jya,Ehsan
Depends on D26776

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:33 +00:00
Csoregi Natalia 9e8043e236 Backed out 10 changesets (bug 1542756, bug 1543128, bug 1543122) for multiple media failures /test_setSinkId.html. CLOSED TREE
Backed out changeset ce3a15e1b737 (bug 1543128)
Backed out changeset cea8c1af70ad (bug 1543128)
Backed out changeset aeb23f8f45fb (bug 1543128)
Backed out changeset a2e73d143aba (bug 1543128)
Backed out changeset 1692fc6491a0 (bug 1543128)
Backed out changeset 9fbce4274cfd (bug 1542756)
Backed out changeset 20092bcebe6a (bug 1543122)
Backed out changeset 1645d577016c (bug 1543122)
Backed out changeset 3fce0b7586c1 (bug 1543122)
Backed out changeset aab68db4131b (bug 1543122)
2019-04-13 06:22:47 +03:00
Mike Conley b5797d9c16 Bug 1543122 - Add a privileged UAWidget-accessible WebIDL API for triggering Picture-in-Picture. r=jya,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26777

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:20 +00:00
Will Hawkins 4e47836648 Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=mstange,baku
Differential Revision: https://phabricator.services.mozilla.com/D27008

--HG--
extra : moz-landing-system : lando
2019-04-12 16:29:48 +00:00
Mirko Brodesser ed491dbad1 Bug 1374045: add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method r=smaug
- Remove expectation that 'preventScroll.html' fails.

- Use '[NoInterfaceObject] interface' workaround to simulate missing 'mixin' support.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:16:47 +00:00
Andrea Marchesini a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Karl Tomlinson e4131b866f Bug 1542932 Change define() parameter functionConstructor from Function to CustomElementConstructor r=bzbarsky
Depends on D26867

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

--HG--
extra : moz-landing-system : lando
2019-04-10 15:45:11 +00:00
Karl Tomlinson 9e68172512 bug 1542932 Generate CustomElementConstructor from WebIDL callback definition r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26867

--HG--
extra : moz-landing-system : lando
2019-04-11 23:05:10 +00:00
Cosmin Sabou af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Andrea Marchesini 5cfeeda19e Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Kartikaya Gupta 937b89a55a Bug 1542019 - Split the dispatch-to-content flag into three. r=botond,hsivonen
This patch extracts two additional CompositorHitTestInfo flags from the
eDispatchToContent flag; eApzAwareListeners for elements that have
APZ-aware listeners, and eInactiveScrollframe for inactive scrollframe
or unlayerized scrollthumbs. The eDispatchToContent is then renamed to
eIrregularArea to reflect the fact that it is used for irregular-shaped
areas that require main-thread hit-testing.

Additionally, it is important to note that when using the non-WebRender
codepath, all three of these flags still end up gettings squashed into
the "dispatch to content" region on the EventRegions; when APZ
reconstructs a CompositorHitTestInfo it will turn anything in this
region back into an eIrregularArea. So this is a lossy round-trip
conversion for the non-WebRender case. However it should still result in
correct behaviour because the semantics of eIrregularArea result in APZ
relying on the main-thread to do hit-testing and so any APZ-aware
listeners and inactive scrollframes are also handled by the main-thread.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 13:31:53 +00:00
Léo Paquet 7c036d7475 Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
MozReview-Commit-ID: IdVqfNigMyu

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

--HG--
extra : moz-landing-system : lando
2019-04-10 12:14:17 +00:00
Sebastian Hengst 8cf98c5a84 Bug 1541017 - Update in-tree bugzilla components for geolocation and dom/commandhandler/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D25762

--HG--
extra : moz-landing-system : lando
2019-04-02 16:39:03 +00:00
Bogdan Tara 3b6c73d88a Backed out changeset 3cd097a7b017 (bug 1539006) for po-observe.any.worker.html failures CLOSED TREE 2019-04-10 09:48:56 +03:00
Will Hawkins bfba5b52bb Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D26654

--HG--
extra : moz-landing-system : lando
2019-04-10 00:14:39 +00:00
Ciure Andrei 0dc8cf16eb Backed out changeset e04ef5171459 (bug 1539006) for permafailing test_worker_observer.html CLOSED TREE 2019-04-09 06:32:40 +03:00
Will Hawkins 9833f90a1f Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25426

--HG--
extra : moz-landing-system : lando
2019-04-09 00:43:10 +00:00
Nika Layzell 91f0500959 Bug 1542781 - Expose browsingContext on FrameLoaderOwner, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D26548

--HG--
extra : moz-landing-system : lando
2019-04-08 16:27:28 +00:00
Mike Conley a2494f98e9 Bug 1540845 - Pass the browsing context ID through the event fired when oop frames crash. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25843

--HG--
extra : moz-landing-system : lando
2019-04-04 13:38:51 +00:00
Andreea Pavel 8633610e74 Backed out 2 changesets (bug 1324548) for failing wpt at idlharness.https.window.html on a CLOSED TREE
Backed out changeset 055578135fba (bug 1324548)
Backed out changeset 7aefaab277fe (bug 1324548)
2019-04-03 23:18:19 +03:00
Léo Paquet d761d81c93 Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
MozReview-Commit-ID: IdVqfNigMyu

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:01:38 +00:00
Dorel Luca 47b5923c5b Backed out 2 changesets (bug 1324548) for Mochitest failures in dom/tests/mochitest/general/test_interfaces.html. CLOSED TREE
Backed out changeset fda93e03e469 (bug 1324548)
Backed out changeset 8e6135544e33 (bug 1324548)
2019-04-03 18:54:05 +03:00
Léo Paquet 13ed118524 Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
MozReview-Commit-ID: IdVqfNigMyu

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

--HG--
extra : moz-landing-system : lando
2019-04-03 14:00:28 +00:00
Daniel Varga 14dc5b7d8a Merge mozilla-inbound to mozilla-central. a=merge 2019-04-03 09:05:41 +03:00
Thomas Wisniewski c57ed64e58 Bug 1120171 - remove support for XMLHttpRequest moz-chunked-arraybuffer response type; r=baku
remove support for XMLHttpRequest moz-chunked-arraybuffer response type

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:16:40 +00:00
Brindusan Cristian 759809db7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-02 18:49:21 +03:00
Andrew Osmond dbfad894d9 Bug 1501794 - Implement img decode API. r=bzbarsky,tnikkel
The img decode API allows a web author to request that an image be
decoded at its intrinsic size and be notified when it has been
completed. This is useful to ensure an image is ready to display before
adding it to the DOM tree -- this will help reduce flickering.

Differential Revision: https://phabricator.services.mozilla.com/D11362
2019-04-02 08:56:54 -04:00
Olli Pettay ab42137d71 Bug 1538794, add AnonymousContent.getTargetIdForEvent to be able to detect the event target in anonymous content, r=baku
Differential Revision: https://phabricator.services.mozilla.com//D24955

--HG--
extra : rebase_source : 85fd7443f018b0733826f316e3d79eaa93bac02d
extra : amend_source : c330a92b8c237c6464afb279ef9ffe69e4ce3baa
2019-03-26 21:40:29 +02:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Byron Campen [:bwc] f90be4b8f4 Bug 1536631 - Part 1: Pass the necessary information to JS to build the appropriate errors to reject with. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D25146

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:18 +00:00
Masayuki Nakano e28c807e5a Bug 1533989 - Make InputEvent.data and InputEvent.dataTransfer not expose clipboard data if user disables clipboard events r=smaug
If user disables clipboard events, it means that they don't want to expose
clipboard data to web apps even if web apps cannot handle "paste" operation.
Therefore, they must not want to leak clipboard data with `InputEvent.data`
and `InputEvent.dataTransfer`.

This patch makes `InputEvent::GetData()` and `InputEvent::GetDataTransfer()`
returns empty string or new `DataTransfer` object which has only empty string
if:
- They are called by content JS.
- The event is a trusted event.
- `inputType` value is `insertFromPaste` or `insertFromPasteAsQuotation`.

The reason why we don't return null for both is, Input Events spec declares
`data` or `dataTransfer` shouldn't be null in the `inputType` values.  And
the reason why we don't return empty `DataTransfer` is, web apps may expect
at least one data is stored in non-null `dataTransfer` value.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:08:11 +00:00
Liang-Heng Chen 624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

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

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Sebastian Streich 82fb5d3ddf Bug 1386214 - Remove require-sri from the CSP-Module r=ckerschb,qdot
Differential Revision: https://phabricator.services.mozilla.com/D24880

--HG--
extra : moz-landing-system : lando
2019-03-26 21:58:48 +00:00
Nico Grunbaum 32257b8b2e Bug 1531494 - remove all unimplemented RTCStats types from the WebIDL and prune related dead code r=bwc,smaug
This removes all the unimplemented RTCStats types from RTCStatsReport.webidl and deletes the related code

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

--HG--
extra : moz-landing-system : lando
2019-03-26 17:21:02 +00:00
Cosmin Sabou 78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Eden Chuang 5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Nico Grunbaum f7e4ecddf4 Bug 1515716 - refactor the RTC RTP stats types to match spec r=jib,smaug
realigning the RTP stats types to match spec. This involves breaking out the remote dictionary types. This shouldn't create user space visible changes.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 06:06:36 +00:00
Marcos Cáceres 836cdca53a Bug 1538526 - Set BasicCardResponse defaults in IDL. r=baku
update to match spec. This is a refactor.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 23:40:23 +00:00
Marcos Cáceres 5278a7fde8 Bug 1538067 BasicCardRequest's supportedNetworks must default to = []. r=baku
update implementation to match spec.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:10 +00:00
Boris Zbarsky 6ef9105d1f Bug 1535384 part 13. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from IdleRequestCallback. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D23784

--HG--
extra : moz-landing-system : lando
2019-03-19 07:22:05 +00:00
Boris Zbarsky 9c586db495 Bug 1535384 part 12. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from FrameRequestCallback. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23783

--HG--
extra : moz-landing-system : lando
2019-03-19 16:02:12 +00:00
Boris Zbarsky 960ef74fa8 Bug 1535384 part 11. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for getUserMedia callbacks. r=jib
nsIDOMGetUserMediaErrorCallback, nsIDOMGetUserMediaSuccessCallback,
and nsIGetUserMediaDevicesSuccessCallback were completely unused, so
they could just go away and all the code got simpler.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:46 +00:00
Boris Zbarsky b21a31cc49 Bug 1535384 part 10. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for FontFaceSetForEachCallback. r=heycam
This code should all go away (bug 1311198), but in the meantime...

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

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:18 +00:00
Boris Zbarsky 5869bb7df1 Bug 1535384 part 9. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for u2f callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23780

--HG--
extra : moz-landing-system : lando
2019-03-19 20:53:55 +00:00
Boris Zbarsky 3cd3acc695 Bug 1535384 part 8. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for Web IDL Function. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23779

--HG--
extra : moz-landing-system : lando
2019-03-19 20:52:03 +00:00
Boris Zbarsky 295d09cba1 Bug 1535384 part 7. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for filesystem callbacks. r=mccr8
I'm a bit torn between the const-member-and-MOZ_KnownLive approach
here and just taking extra stack refs...

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:53:43 +00:00
Boris Zbarsky ae274eb82a Bug 1535384 part 6. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for webaudio callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23777

--HG--
extra : moz-landing-system : lando
2019-03-19 04:34:42 +00:00
Boris Zbarsky 10d7ccf23e Bug 1535384 part 5. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for mutation callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23776

--HG--
extra : moz-landing-system : lando
2019-03-19 15:14:11 +00:00
Boris Zbarsky adec753d03 Bug 1535384 part 4. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for the reporting observer callback. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23775

--HG--
extra : moz-landing-system : lando
2019-03-19 04:33:54 +00:00
Boris Zbarsky 1443d56a82 Bug 1535384 part 3. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on console callbacks. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23774

--HG--
extra : moz-landing-system : lando
2019-03-19 04:33:32 +00:00
Boris Zbarsky f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Boris Zbarsky 1c3e10afc5 Bug 1535384 part 1. Eliminate some easy cases of MOZ_CAN_RUN_SCRIPT_BOUNDARY on webidl callbacks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D23771

--HG--
extra : moz-landing-system : lando
2019-03-19 05:24:39 +00:00
Boris Zbarsky 5539520106 Bug 1535124 part 3. Add MOZ_CAN_RUN_SCRIPT annotations to geolocation code as needed. r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D23521

--HG--
extra : moz-landing-system : lando
2019-03-20 18:05:09 +00:00
Boris Zbarsky a998830a71 Bug 1535124 part 2. Mark Web IDL callbacks MOZ_CAN_RUN_SCRIPT by default. r=qdot
We add a [MOZ_CAN_RUN_SCRIPT_BOUNDARY] opt-out for now to keep the tree
compiling.  The naming purposefully matches the C++ annotation that has a
similar effect, top make it easy to search for.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 12:59:54 +00:00
Byron Campen [:bwc] dbdab2a71c Bug 1318167 - Part 1: Give RTCIceCandidateInit.candidate a default value. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D23219

--HG--
extra : moz-landing-system : lando
2019-03-19 16:48:06 +00:00
Mirko Brodesser 48b39e6cf7 Bug 1165211: Add UseCounter for 'MouseEvent.mozPressure' and deprecate it. r=alchen,smaug
Differential Revision: https://phabricator.services.mozilla.com/D22302

--HG--
extra : moz-landing-system : lando
2019-03-15 08:57:39 +00:00
Brad Werth 642e907b47 Bug 1501665 Part 1: Add a webidl property to Document to track if it's in an RDM pane. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19235

--HG--
extra : source : be1026de486b096cee639ca584b1e8108c4b73cb
2019-03-18 14:55:51 +00:00
shindli b7de66af4f Backed out 13 changesets (bug 1501665) for failing a11y tests in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset 2fa518cb0dfc (bug 1501665)
Backed out changeset afaf26d7df42 (bug 1501665)
Backed out changeset 5bdf0ad9dc66 (bug 1501665)
Backed out changeset 520dd24a73fc (bug 1501665)
Backed out changeset 3542bf2b89dd (bug 1501665)
Backed out changeset 088dc24eabc7 (bug 1501665)
Backed out changeset 178210eb72ba (bug 1501665)
Backed out changeset 9eebe767ef20 (bug 1501665)
Backed out changeset 6a84e97d0e62 (bug 1501665)
Backed out changeset cf42ea4e8443 (bug 1501665)
Backed out changeset 731d7ee06d86 (bug 1501665)
Backed out changeset 8e0afe4a041a (bug 1501665)
Backed out changeset be1026de486b (bug 1501665)
2019-03-18 18:08:58 +02:00
Brad Werth 69aed38635 Bug 1501665 Part 1: Add a webidl property to Document to track if it's in an RDM pane. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19235

--HG--
extra : moz-landing-system : lando
2019-03-18 14:55:51 +00:00
Sebastian Hengst cee711baf9 Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
Differential Revision: https://phabricator.services.mozilla.com/D23546

--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Emilio Cobos Álvarez cc63c03558 Bug 1535438 - Remove Shadow DOM v0 APIs. r=smaug
Looks like these three APIs slipped through when shipping v1, but no other
vendor supports them, so no reason to be here.

I don't think there's any harm in letting the implementations keep living in
DocumentOrShadowRoot, but let me know if you think otherwise and I'll move them
to Document.

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

--HG--
extra : moz-landing-system : lando
2019-03-16 00:14:57 +00:00
Oana Pop Rus 068138c1f5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-15 18:43:00 +02:00
Zibi Braniecki 20e3e4f215 Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com//D23244

--HG--
extra : histedit_source : 7278710f71d900dfdedcf68abbf8315f05cd44c6
2019-03-13 00:24:41 +00:00
Byron Campen [:bwc] 3e19e8dd6a Bug 1531811 - Part 1: Remove onremovestream from RTCPeerConnection. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D23210

--HG--
extra : moz-landing-system : lando
2019-03-15 14:22:02 +00:00
Noemi Erli 7bc2246314 Backed out changeset f8fa30e286ff (bug 1531811) for RTCPeerConnection related failures CLOSED TREE 2019-03-15 16:05:58 +02:00
Byron Campen [:bwc] 931a6ef4b3 Bug 1531811 - Part 1: Remove onremovestream from RTCPeerConnection. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D23210

--HG--
extra : moz-landing-system : lando
2019-03-13 14:53:22 +00:00
Kyle Machulis 514400e811 Bug 1522713 - Allow updating of Frameloader Remoteness via FrameLoaderOwner; r=nika
Adds a method for to nsFrameLoaderOwner destroying and rebuilding a
FrameLoader in order to facilitate a process switch. Method works
without requiring that the work be done in the frontend.

Depends on D22789

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

--HG--
extra : moz-landing-system : lando
2019-03-14 01:25:07 +00:00
Byron Campen [:bwc] 4be383c835 Bug 1531084 - Part 2: Update webidl to have a default value for selector, according to spec. r=smaug
Depends on D23053

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

--HG--
extra : moz-landing-system : lando
2019-03-12 00:02:40 +00:00
Gurzau Raul cd795da219 Backed out 2 changesets (bug 1532712) for mochitest failures at browser_policy_set_homepage.js on a CLOSED TREE.
Backed out changeset 1af088f5fc34 (bug 1532712)
Backed out changeset 5fb5272aec8e (bug 1532712)
2019-03-13 21:18:53 +02:00
Zibi Braniecki 54254e08a5 Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D23244

--HG--
extra : moz-landing-system : lando
2019-03-13 16:39:41 +00:00
Mike Conley fbb2da4355 Bug 1531101 - Add method for stopping visual cloning of a video, and a read-only property to check cloning state. r=jya,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D22160

--HG--
extra : moz-landing-system : lando
2019-03-13 01:43:07 +00:00
Byron Campen [:bwc] c630882575 Bug 1531156 - Part 2: Some code simplification that part 1 lets us do. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D22209

--HG--
extra : moz-landing-system : lando
2019-03-11 21:01:21 +00:00
Dorel Luca 8d4d6ee416 Backed out 6 changesets (bug 1531101) for Mochitest failure in toolkit/content/tests/widgets/test_videocontrols_error.html. CLOSED TREE
Backed out changeset 10e9bbf2d1df (bug 1531101)
Backed out changeset 44d96bcc51f7 (bug 1531101)
Backed out changeset 4a4b44c3481a (bug 1531101)
Backed out changeset 12bcda2d76db (bug 1531101)
Backed out changeset 5887b55233c2 (bug 1531101)
Backed out changeset 13a0c61ed4fc (bug 1531101)
2019-03-12 02:04:54 +02:00
Mike Conley 9508ea09b9 Bug 1531101 - Add method for stopping visual cloning of a video, and a read-only property to check cloning state. r=jya,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D22160

--HG--
extra : moz-landing-system : lando
2019-03-11 22:45:44 +00:00
Byron Campen [:bwc] c33b5e6569 Bug 1490658: Support RTCIceCandidate.usernameFragment. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D21803

--HG--
extra : moz-landing-system : lando
2019-03-08 15:24:27 +00:00
Neil Deakin b1a0d8a2a9 Bug 1519960, add a previousColumn property for tree columns so that tree drag and drop will work without box objects, r=bzbarsky
--HG--
extra : rebase_source : 35a235ee1119308021685d173c6b6d7487481f5b
2019-03-07 17:57:18 -05:00
Olli Pettay 37d309e927 Bug 1412485, disable legacy touch APIs on desktop, r=masayuki
Hiding document.createEvent("TouchEvent"), document.createTouch, document.createTouchList and ontouch* event
handlers on desktop to follow what Chrome has done.
This patch explicitly does not remove createTouch or createTouchList everywhere, although those seem to have been
removing already on some other browsers.
Devtools use TOUCHEVENTS_OVERRIDE_ENABLED for touch event testing, and this patch keeps the old behavior per discussion
with devtools devs.

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

--HG--
extra : rebase_source : 562588a289632ba2f11db7f3ac8782c26c3b05f8
2019-03-04 13:35:53 +02:00
Boris Zbarsky fee4435d19 Bug 1532351. Remove idle observer API on navigator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D22029

--HG--
extra : moz-landing-system : lando
2019-03-05 08:32:57 +00:00
Manish Goregaokar 8d9735ff94 Bug 1359269 - Part 10: Make it a hard error to apply TreatNullAs on non-types; r=bzbarsky
Depends on D20060

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

--HG--
extra : moz-landing-system : lando
2019-03-02 04:22:05 +00:00
Manish Goregaokar aa95e97459 Bug 1359269 - Part 8: Make it a hard error to apply type attributes on arguments, attrs, and dict members when it's unambiguous, update webidls; r=bzbarsky
Depends on D20058

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

--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:50 +00:00
Manish Goregaokar 2df29133e8 Bug 1359269 - Part 5: Add support for attributes on types in arguments; r=bzbarsky
Depends on D19736

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

--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:33 +00:00
Manish Goregaokar a3642fd081 Bug 1359269 - Part 4: Update HTML spec idl files to use attributes on types; r=bzbarsky
See https://github.com/whatwg/html/pull/2580

Depends on D19735

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

--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:31 +00:00
Dorel Luca d66ca2b25b Backed out 11 changesets (bug 1359269) for Linting failure. CLOSED TREE
Backed out changeset 00461a29f650 (bug 1359269)
Backed out changeset 6c09eccc4bd1 (bug 1359269)
Backed out changeset ae30401e7988 (bug 1359269)
Backed out changeset 8f9509e82439 (bug 1359269)
Backed out changeset bfb153c7f9c3 (bug 1359269)
Backed out changeset 1430913c5e9e (bug 1359269)
Backed out changeset 4bb00dc53459 (bug 1359269)
Backed out changeset 7705b1ebb154 (bug 1359269)
Backed out changeset 7fd8a3c1f827 (bug 1359269)
Backed out changeset c3f37539cb31 (bug 1359269)
Backed out changeset bb694b612b1b (bug 1359269)
2019-03-02 04:07:00 +02:00