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

6467 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau 068927599a Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky
This mostly updates the bindings to the current state.
No actual logic backing them yet.

*Note*: the IDL does *not* need to be checked for matching the upstream spec precisely at this stage. The upstream is evolving, we just need to update in order to start integrating the implementation. What needs to be checked is - how C++ represents the IDL, esp with regards to derived classes, events, and hierarchies.

The trickiest points, arguably, are:
  - WebGPU -> GPU prefix change
  - the goop for interfaces that are not final

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

--HG--
rename : dom/webgpu/InputState.cpp => dom/webgpu/DeviceLostInfo.cpp
rename : dom/webgpu/Fence.h => dom/webgpu/DeviceLostInfo.h
rename : dom/webgpu/BlendState.cpp => dom/webgpu/OutOfMemoryError.cpp
rename : dom/webgpu/LogEntry.h => dom/webgpu/OutOfMemoryError.h
rename : dom/webgpu/BindGroup.h => dom/webgpu/ProgrammablePassEncoder.cpp
rename : dom/webgpu/BlendState.cpp => dom/webgpu/RenderBundle.cpp
rename : dom/webgpu/BlendState.h => dom/webgpu/RenderBundle.h
rename : dom/webgpu/AttachmentState.cpp => dom/webgpu/ValidationError.cpp
rename : dom/webgpu/AttachmentState.h => dom/webgpu/ValidationError.h
extra : moz-landing-system : lando
2019-10-02 01:42:07 +00:00
Mike Conley a220f3e4c9 Bug 1583882 - Remove vestigial TogglePictureInPicture privileged method on HTMLVideoElement. r=webidl,dminor,smaug*
Differential Revision: https://phabricator.services.mozilla.com/D47611

--HG--
extra : moz-landing-system : lando
2019-09-30 15:34:43 +00:00
longsonr 5d5b232ad8 Bug 1584852 - Convert SVGZoomAndPan to mixin r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47561

--HG--
extra : moz-landing-system : lando
2019-09-30 02:50:41 +00:00
Boris Zbarsky e5497b955e Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar
For review purposes, the important changes are in dom/bindings/Configuration.py
and dom/bindings/parser.

