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

7976 Коммитов

Автор SHA1 Сообщение Дата
Mathew Hodson 9bd578a5f9 Bug 1228850 - Remove mozImageSmoothingEnabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175527
2023-04-15 08:07:09 +00:00
Kelsey Gilbert 68589fab17 Bug 1817541 - Update load and store op handling to match webgpu spec changes. r=gfx-reviewers,webidl,jimb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D174802
2023-04-15 07:28:26 +00:00
Emilio Cobos Álvarez e646aab352 Bug 1827856 - Misc cleanups to nsDOMMutationObserver. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D175355
2023-04-14 19:25:24 +00:00
Emilio Cobos Álvarez 96d18c725e Bug 1828183 - Remove cascade layers pref. r=CanadaHonk
These have been enabled by default for quite a while.

Differential Revision: https://phabricator.services.mozilla.com/D175513
2023-04-14 19:05:28 +00:00
Kelsey Gilbert f11a202eea Bug 1826678 - Add webgpu CanvasContext.canvas backlink. r=gfx-reviewers,webidl,jimb,smaug,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D174831
2023-04-13 19:15:00 +00:00
John Schanck b8a4804d09 Bug 1737205 - remove the legacy U2F javascript API. r=dveditz,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D175297
2023-04-13 17:43:03 +00:00
Kelsey Gilbert fcc4ea963f Bug 1814101 - Add requestAdapterInfo for webgpu. r=gfx-reviewers,webidl,jimb,smaug
Like the old `name` attribute it replaces, it's always empty for now.

