Commit Graph

8767 Commits

Author SHA1 Message Date
Andrea Marchesini
a7281f816e Bug 1681218 - Expose EventSource on ServiceWorkers, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D224058
2024-10-01 06:24:43 +00:00
Brad Werth
40939194ab Bug 1896843: Make webgpu setBindGroup take an optional bind group, matching spec. r=webidl,webgpu-reviewers,nical,saschanaz,ErichDonGubler
This includes a test that checks that setBindGroup can be passed a null
bindGroup.

Differential Revision: https://phabricator.services.mozilla.com/D223884
2024-09-30 15:08:02 +00:00
Erich Gubler
8517ede295 Bug 1921287 - chore(webgpu)!: remove pipeline stats. APIs r=webgpu-reviewers,webidl,nical,smaug
Differential Revision: https://phabricator.services.mozilla.com/D223786
2024-09-29 01:03:52 +00:00
Erich Gubler
2c4c31a611 Bug 1919404 - chore(webgpu)!: remove GPUSupportedLimits.maxInterStageShaderComponents r=webgpu-reviewers,webidl,nical,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223889
2024-09-27 16:51:25 +00:00
Erich Gubler
d7e6bda44e Bug 1921083: feat(webgpu): stub out GPU.wgslLanguageFeatures r=webgpu-reviewers,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223631
2024-09-27 14:42:24 +00:00
Erich Gubler
1a58af8c3d Bug 1921293 - chore(webgpu)!: remove GPUShaderModuleDescriptor.sourceMap r=webgpu-reviewers,webidl,nical,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223830
2024-09-27 14:21:37 +00:00
Erich Gubler
0a2ccf1920 Bug 1847671 - feat(webgpu): require GPUObjectBase.label r=webgpu-reviewers,webidl,nical,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223899
2024-09-27 13:58:26 +00:00
Erich Gubler
7ff9f8c203 Bug 1847671 - refactor(webgpu): default GPUImageCopyTexture.origin to {} r=webgpu-reviewers,webidl,nical,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223898
2024-09-27 13:58:25 +00:00
Butkovits Atila
fb5f07ac46 Backed out changeset 53e483e319ed (bug 1921083) for causing leaks at nsGlobalWindowInner. CLOSED TREE 2024-09-27 16:48:12 +03:00
Erich Gubler
f96f0d42c2 Bug 1921083: feat(webgpu): stub out GPU.wgslLanguageFeatures r=webgpu-reviewers,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223631
2024-09-27 11:58:07 +00:00
Sandor Molnar
2a9d68b8e3 Backed out changeset a434dcc2855b (bug 1921083) for causing mochitest failures @ test_interfaces_secureContext.html CLOSED TREE 2024-09-27 06:42:55 +03:00
Erich Gubler
f1a9e5c7c5 Bug 1921083: feat(webgpu): stub out GPU.wgslLanguageFeatures r=webgpu-reviewers,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223631
2024-09-27 02:38:31 +00:00
tannal
e70bfc694a Bug 1880789 - Remove dom.workers.modules.enabled pref. r=gregp,webidl,dom-worker-reviewers,saschanaz,dom-storage-reviewers,janv,yulia,asuth
Differential Revision: https://phabricator.services.mozilla.com/D223065
2024-09-24 10:48:13 +00:00
Tom Schuster
a1ae0dcf8e Bug 1899151 - Remove dom.streams.from.enabled pref. r=saschanaz,webidl
Differential Revision: https://phabricator.services.mozilla.com/D223279
2024-09-24 09:23:27 +00:00
tannal
ef77bb7813 Bug 1919188 - Remove dom.iframe_lazy_loading.enabled pref. r=gregp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D222929
2024-09-21 03:37:12 +00:00
tannal
87f278648a Bug 1919187 - Remove dom.window.clientinformation.enabled pref. r=gregp,webidl,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D222930
2024-09-20 11:42:14 +00:00
Emilio Cobos Álvarez
ba4e92b748 Bug 1918408 - Implement the nested declarations rule. r=dshin,webidl,smaug
I didn't put this behind a pref because it was a bit annoying to do with
the parser changes while keeping it fast, and because, at least nesting
wise, this is unlikely to cause compat issues.

There are some complexities for @scope, which I think I got right.

Fixed the tests not to depend on @scope necessarily per the discussion
in https://github.com/web-platform-tests/interop/issues/697.