The changes to the IDL files were done by running these in dom/webidl
and dom/bindings/test:

  perl -pi -e 's/^interface ([A-Za-z0-9_]+)($| [:{])/[Exposed=Window]\ninterface \1\2/' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor\]\n\[Exposed=Window\]/[HTMLConstructor,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[NoInterfaceObject\]\n\[Exposed=Window\]/[NoInterfaceObject,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\n\[Exposed=Window\]/[ChromeOnly,\n Exposed=Window]/g' *.webidl

And running this in dom/chrome-webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\ninterface/[ChromeOnly, Exposed=Window]\ninterface/g' *.webidl

and then fixing all the resulting parser failures.  I then verified that the
generated code is the same as before this change.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 15:26:14 +00:00
Coroiu Cristina 1cea1cebca Backed out changeset f065877ca676 (bug 1441976) for wpt failures at battery-status/battery-interface-idlharness.https.window.html on a CLOSED TREE 2019-09-27 00:24:29 +03:00
Jonathan Kingston 9ea38e2699 Bug 1441976 - Expose BatteryManager only to Chrome scripts r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47081

--HG--
extra : moz-landing-system : lando
2019-09-26 19:19:13 +00:00
Sean Feng 660aac23aa Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG--
extra : moz-landing-system : lando
2019-09-14 00:09:44 +00:00
Boris Zbarsky e52521c921 Bug 1574195 part 4. Switch remaining users of IDL "implements" over to mixin syntax. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D46523

--HG--
extra : moz-landing-system : lando
2019-09-24 15:22:26 +00:00
Boris Zbarsky adcd36b901 Bug 1574195 part 3. Switch XPathEvaluator to using IDL mixins. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D46522

--HG--
extra : moz-landing-system : lando
2019-09-24 10:10:47 +00:00
Boris Zbarsky 3f72fbb470 Bug 1574195 part 2. Switch key event interfaces to IDL mixins. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D46521

--HG--
extra : moz-landing-system : lando
2019-09-20 01:50:49 +00:00
Boris Zbarsky 222487304c Bug 1580014. Don't force methods into the "can throw any exception" bucket just because they always return a new JS object. r=peterv
Instead, mark them as "can OOM", since we have that concept now.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 08:51:47 +00:00
Edgar Chen a159f19187 Bug 1578355 - Part 3: Add the ability to consume transient user activation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45353

--HG--
extra : moz-landing-system : lando
2019-09-20 11:10:13 +00:00
Daniel Varga bc19cdb06d Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen 288ff16a76 Bug 1578355 - Part 3: Add the ability to consume transient user activation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45353

--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:59 +00:00
Henri Sivonen 75e563c076 Bug 1561573 - Avoid linearization and inflation to UTF-16 of the string input to TextEncoder. r=jandem,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D44121

--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:52 +00:00
prathiksha 3e3db51f40 Bug 1561443 - Expose error code string to about:neterror with webidl. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45540

--HG--
extra : moz-landing-system : lando
2019-09-17 07:51:57 +00:00
J.C. Jones 51aefb37d2 Bug 1573245 - Change AuthenticatorTransport to be string, not `enum` r=bzbarsky,keeler
Upstream: https://github.com/w3c/webauthn/issues/1268

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

--HG--
extra : moz-landing-system : lando
2019-09-17 07:50:44 +00:00
Gurzau Raul 1d0e84d2ec Backed out 2 changesets (bug 1573245) for Windows build bustages at WebAuthnManager.cpp on a CLOSED TREE.
Backed out changeset 0bf953d07a4f (bug 1573245)
Backed out changeset cfdf258c11ae (bug 1573245)
2019-09-17 08:40:27 +03:00
J.C. Jones 8cc2abfd2a Bug 1573245 - Change AuthenticatorTransport to be string, not `enum` r=bzbarsky,keeler
Upstream: https://github.com/w3c/webauthn/issues/1268

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

--HG--
extra : moz-landing-system : lando
2019-09-17 04:47:27 +00:00
Boris Zbarsky e29b81501a Bug 1580082. Align Response constructor IDL with spec. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45411

--HG--
extra : moz-landing-system : lando
2019-09-11 11:06:58 +00:00
Boris Zbarsky 1128b8dee8 Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45394

--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +00:00
Boris Zbarsky cdf754533a Bug 1578173 part 5. Remove vestigial binaryNames annotations from Bindings.conf. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45393

--HG--
extra : moz-landing-system : lando
2019-09-11 21:23:25 +00:00
Boris Zbarsky 14c30e58d6 Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45391

--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +00:00
Boris Zbarsky 122af58092 Bug 1578173 part 3. Remove ChromeConstructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45390

--HG--
extra : moz-landing-system : lando
2019-09-11 21:04:12 +00:00
Brad Werth 0e430e54bd Bug 1567310 Part 1: Add a ChromeOnly option for suppressing whitespace frames to getBoxQuads. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D45117

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:10 +00:00
Nika Layzell f103e26834 Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
   only have one overload, shared by the different `::Create` static methods.

2. The creation static method used by `ChangeRemoteness` has changed name to
   `::Recreate`, as the signature is becoming more like the old method.

3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a
   remoteness change shouldn't be affecting that property.

4. Unused fields are removed from the ChangeRemoteness API.

5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API,
   which simplifies the logic and makes it harder to accidentally misuse.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:09:58 +00:00
John Dai 5e255f0239 Bug 1518442 - Part 3: Add dom.formdata.event.enabled preference for Event-based form participation; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43987

--HG--
extra : moz-landing-system : lando
2019-09-09 13:53:34 +00:00
John Dai f763311585 Bug 1518442 - Part 1: Implement FormDataEvent interface; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43985

--HG--
extra : moz-landing-system : lando
2019-09-09 13:53:25 +00:00
Edgar Chen 493285c71b Bug 1577499 - Part 2: Add tests for transient user activation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44544

--HG--
extra : moz-landing-system : lando
2019-09-06 22:48:52 +00:00
Narcis Beleuzu 77240d9965 Backed out 5 changesets (bug 1518442) as requested by jdai. CLOSED TREE
Backed out changeset 9143aef9bd5e (bug 1518442)
Backed out changeset b1b08f66996c (bug 1518442)
Backed out changeset 1f3d36108982 (bug 1518442)
Backed out changeset 1ac7b20bb1d8 (bug 1518442)
Backed out changeset f280db1076a4 (bug 1518442)
2019-09-07 01:07:50 +03:00
John Dai a128680dbf Bug 1518442 - Part 3: Add dom.formdata.event.enabled preference for Event-based form participation; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43987

--HG--
extra : moz-landing-system : lando
2019-09-06 20:50:52 +00:00
John Dai c01608b314 Bug 1518442 - Part 1: Implement FormDataEvent interface; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43985

--HG--
extra : moz-landing-system : lando
2019-09-06 20:50:43 +00:00
Frederic Wang 63f73c09e6 Bug 1579457 - Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. r=bzbarsky
This patch converts NoInterfaceObject interfaces GlobalEventHandlers and
DocumentAndElementEventHandlers to mixins and introduce a new
ElementCSSInlineStyle mixin for the style IDL attribute. These are shared by
various existing interfaces but there is no web-exposed behavior change.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 19:34:55 +00:00
Cosmin Sabou 54e16b14e3 Backed out 6 changesets (bug 1518442) as requested by jdai.
Backed out changeset 74c27d7d13c5 (bug 1518442)
Backed out changeset a092042068ab (bug 1518442)
Backed out changeset 1df8f544b3b7 (bug 1518442)
Backed out changeset 65f7059b0080 (bug 1518442)
Backed out changeset c8fbe42eba38 (bug 1518442)
Backed out changeset e7a459689227 (bug 1518442)

--HG--
extra : rebase_source : 938405a9643076c7aa894059bcdd8d20a8110873
2019-09-06 17:58:57 +03:00
John Dai 1fd20a87f9 Bug 1518442 - Part 3: Add dom.formdata.event.enabled preference for Event-based form participation; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43987

--HG--
extra : moz-landing-system : lando
2019-09-06 09:47:31 +00:00
John Dai 98aa8fdbb8 Bug 1518442 - Part 1: Implement FormDataEvent interface; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43985

--HG--
extra : moz-landing-system : lando
2019-09-06 09:47:27 +00:00
Frederic Wang 00ac838800 Bug 1577660 - Rename `HTMLOrSVGOrXULElementMixin` to `HTMLOrForeignElement`. r=bzbarsky
This commit renames `HTMLOrSVGOrXULElementMixin` to `HTMLOrForeignElement` and
actually makes it a mixin. dataset, tabIndex and blur() are moved from
HTMLElement, SVGElement and XULElement into this new mixin. As a consequence,
a few extended attributes for these interfaces are modified and the dataset
attribute is added to the XULElement one. However, none of these changes are
web-observable.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 07:46:46 +00:00
Boris Zbarsky 7a49cd3dd7 Bug 1578455. Allow Web IDL operation arguments named "constructor". r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D44505

--HG--
extra : moz-landing-system : lando
2019-09-04 19:44:29 +00:00
Edgar Chen d9f0623861 Bug 1577175 - Part 2: Add tests; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44360

--HG--
extra : moz-landing-system : lando
2019-09-02 22:45:11 +00:00
Boris Zbarsky 58b843488c Bug 1569735. Move almost all uses of binaryNames out of Bindings.conf and into .webidl files. r=peterv
The one exception, apart from tests, is a place where the constructor is being
renamed, because there is no way to support that syntactically yet.  There will
be if https://github.com/heycam/webidl/issues/636 is fixed.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 17:51:37 +00:00
Boris Zbarsky 3c20a5844b Bug 921496 part 1. Remove the one consumer of NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40110

--HG--
extra : moz-landing-system : lando
2019-08-26 18:56:34 +00:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Alex Vincent cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Logan Smyth 66e57fe122 Bug 1562708 - Allow disabling of the mutation event warning for system-group event listeners. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43147

--HG--
extra : moz-landing-system : lando
2019-08-23 14:35:05 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Thomas Nguyen 32ab8293ff Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Sebastian Streich db893cf0d7 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
***
Fix linux build

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

--HG--
extra : moz-landing-system : lando
2019-08-20 12:43:02 +00:00
Ehsan Akhgari 7b2ff7275b Bug 1572240 - Part 1: Introduce Document.contentBlockingAllowListPrincipal; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42202

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:32 +00:00
Daisuke Akatsuka c6a47f400c Bug 1571650: Add an API to change the style of AnonymousContent from devtools. r=smaug
DevTools is using AnonymousContent to highlight the element inspecting.
And now, the z-order of highlighting became to be importance. In case of normal
element, we can change the z-order by z-index or order of DOM. However,
AnonymousContent does not have the such the way to change the z-order from
DevTools side. This patch introduces an API to change the style, and makes the
z-order changeable by the z-index.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 07:38:39 +00:00
Daniel Varga 95ce40b8d4 Backed out changeset a7ac9f64f6ea (bug 1561056) for build bustage at widget/gtk/nsDragService. On a CLOSED TREE 2019-08-16 09:30:39 +03:00
Sebastian Streich c051155f99 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D37563

--HG--
extra : moz-landing-system : lando
2019-08-15 18:44:00 +00:00
Kagami Sascha Rosylight b14e2b2516 Bug 1414372: Introduce interface mixins r=bzbarsky
Add IDLInterfaceMixin with a new superclass shared with existing IDLInterfaceOrNamespace.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 16:53:49 +00:00
Ciure Andrei c8c4bf08bf Backed out 4 changesets (bug 1571650) for AddressSanitizer failures CLOSED TREE
Backed out changeset 9c93a75bc692 (bug 1571650)
Backed out changeset 9f62e449f9ca (bug 1571650)
Backed out changeset 48438a9d64f1 (bug 1571650)
Backed out changeset eaef1d403d31 (bug 1571650)
2019-08-14 18:51:36 +03:00
Daisuke Akatsuka cbfbede5a3 Bug 1571650: Add an API to change the style of AnonymousContent from devtools. r=smaug
DevTools is using AnonymousContent to highlight the element inspecting.
And now, the z-order of highlighting became to be importance. In case of normal
element, we can change the z-order by z-index or order of DOM. However,
AnonymousContent does not have the such the way to change the z-order from
DevTools side. This patch introduces an API to change the style, and makes the
z-order changeable by the z-index.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 09:39:54 +00:00
Brendan Dahl b474db77c6 Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie
All .xul files have been loading as HTMLDocuments for a few weeks now, so
it should be safe to remove the XULDocument implementation.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:57:50 +00:00
Andrew McCreight b4b41c012d Bug 1571121 - Change Window.print() from using Func to Pref. r=bzbarsky
This can be done by changing the pref from being enable instead of disable.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 02:17:00 +00:00
Masayuki Nakano 23a22c597a Bug 1569902 - part 2: Stop using attribute to consider whether a `<br>` element is a special node for empty last line or not r=m_kato,smaug
Editor creates a `<br>` element to end of a block if last line
of the block is empty because caret should be placed as there is an empty
line.  Such special `<br>` element has `type` attribute whose value is "_moz".
However, adding/removing the attribute is expensive and such hacky attribute
shouldn't be referred nor changed by web apps.

Therefore, this patch makes `HTMLBRElement` take another specific flag whether
it's a special node for empty last line.  For making the meaning clearer,
this patch calls the such `<br>` elements as "padding `<br>` element for
empty last line" insead of "moz-br".  So, this patch also includes a lot of
renaming methods and variables, and modifying related comments.

Note that with this change, `IMEContentObserver` counts the padding `<br>`
element in `<textarea>` because it's inserted before setting the new flag
and setting the flag does not cause DOM tree mutation.  This issue will be
fixed by the following patches.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 05:45:18 +00:00
Masayuki Nakano 765e91b497 Bug 1569902 - part 1: Stop using attribute to consider whether a `<br>` element is an editor bogus node or not r=m_kato,smaug
Editor creates a `<br>` element when it's root element is empty.
Then, it's stored by `TextEditRules::mBogusNode` and used for checking
whether the editor is empty quickly.  However, this `<br>` element has
`mozeditorbogusnode` attribute whose value is `true`.  However, adding or
removing the attribute is not cheap and web apps can refer such illegal
attribute.

Therefore, this patch makes `HTMLBRElement` take a specific flag whether
it's a bogus node or not.  However, this means that this hacky thing will be
exposed outside editor module.  For making what is the bogus node clearer,
this patch calls the such `<br>` elements as "padding `<br>` element for
empty editor".  So, this patch also includes a lot of renaming methods and
variables, and modifying related comments.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 05:44:40 +00:00
Boris Zbarsky 4b604e5a0b Bug 1570490. Remove some unnecessary argument name escapes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40109

--HG--
extra : moz-landing-system : lando
2019-07-31 22:00:37 +00:00
Andreas Pehrson 719dfe4ede Bug 1493613 - Update muted state through MediaStreamTrackSource. r=bwc,smaug
This ensures all clones of the original track also receives the new muted state.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 09:35:06 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
Andreas Pehrson 10202bfc64 Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D37692

--HG--
extra : moz-landing-system : lando
2019-07-30 16:28:44 +00:00
Ehsan Akhgari 5aacc9192f Bug 1569677 - Part 2: Move HTMLDocument.userInteractionForTesting to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39724

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:53 +00:00
Ehsan Akhgari 373fbdc037 Bug 1569677 - Part 1: Move the Safebrowsing helpers from HTMLDocument to Document; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D39723

--HG--
extra : moz-landing-system : lando
2019-07-29 19:32:51 +00:00
Boris Zbarsky a2ab584ff7 Bug 1568585. Stop implementing JS-exposed QueryInterface on Window. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39234

--HG--
extra : moz-landing-system : lando
2019-07-25 14:31:10 +00:00
Boris Zbarsky 6179d86a65 Bug 1568285. Stop implementing JS-exposed QueryInterface for TreeColumns and TreeContentView. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39077

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:07 +00:00
Boris Zbarsky 63783b438f Bug 1568303. Stop implementing JS-exposed QueryInterface on some core DOM objects. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39085

--HG--
extra : moz-landing-system : lando
2019-07-24 08:52:41 +00:00
Boris Zbarsky 2f8935720c Bug 1568301. Stop implementing JS-exposed QueryInterface on Selection. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39083

--HG--
extra : moz-landing-system : lando
2019-07-24 08:50:59 +00:00
Boris Zbarsky c41064df1d Bug 1568298. Stop implementing JS-exposed QueryInterface on XMLHttpRequest. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39082

--HG--
extra : moz-landing-system : lando
2019-07-24 08:50:41 +00:00
Boris Zbarsky a4d2c02692 Bug 1568281. Stop implementing JS-exposed QueryInterface on DOMParser. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39070

--HG--
extra : moz-landing-system : lando
2019-07-24 08:08:30 +00:00
Mike Conley 6d1794690b Bug 1565927 - Default FrameCrashedEvent's isTopFrame to true if never set. r=nika
This is the safer assumption, since we normally skip setting isTopFrame
explicitly if no BrowsingContext exists (which is the case if, for example,
the crash is due to the fact that creating the top-level browser failed).

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

--HG--
extra : moz-landing-system : lando
2019-07-17 01:50:04 +00:00
Emilio Cobos Álvarez 1e51ee6ad5 Bug 1564466 - Remove MediaSource::{Enabled,ExperimentalEnabled}, and use [Pref] on the IDL instead. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38098

--HG--
extra : moz-landing-system : lando
2019-07-18 13:06:25 +00:00
Jan-Ivar Bruaroey 3aef894f49 Bug 1551316 - Add pc.restartIce() method. r=bwc,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30976

--HG--
extra : moz-landing-system : lando
2019-07-17 21:19:51 +00:00
Razvan Maries adc6758e36 Backed out 2 changesets (bug 1564466) for perma fails on EnsureMTA.h. CLOSED TREE
Backed out changeset 8011dd41d7d3 (bug 1564466)
Backed out changeset b162d0e42bee (bug 1564466)
2019-07-17 22:48:41 +03:00
Emilio Cobos Álvarez 4cfbe11244 Bug 1564466 - Remove MediaSource::{Enabled,ExperimentalEnabled}, and use [Pref] on the IDL instead. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38098

--HG--
extra : moz-landing-system : lando
2019-07-15 18:32:29 +00:00
Karl Tomlinson 0d0c740557 Bug 1542931 Add AudioWorkletProcessorConstructor r=bzbarsky
https://github.com/WebAudio/web-audio-api/issues/1839

Depends on D34476

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:45:45 +00:00
Kagami Sascha Rosylight d75e9f219f Bug 1360475: Use union for DOMMatrix constructor r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D35211

--HG--
extra : moz-landing-system : lando
2019-07-16 21:12:38 +00:00
Kagami Sascha Rosylight 8f29f2145b Bug 1514538 - Support DOMMatrix2DInit for addPath r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38054

--HG--
extra : moz-landing-system : lando
2019-07-16 16:35:26 +00:00
Paul Adenot c74b95c375 Bug 1350973 - Implement new attributes MediaStreamAudioSourceNode.mediaStream and MediaElementAudioSourceNode.mediaElement. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37283

--HG--
extra : moz-landing-system : lando
2019-07-11 20:09:58 +00:00
Paul Adenot 553f80fde6 Bug 1324545 - Implement AudioContext getOutputTimestamp(). r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37281

--HG--
extra : moz-landing-system : lando
2019-07-12 11:27:25 +00:00
Paul Adenot 8c692f2f23 Bug 1324552 - Implement AudioContext baseLatency and outputLatency attributes. r=pehrsons,baku
Differential Revision: https://phabricator.services.mozilla.com/D37280

--HG--
extra : moz-landing-system : lando
2019-07-12 11:28:03 +00:00
Boris Zbarsky 6474e0a0f2 Bug 1565055. Use USVString in window.open(). r=peterv
Of course there's no wpt coverage for this... :(

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:31:34 +00:00
Boris Zbarsky f471fc6507 Bug 1564663. Clean up the arguments to document.open to align better with the spec. r=mbrodesser
Differential Revision: https://phabricator.services.mozilla.com/D37642

--HG--
extra : moz-landing-system : lando
2019-07-11 16:30:27 +00:00
shindli 883c6619a6 Backed out 3 changesets (bug 1324552, bug 1324545, bug 1350973) for causing perma mda leakcheck failures CLOSED TREE
Backed out changeset db14e59c7e6e (bug 1324545)
Backed out changeset 088e13476d39 (bug 1324552)
Backed out changeset e79a64fc49e7 (bug 1350973)
2019-07-11 18:55:03 +03:00
Paul Adenot e66a2c4316 Bug 1324545 - Implement AudioContext getOutputTimestamp(). r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37281

--HG--
extra : moz-landing-system : lando
2019-07-11 13:34:15 +00:00
Paul Adenot 4c99611f32 Bug 1324552 - Implement AudioContext baseLatency and outputLatency attributes. r=pehrsons,baku
Differential Revision: https://phabricator.services.mozilla.com/D37280

--HG--
extra : moz-landing-system : lando
2019-07-11 13:30:07 +00:00
Paul Adenot 03e7bf883c Bug 1350973 - Implement new attributes MediaStreamAudioSourceNode.mediaStream and MediaElementAudioSourceNode.mediaElement. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37283

--HG--
extra : moz-landing-system : lando
2019-07-11 13:18:51 +00:00
Alphan Chen 02e1dcbe25 bug 1562889 - Convert content-sessionStore to C++: add browser epochs support r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D36606

--HG--
extra : moz-landing-system : lando
2019-07-11 09:46:14 +00:00
Kagami Sascha Rosylight 8d91017fdb Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 06:14:58 +00:00
arthur.iakab 973b98aac6 Backed out changeset 0aea246d01bb (bug 928150) for causing build bustages on DOMMatrix.h CLOSED TREEE 2019-07-11 06:31:59 +03:00
Kagami Sascha Rosylight b65864cf84 Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 02:43:46 +00:00
Kagami Sascha Rosylight 4d85db26bb Bug 1364875: Append double in DOMMatrix stringifier r=bzbarsky,jwalden
Fixed the stringifier as the spec mandates [using full double precision](https://github.com/w3c/fxtf-drafts/issues/120#issuecomment-300713781).

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

--HG--
extra : moz-landing-system : lando
2019-07-11 02:49:51 +00:00
Ryan Hunt 27bd25767f Bug 1561395 - Move drawSnapshot API to WindowGlobalParent and allow specifying the whole viewport as a rect. r=mattwoodrow,nika
Differential Revision: https://phabricator.services.mozilla.com/D35842

--HG--
extra : moz-landing-system : lando
2019-07-10 16:45:46 +00:00
Andreas Pehrson 2283c81baa Bug 1560907 - Remove default value for mediaSource constraint. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D36087

--HG--
extra : moz-landing-system : lando
2019-07-10 09:45:26 +00:00
Boris Zbarsky f5a8c4edc3 Add IDL source information to some event interfaces. No bug. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37453

--HG--
extra : moz-landing-system : lando
2019-07-09 19:02:18 +00:00
Ehsan Akhgari b4583cafa5 Bug 1558571 - Move HTMLDocument.all to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34569

--HG--
extra : moz-landing-system : lando
2019-07-09 18:09:40 +00:00
Dorel Luca f2dfa057a6 Backed out changeset 4bacb947e991 (bug 1558571) for WPT failures on /xhr/responsexml-document-properties.html 2019-07-09 20:45:41 +03:00
Ehsan Akhgari 9f6d9e9359 Bug 1558571 - Move HTMLDocument.all to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34569

--HG--
extra : moz-landing-system : lando
2019-07-08 18:49:45 +00:00
Ehsan Akhgari 127357ac73 Bug 1558570 - Move HTMLDocument.clear/captureEvents/releaseEvents to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34567

--HG--
extra : moz-landing-system : lando
2019-07-08 21:59:10 +00:00
Boris Zbarsky af2cf91b24 Add IDL source documentation for BlobEvent. No bug. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37095

--HG--
extra : moz-landing-system : lando
2019-07-08 15:53:01 +00:00
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