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

6236 Коммитов

Автор SHA1 Сообщение Дата
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