Differential Revision: https://phabricator.services.mozilla.com/D222817
2024-09-19 20:23:22 +00:00
Dan Baker
670fe3412b Bug 1179084 - Implement MediaTrackCapabilities. r=webidl,webrtc-reviewers,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D219117
2024-09-19 19:52:36 +00:00
William Wen
be5526492f Bug 1913000 - Add more rate limiting to History interface. r=webidl,smaug,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D221255
2024-09-19 16:09:02 +00:00
keithamus
d1ae47b9d6 Bug 1888729 - Implement CloseWatcher interface r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D206169
2024-09-16 17:08:53 +00:00
Erich Gubler
81092f97e8 Bug 1910206 - feat(webgpu): add GPUAdapter.info member r=webgpu-reviewers,webidl,saschanaz,nical
Differential Revision: https://phabricator.services.mozilla.com/D217888
2024-09-16 15:39:45 +00:00
Emilio Cobos Álvarez
7881b1d9c1 Bug 1917458 - Fix puppeteer/remote tests after D221995. r=webdriver-reviewers,webidl,smaug,jdescottes
Calling setViewport on a background tab would wait forever without this
tweak after D221995, because we won't resize it until it becomes active.

Some tests like the ones mentioned in comment 12 call newPage() multiple
times at once, and newPage() calls setViewport() if there is a default
viewport set, which triggered this bug.

Make this work by reusing the AppWindow logic for sizing popup windows,
with a tweak so that we also resize background tabs.

Differential Revision: https://phabricator.services.mozilla.com/D222227
2024-09-16 13:21:51 +00:00
Andrea Marchesini
8dc8885a91 Bug 1918643 - Enable cookieStore API in Nightly builds, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D222102
2024-09-16 12:56:32 +00:00
Eitan Isaacson
fe47d353f3 Bug 1769586 - P1: Implement ARIA element reflection in Element and ElementInternals. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D209767
2024-09-15 22:39:52 +00:00
Andrew Osmond
29f6d0c8fe Bug 1908245 - Add support for missing requestVideoFrameCallback parameters. r=media-playback-reviewers,webidl,padenot,saschanaz
This patch adds support for exposing the capture time, receive time,
processing duration and RTP timestamp parameters on the callback for
rVFC for WebRTC related elements.

It also improves the accuracy of the media time paramater for normal
playback.

Differential Revision: https://phabricator.services.mozilla.com/D221671
2024-09-15 21:49:38 +00:00
Noemi Erli
4ec219aaff Backed out changeset ba640de8df47 (bug 1908245) for causing build bustages in HTMLVideoElement.cpp CLOSED TREE 2024-09-13 22:34:58 +03:00
Andrew Osmond
f9137675d2 Bug 1908245 - Add support for missing requestVideoFrameCallback parameters. r=media-playback-reviewers,webidl,padenot,saschanaz
This patch adds support for exposing the capture time, receive time,
processing duration and RTP timestamp parameters on the callback for
rVFC for WebRTC related elements.

It also improves the accuracy of the media time paramater for normal
playback.

Differential Revision: https://phabricator.services.mozilla.com/D221671
2024-09-13 18:19:57 +00:00
Ted Campbell
c481ba9017 Bug 1918736 - Replace PrivateAttribution origin trial with PrivateAttributionV2 r=emilio
The PrivateAttribution API has gone through a number of changes (particually
around OHTTP) since the trial was first added to tree, so issue a new trial so
that only updated versions of the API will be targetted. This also removes
support for the old trial.

Differential Revision: https://phabricator.services.mozilla.com/D222159
2024-09-13 18:15:18 +00:00
Gregory Pappas
deaf2f58b1 Bug 1917745 - Cleanup sizeToContent r=webidl,reusable-components-reviewers,emilio,migration-reviewers,tgiles,mconley
- Remove the pref for enabling sizeToContent in unprivileged web content
- Merge sizeToContentConstrained into sizeToContent
- Remove tests that are not necessary now that sizeToContent is ChromeOnly