Differential Revision: https://phabricator.services.mozilla.com/D174817
2023-04-12 18:51:46 +00:00
Jim Blandy 387376d911 Bug 1821219: Update WebGPU.webidl for new automatic pipeline layout. r=webgpu-reviewers,webidl,teoxoy,smaug
Adapt WebGPU.webidl for [gpuweb#2657], which changed the way to request automatic pipeline layout: rather than simply omitting the `layout` property from the pipeline descriptor, you now need to say `layout: "auto"`.

[gpuweb#2657]: https://github.com/gpuweb/gpuweb/pull/2657/files

Differential Revision: https://phabricator.services.mozilla.com/D173495
2023-04-12 17:53:50 +00:00
Jim Blandy 0b85dc8089 Bug 1824871: Rename endPass -> end on GPURenderPassEncoder, GPUComputePassEncoder. r=webidl,webgpu-reviewers,teoxoy,smaug
These were renamed in [gpuweb#2560](https://github.com/gpuweb/gpuweb/pull/2560).

Differential Revision: https://phabricator.services.mozilla.com/D173785
2023-04-12 17:52:07 +00:00
Cristina Horotan 04a340a0fe Backed out changeset 206c3002c228 (bug 1814101) for causing mochitest failures at test_interfaces_secureContext.html CLOSED TREE 2023-04-12 10:43:18 +03:00
Kelsey Gilbert 79f2c28303 Bug 1814101 - Add requestAdapterInfo for webgpu. r=gfx-reviewers,webidl,jimb,smaug
Like the old `name` attribute it replaces, it's always empty for now.

Differential Revision: https://phabricator.services.mozilla.com/D174817
2023-04-12 05:50:38 +00:00
Emilio Cobos Álvarez d27874678a Bug 1811950 - Allow WorkerGlobalScope.fonts to fail. r=aosmond,webidl,saschanaz
It can fail when canceling the worker (though I couldn't reproduce the
crash locally). Some things were already accounting for it.

Rename some things for consistency.

Differential Revision: https://phabricator.services.mozilla.com/D175126
2023-04-11 13:44:53 +00:00
Robert Longson 12236086e3 Bug 1240357 - Support crossOrigin attribute on image and feImage elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D174737
2023-04-11 12:37:21 +00:00
Cristina Horotan a7a96ca3ba Backed out changeset 21dbf1f0a49a (bug 1240357) for causing wpt failures at svg-image.https.sub.html on a CLOSED TREE 2023-04-11 15:19:54 +03:00
Emilio Cobos Álvarez 48d4643670 Bug 1427715 - Allow CSSImportRule.styleSheet to be null. r=CanadaHonk,webidl,smaug
This doesn't match the CSSOM spec, but it seems fairly uncontroversial,
and our WebIDL already has the nullable annotation, see:

  https://github.com/w3c/csswg-drafts/issues/8608

This doesn't change behavior on its own, but it's needed for the other
patches in this bug.

Differential Revision: https://phabricator.services.mozilla.com/D172891
2023-04-11 11:32:45 +00:00
Robert Longson f7e7355184 Bug 1240357 - Support crossOrigin attribute on image and feImage elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D174737
2023-04-11 06:29:33 +00:00
Kelsey Gilbert ff02e04b0e Bug 1814091 - Move CanvasContext.getPreferredFormat to GPU.getPreferredCanvasFormat. r=gfx-reviewers,jimb,emilio
This reflects a change in the spec.

Differential Revision: https://phabricator.services.mozilla.com/D174792
2023-04-06 00:11:01 +00:00
Cristian Tuns ab8d86a07e Backed out changeset 721a7c52f1ab (bug 1814091) for causing wpt failures in cts.https.html CLOSED TREE 2023-04-05 19:10:16 -04:00
Kelsey Gilbert 4d9ea58f49 Bug 1814091 - Move CanvasContext.getPreferredFormat to GPU.getPreferredCanvasFormat. r=gfx-reviewers,jimb,emilio
This reflects a change in the spec.

Differential Revision: https://phabricator.services.mozilla.com/D174792
2023-04-05 22:02:47 +00:00
Kelsey Gilbert 7a17e909ef Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D174197
2023-04-01 00:33:25 +00:00
Noemi Erli c41e3f4330 Backed out changeset bc8c5f1973ff (bug 1825673) for causing mochitest failures in test_GridElementWidthResizer.html CLOSED TREE 2023-03-31 23:14:09 +03:00
Kelsey Gilbert 91a9368bb8 Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D174197
2023-03-31 18:48:20 +00:00
Jim Blandy 733276b455 Bug 1824447: Make WebGPU interfaces available only in secure contexts. r=webgpu-reviewers,webidl,saschanaz,jgilbert
Add the [`[SecureContext]`](https://webidl.spec.whatwg.org/#SecureContext) extended attribute to all interfaces in `dom/webidl/WebGPU.webidl` and `dom/webidl/GPUUncapturedErrorEvent.webidl`, to match the specification.

Update mochitests to run in secure contexts.

It's standard practice now for newly introduced content-visible web APIs to be available only in secure contexts, to encourage the adoption of https. WebGPU's API was marked in this way in gpuweb#1363. Firefox's WebIDL needs to be updated to match.

Differential Revision: https://phabricator.services.mozilla.com/D173584
2023-03-30 16:22:24 +00:00
Peter Van der Beken 0ed3b3b9e5 Bug 1765992 - Fix WebIDL Xrays to properly deal with a static and non-static property with the same name. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171705
2023-03-30 12:56:36 +00:00
Dan Baker d1d5fe1bad Bug 1531460 - Implement getCapabilities.r=bwc,webrtc-reviewers,emilio
Depends on D173788

Differential Revision: https://phabricator.services.mozilla.com/D173550
2023-03-29 22:49:53 +00:00
Narcis Beleuzu f89e9747a5 Backed out 2 changesets (bug 1746245, bug 1824447) for xpcshell failure on test_FeatureGate.js . CLOSED TREE
Backed out changeset 5cc2daf4f55a (bug 1746245)
Backed out changeset 754743cbc36b (bug 1824447)
2023-03-29 22:27:13 +03:00
Jim Blandy 968aa6e330 Bug 1824447: Make WebGPU interfaces available only in secure contexts. r=webgpu-reviewers,webidl,saschanaz,jgilbert
Add the [`[SecureContext]`](https://webidl.spec.whatwg.org/#SecureContext) extended attribute to all interfaces in `dom/webidl/WebGPU.webidl` and `dom/webidl/GPUUncapturedErrorEvent.webidl`, to match the specification.

Update mochitests to run in secure contexts.

It's standard practice now for newly introduced content-visible web APIs to be available only in secure contexts, to encourage the adoption of https. WebGPU's API was marked in this way in gpuweb#1363. Firefox's WebIDL needs to be updated to match.

Differential Revision: https://phabricator.services.mozilla.com/D173584
2023-03-29 16:08:24 +00:00
Norisz Fay 6111da95d9 Backed out 4 changesets (bug 1531460) for causing wpt failures on decodingInfo.webrtc.html CLOSED TREE
Backed out changeset efd17f1d735a (bug 1531460)
Backed out changeset c8ec97292d07 (bug 1531460)
Backed out changeset 6cd802a21625 (bug 1531460)
Backed out changeset 99b6e83a6291 (bug 1531460)
2023-03-29 03:20:50 +03:00
Dan Baker 80516090ea Bug 1531460 - Implement getCapabilities.r=bwc,webrtc-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D173550
2023-03-28 21:45:16 +00:00
Sandor Molnar daacb5114a Backed out changeset 68cd13be1b19 (bug 1824447) for causing for causing mochitest webgpu failures in dom/webgpu/mochitest/test_enabled.html 2023-03-27 23:02:35 +03:00
Jim Blandy f4066394cd Bug 1824447: Make WebGPU interfaces available only in secure contexts. r=webgpu-reviewers,webidl,saschanaz,jgilbert
Add the [`[SecureContext]`](https://webidl.spec.whatwg.org/#SecureContext) extended attribute to all interfaces in `dom/webidl/WebGPU.webidl` and `dom/webidl/GPUUncapturedErrorEvent.webidl`, to match the specification.

It's standard practice now for newly introduced content-visible web APIs to be available only in secure contexts, to encourage the adoption of https. WebGPU's API was marked in this way in gpuweb#1363. Firefox's WebIDL needs to be updated to match.

Differential Revision: https://phabricator.services.mozilla.com/D173584
2023-03-27 18:35:48 +00:00
Mathew Hodson 5372be9fd2 Bug 1824556 - Disable mozPreservesPitch on early beta. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173638
2023-03-25 20:27:57 +00:00
Kagami Sascha Rosylight e88944c553 Bug 1823619 - Implement Compression Streams r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D173321
2023-03-25 06:48:41 +00:00
Iulian Moraru a27714aad7 Backed out changeset e5ef47700fe9 (bug 1823619) for causing mochitest failures related to CompressionStream. CLOSED TREE 2023-03-25 00:11:49 +02:00
Ziran Sun dcf61da9a0 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-24 21:09:11 +00:00
Kagami Sascha Rosylight ccd92f0540 Bug 1823619 - Implement Compression Streams r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D173321
2023-03-24 20:10:57 +00:00
Iulian Moraru 83bab70928 Backed out changeset 241d9f6e2457 (bug 1823359) for causing wpt failures on popover-light-dismiss.html. CLOSED TREE 2023-03-24 21:11:32 +02:00
Ziran Sun d31e4010ed Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-24 16:29:48 +00:00
Norisz Fay eb7653efa4 Backed out changeset adc083051939 (bug 1823359) for causing wpt failures on popover-light-dismiss.html 2023-03-24 01:50:20 +02:00
Ziran Sun 02d0389ca0 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-23 19:04:20 +00:00
Alexander Surkov 50c3cdaa4f Bug 1823757 - add PopoverInvokerElement interface r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173180
2023-03-23 13:23:25 +00:00
Csoregi Natalia 1c9d6a9d1c Backed out changeset d567ffebf337 (bug 1823359) for causing failures on popover-light-dismiss.html. CLOSED TREE 2023-03-22 18:19:46 +02:00
Ziran Sun e8eeff9a88 Bug 1823359 - Implement beforetoggle event for popover. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D172993
2023-03-22 13:18:32 +00:00
Randell Jesup afa9194f5c Bug 1791835: Implement DOM API for datagrams in WebTransport r=saschanaz,smaug
This is the initial implementation without support for timeouts

Differential Revision: https://phabricator.services.mozilla.com/D170947
2023-03-22 02:21:48 +00:00
Cristian Tuns 387d191ab4 Backed out 6 changesets (bug 1820776, bug 1820434, bug 1822138, bug 1822038, bug 1821146, bug 1791835) for causing build bustages on WebTransportDatagramDuplexStream.cpp CLOSED TREE
Backed out changeset 4a866db45f1a (bug 1822038)
Backed out changeset 889174ce36fd (bug 1821146)
Backed out changeset 39f22b088301 (bug 1820434)
Backed out changeset c93fec9914f5 (bug 1822138)
Backed out changeset 914ee3f0f3ee (bug 1791835)
Backed out changeset 43beacf35d14 (bug 1820776)
2023-03-21 17:24:20 -04:00
Randell Jesup 49aa9ebbc7 Bug 1791835: Implement DOM API for datagrams in WebTransport r=saschanaz,smaug
This is the initial implementation without support for timeouts

Differential Revision: https://phabricator.services.mozilla.com/D170947
2023-03-21 16:09:08 +00:00
Stanca Serban 77aa495f94 Backed out 4 changesets (bug 1765992, bug 1823148) for causing multiple failures. CLOSED TREE
Backed out changeset fc5514b8c974 (bug 1823148)
Backed out changeset f1557bbb7e52 (bug 1765992)
Backed out changeset 605a523fd68f (bug 1765992)
Backed out changeset a4b61f52eb59 (bug 1765992)
2023-03-21 12:51:09 +02:00
Peter Van der Beken 0ddb007f28 Bug 1765992 - Fix WebIDL Xrays to properly deal with a static and non-static property with the same name. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171705
2023-03-21 09:50:21 +00:00
Mathew Hodson 7eba459fca Bug 1822955 - Disable mozImageSmoothingEnabled by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172860
2023-03-18 11:45:36 +00:00
Cosmin Sabou 8d7a73ea59 Backed out 3 changesets (bug 1765992) for causing WebIDLError linting opt failures. CLOSED TREE
Backed out changeset 3861a5ec6941 (bug 1765992)
Backed out changeset 70ee010fff60 (bug 1765992)
Backed out changeset ae92922b3b3a (bug 1765992)
2023-03-15 18:15:39 +02:00