Differential Revision: https://phabricator.services.mozilla.com/D221575
2024-09-13 07:56:12 +00:00
Erich Gubler
8e26b22133 Bug 1917059: feat(webgpu): expose ETC2 texture support r=webgpu-reviewers,webidl,teoxoy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D221258
2024-09-13 05:49:02 +00:00
Erich Gubler
eca2372a17 Bug 1873039 - feat(webgpu): expose ASTC texture support r=webgpu-reviewers,webidl,teoxoy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D221197
2024-09-13 05:49:01 +00:00
Andrea Marchesini
c6b5fb82a2 Bug 1475599 - part 1 - CookieStore API - WebIDL, r=smaug,edgul
Differential Revision: https://phabricator.services.mozilla.com/D215144
2024-09-12 16:48:18 +00:00
Iulian Moraru
07f06ae72b Backed out 11 changesets (bug 1475599) for causing wpt failures on change_eventhandler_in_bfcache.https.window.html. CLOSED TREE
Backed out changeset 74d0efb3b0d1 (bug 1475599)
Backed out changeset 7e736b5732c1 (bug 1475599)
Backed out changeset 8620daea37ad (bug 1475599)
Backed out changeset 0d57b435d872 (bug 1475599)
Backed out changeset a63a5bcb0524 (bug 1475599)
Backed out changeset cd8cc80dc7e9 (bug 1475599)
Backed out changeset ef2cdfb059af (bug 1475599)
Backed out changeset d3c7729a1972 (bug 1475599)
Backed out changeset 7eccbaa8e62e (bug 1475599)
Backed out changeset cc3c39aa8fb8 (bug 1475599)
Backed out changeset 2fc9a3d0ad8b (bug 1475599)
2024-09-12 00:03:14 +03:00
Andrea Marchesini
6cb300bb5a Bug 1475599 - part 1 - CookieStore API - WebIDL, r=smaug,edgul
Differential Revision: https://phabricator.services.mozilla.com/D215144
2024-09-11 16:26:54 +00:00
Brad Werth
1e1002484d Bug 1885446 Part 1: Stub the WebGL unpackColorSpace attribute. r=jgilbert,webidl,smaug
This is a stub so webidl reviewers can review this without having to review
the implementation. This is not attempting to do anything with
unpackColorSpace other than ensure that it is get and set in the same
ways that are used for drawingBufferColorSpace.

Differential Revision: https://phabricator.services.mozilla.com/D214053
2024-09-10 23:27:57 +00:00
Tamas Szentpeteri
84034a29ab Backed out 11 changesets (bug 1475599) for causing mochitest failures on browser_script_command_execute_basic.js. CLOSED TREE
Backed out changeset 51aa424e5ec9 (bug 1475599)
Backed out changeset 01c2bc6d727a (bug 1475599)
Backed out changeset 2d925ea3da19 (bug 1475599)
Backed out changeset 30d5dfedf252 (bug 1475599)
Backed out changeset fc3b4c5ee4b2 (bug 1475599)
Backed out changeset 0cfe4b34b57a (bug 1475599)
Backed out changeset fc19677480ad (bug 1475599)
Backed out changeset f279f023c340 (bug 1475599)
Backed out changeset 4063d0c74231 (bug 1475599)
Backed out changeset 0868fb4018a7 (bug 1475599)
Backed out changeset 9c8b6e35bf3f (bug 1475599)
2024-09-11 00:31:53 +03:00
Andrea Marchesini
5c27115ef1 Bug 1475599 - part 1 - CookieStore API - WebIDL, r=smaug,edgul
Differential Revision: https://phabricator.services.mozilla.com/D215144
2024-09-10 16:31:38 +00:00
Iulian Moraru
b7269e8293 Backed out 4 changesets (bug 1917059, bug 1873039) for causing conflicts when trying to backout Bug 1917102.
Backed out changeset 6cf53afd3269 (bug 1917059)
Backed out changeset 8c95893c5aaf (bug 1917059)
Backed out changeset 845b7034b36b (bug 1873039)
Backed out changeset 347d2ffd901d (bug 1873039)
2024-09-09 11:18:31 +03:00
Erich Gubler
da0d948fc8 Bug 1917059: feat(webgpu): expose ETC2 texture support r=webgpu-reviewers,webidl,teoxoy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D221258
2024-09-07 00:33:54 +00:00
Erich Gubler
8cacd8167a Bug 1873039 - feat(webgpu): expose ASTC texture support r=webgpu-reviewers,webidl,teoxoy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D221197
2024-09-07 00:33:53 +00:00
Emilio Cobos Álvarez
1b8d105218 Bug 1916311 - [css-view-transitions] Initial pass at DOM API internals. r=boris,webidl,smaug
This is still fairly incomplete (i.e. no capturing, etc), but it allows
a transition to "start", and then finish (on the next frame always, for
now) or timeout, appropriately.

I think it's in a reviewable shape, given that. There's one known
divergence from the spec, which is described in
https://github.com/w3c/csswg-drafts/issues/10822

Differential Revision: https://phabricator.services.mozilla.com/D220843
2024-09-04 20:24:55 +00:00
Butkovits Atila
c96c1efe67 Backed out 4 changesets (bug 1916311) for causing wpt failures at no-crash-set-exception.html. CLOSED TREE
Backed out changeset 7a2f34195c02 (bug 1916311)
Backed out changeset 09b974edc310 (bug 1916311)
Backed out changeset 91431bf2cb69 (bug 1916311)
Backed out changeset cadf4f0266df (bug 1916311)
2024-09-04 20:58:46 +03:00
Emilio Cobos Álvarez
eb57419108 Bug 1916311 - [css-view-transitions] Initial pass at DOM API internals. r=boris,webidl,smaug
This is still fairly incomplete (i.e. no capturing, etc), but it allows
a transition to "start", and then finish (on the next frame always, for
now) or timeout, appropriately.

I think it's in a reviewable shape, given that. There's one known
divergence from the spec, which is described in
https://github.com/w3c/csswg-drafts/issues/10822

Differential Revision: https://phabricator.services.mozilla.com/D220843
2024-09-04 11:12:47 +00:00
Kelsey Gilbert
1ae94e69ab Bug 1885491 - s/webgl.colorspaces.prototype/webgl.drawing_buffer_color_space/. r=gfx-reviewers,webidl,saschanaz,nical
Differential Revision: https://phabricator.services.mozilla.com/D220746
2024-09-03 23:09:48 +00:00
Sean Feng
e78c6ae67b Bug 1900426 - Implement DnD for shadow-crossing selection r=jjaschke,smaug,dom-core
This patches allows
  1. when the selection is shadow-crossing, dragging it will have the
  correct the drag image correctly displayed. It's hard to test, so
  no tests for this.

  2. The selection can now be serialized and dropped.
  `test_drag_drop_shadow_crossing_selection.html` is the test for
  this.

Differential Revision: https://phabricator.services.mozilla.com/D217318
2024-09-03 15:42:58 +00:00
Mirko Brodesser
4bda61cf22 Bug 1913077: part 2) Add TrustedHTML to Element.insertAdjacentHTML. r=smaug,peterv
For a potential performance-improvement see
<https://phabricator.services.mozilla.com/D216304>'s description.

Differential Revision: https://phabricator.services.mozilla.com/D216170
2024-09-02 10:41:17 +00:00
Noemi Erli
fdfdc55903 Backed out changeset 5c6272143175 (bug 1900426) for causing bug 1915027, bug 1915620, bug 1915816 2024-08-30 16:31:30 +03:00
Sean Feng
261005fcc4 Bug 1900426 - Implement DnD for shadow-crossing selection r=jjaschke,smaug,dom-core
This patches allows
  1. when the selection is shadow-crossing, dragging it will have the
  correct the drag image correctly displayed. It's hard to test, so
  no tests for this.

  2. The selection can now be serialized and dropped.
  `test_drag_drop_shadow_crossing_selection.html` is the test for
  this.

Differential Revision: https://phabricator.services.mozilla.com/D217318
2024-08-28 15:03:17 +00:00
Stanca Serban
9b273777ea Backed out changeset d77e541eb497 (bug 1900426) for causing mochitests failures in test_drag_drop_shadow_crossing_selection.html. CLOSED TREE 2024-08-27 04:23:16 +03:00
Sean Feng
ba8d59f743 Bug 1900426 - Implement DnD for shadow-crossing selection r=jjaschke,smaug,dom-core
This patches allows
  1. when the selection is shadow-crossing, dragging it will have the
  correct the drag image correctly displayed. It's hard to test, so
  no tests for this.

  2. The selection can now be serialized and dropped.
  `test_drag_drop_shadow_crossing_selection.html` is the test for
  this.

Differential Revision: https://phabricator.services.mozilla.com/D217318
2024-08-26 19:09:03 +00:00