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

112654 Коммитов

Автор SHA1 Сообщение Дата
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 7c7f1d327f Bug 1823148 - Correct some errors in dom/bindings/test/test_dom_xrays.html. r=edgar
Depends on D171705

Differential Revision: https://phabricator.services.mozilla.com/D172915
2023-03-21 09:50:22 +00: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
Peter Van der Beken b61fafaf30 Bug 1765992 - Support regular and static WebIDL operations with the same identifier on the same interface. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171703
2023-03-21 09:50:21 +00:00
Ms2ger f4e42cdc76 Bug 1765992 - Support regular and static WebIDL operations with the same identifier; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D171216
2023-03-21 09:50:20 +00:00
Kershaw Chang 5e58575e28 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Kagami Sascha Rosylight 1f08520e4c Bug 1822675 - Part 2: Do not reject with uncatchable exception r=smaug
https://wpt.live/encoding/streams/stringification-crash.html crashes again without this.

Depends on D172794

Differential Revision: https://phabricator.services.mozilla.com/D173026
2023-03-21 09:03:05 +00:00
Kagami Sascha Rosylight 0b8d79c640 Bug 1822675 - Part 1: Call write asynchronously from PipeToPump r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172794
2023-03-21 09:03:04 +00:00
Alexander Surkov 19fd43ac10 Bug 1821732 - implement the nearest inclusive open popover algorithm, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173043
2023-03-21 02:21:28 +00:00
alwu b37f11ef4d Bug 1821803 - part4 : prevent setting CDM before the engine initialization. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D172489
2023-03-21 00:17:11 +00:00
alwu 7e7b0ded7c Bug 1821803 - part3 : set size on the streamBlob. r=jolin
The ctor for the nsTArray only sets the capacity, not size, so we need
to set it explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D172488
2023-03-21 00:17:11 +00:00
alwu 4c1f863637 Bug 1821803 - part2 : for encrypted content, set the media source after ensuring the cdm proxy. r=jolin
Once we set the media source to the media engine, if it's an encrypted
content, `MFMediaSource::GetInputTrustAuthority` will be called by the
media engine.

There is no return code [1] indicating the CDM proxy would be set later,
so we can't set the source too early. Otherwise, media engine would
treat an encrypted content as a clear content, which results in errors.

[1]
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imftrustedinput-getinputtrustauthority

Differential Revision: https://phabricator.services.mozilla.com/D172487
2023-03-21 00:17:10 +00:00
alwu 56358f1e67 Bug 1821803 - part1 : serialize crypto info over IPC. r=jolin
This patch makes `MFMediaEngineStream::IsEncrypted()` return correct
result by checking the serialized crypto information.

Differential Revision: https://phabricator.services.mozilla.com/D172486
2023-03-21 00:17:10 +00:00
Abhishek Tiwari 99be4fc359 Bug 1821163 - Convert browser/actors/Plugin* JSMs to ESMs r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D172895
2023-03-20 23:01:20 +00:00
Matthew Gregan 97af22bfac Bug 1823317 - Downgrade diagnostic assert in FFmpegAudioDecoder. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D172954
2023-03-20 22:11:39 +00:00
Marian-Vasile Laza 1c28d89a7e Backed out 3 changesets (bug 1823335, bug 1815937, bug 1823399) for devtools failures on browser_dbg-features-breakable-positions.js. CLOSED TREE
Backed out changeset f931921c97f2 (bug 1823399)
Backed out changeset 077d67ccc0d5 (bug 1823335)
Backed out changeset 103bf8d93883 (bug 1815937)
2023-03-21 00:01:11 +02:00
Kelsey Gilbert 2c73a2f34a Bug 1820914 - Return 0 from ImageToTexTarget for invalid TexImageTargets. r=gfx-reviewers,lsalzman
This causes downstream validation to correctly fail with INVALID_ENUM
when passing e.g. TEXTURE_CUBE_MAP to compressedTexImage().

Differential Revision: https://phabricator.services.mozilla.com/D172816
2023-03-20 20:19:01 +00:00
Marian-Vasile Laza ddea690739 Backed out 4 changesets (bug 1821803) for build bustages on MFMediaEngineParent.cpp. CLOSED TREE
Backed out changeset 75db8a0db46f (bug 1821803)
Backed out changeset ec91bc6abbd4 (bug 1821803)
Backed out changeset a2ddd3db75c2 (bug 1821803)
Backed out changeset 14892860eaee (bug 1821803)
2023-03-20 22:48:42 +02:00
Nicolas Chevobbe 4aa1bc2655 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-20 19:25:19 +00:00
Tom Schuster 2536630f8b Bug 1818250 - Add ShouldResistFingerprinting to WindowContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D172271
2023-03-20 18:52:25 +00:00
alwu d996ac6376 Bug 1822933 - handle NaN expiry time. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D172851
2023-03-20 18:50:04 +00:00
alwu 0a5c31e36e Bug 1821803 - part4 : prevent setting CDM before the engine initialization. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D172489
2023-03-20 18:49:39 +00:00
alwu 8640e7c77b Bug 1821803 - part3 : set size on the streamBlob. r=jolin
The ctor for the nsTArray only sets the capacity, not size, so we need
to set it explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D172488
2023-03-20 18:49:38 +00:00
alwu 7fe07199db Bug 1821803 - part2 : for encrypted content, set the media source after ensuring the cdm proxy. r=jolin
Once we set the media source to the media engine, if it's an encrypted
content, `MFMediaSource::GetInputTrustAuthority` will be called by the
media engine.

There is no return code [1] indicating the CDM proxy would be set later,
so we can't set the source too early. Otherwise, media engine would
treat an encrypted content as a clear content, which results in errors.

[1]
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imftrustedinput-getinputtrustauthority

Differential Revision: https://phabricator.services.mozilla.com/D172487
2023-03-20 18:49:38 +00:00
alwu 29eafc2272 Bug 1821803 - part1 : serialize crypto info over IPC. r=jolin
This patch makes `MFMediaEngineStream::IsEncrypted()` return correct
result by checking the serialized crypto information.

Differential Revision: https://phabricator.services.mozilla.com/D172486
2023-03-20 18:49:37 +00:00
alwu 9ec6ed010b Bug 1815798 - check if requesting data is finished or not. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D172740
2023-03-20 18:37:35 +00:00
Nika Layzell f686782a80 Bug 1814686 - Part 2: Make nsDocShellLoadState not-null, and simplify handling of nsDOMNavigationTiming, r=necko-reviewers,valentin,smaug
These types were already non-nullable, with the serializer implementation not
supporting nullptr values. This patch converts the uses to be explicitly
non-nullable, and adds the relevant `WrapNotNull` changes.

Differential Revision: https://phabricator.services.mozilla.com/D168890
2023-03-20 15:40:38 +00:00
Nika Layzell c4bc184bac Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8
Manual changes to make all refcounted types be marked as `nullable` after the
changes in part 1a. This was done without any investigation into whether the
actual types want to be nullable, in order to avoid code changes.

Differential Revision: https://phabricator.services.mozilla.com/D168889
2023-03-20 15:40:37 +00:00
Nika Layzell f47e7d485e Bug 1607634 - Part 4b: Changes for not-nullable actor types being wrapped in NotNull, r=ipc-reviewers,necko-reviewers,mccr8
These are the code changes required by the IPDL changes in part 4a.

Differential Revision: https://phabricator.services.mozilla.com/D168887
2023-03-20 15:40:36 +00:00
Nika Layzell 78fa962afb Bug 1814683 - Part 1: Combine parent/child fields in IPDL structs/unions, r=ipc-reviewers,necko-reviewers,mccr8
This combines the multiple fields or variants which were previously used to
track sided types like protocol types into a single field wrapped with a
SideVariant.

This will be used in the next part to avoid the need for default constructors
for actor types allowing the proper types to be used.

Differential Revision: https://phabricator.services.mozilla.com/D168879
2023-03-20 15:40:31 +00:00
Olli Pettay e04ab8699c Bug 1823397, Try to avoid allocations when handling mapped attributes, r=emilio
Depends on D173017

Differential Revision: https://phabricator.services.mozilla.com/D173018
2023-03-20 13:56:01 +00:00
lyavor 784f78bfb7 Bug 1804684 - Fragment navigation may change document URI scheme from https to http r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D165282
2023-03-20 13:46:20 +00:00
Byron Campen f162da1700 Bug 1821231: Take RTX stats into account for outbound-rtp stats. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D172615
2023-03-20 13:44:35 +00:00
serge-sans-paille 5b6a2dae54 Bug 1822901 - Forward declare arch-specific xsimd specialization r=padenot
Otherwise the compiler tries to instantiate the generic version based on
its current architecture flags, which may not be enough, resulting in
error along those lines:

        'xsimd::batch<float, xsimd::neon> vgainr' has incomplete type

Differential Revision: https://phabricator.services.mozilla.com/D172864
2023-03-20 13:07:38 +00:00
Dan Robertson 30e2548477 Bug 1168182 - Bind wheel event targets to wheel transactions. r=masayuki,smaug
- Create wheel transactions for wheel events handled by APZ.
 - Group wheel events with the current wheel transaction, so that all
   wheel events in a wheel transaction are fired to the same element.
 - Store the current event target for the first event in a wheel
   transaction to be used for subsequent events.
 - Add the dom.event.wheel-event-groups.enabled preference as a feature
   flag for this behavior.

Differential Revision: https://phabricator.services.mozilla.com/D163484
2023-03-20 12:19:36 +00:00
Yoshi Cheng-Hao Huang 19e0568f4d Bug 1820119 - import() should throw a TypeError in a worklet script. r=jonco,yulia
Differential Revision: https://phabricator.services.mozilla.com/D171563
2023-03-19 20:39:02 +00:00
Jonathan Kew 73d344d188 Bug 1823215 - Use ElementOrArray<T> to simplify the management of glyphrun(s) in gfxTextRun. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172940
2023-03-19 16:36:06 +00:00
Jonathan Kew ce6caaeacf Bug 1823215 - Extract ElementOrArray<T> from CanvasRenderingContext2D into gfxUtils.h so it can also be used elsewhere in gfx/thebes. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172938
2023-03-19 16:36:05 +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
Emilio Cobos Álvarez 39aeca9d9c Bug 1449669 - Remove IsNodeOfType. r=longsonr
Depends on D172893

Differential Revision: https://phabricator.services.mozilla.com/D172894
2023-03-17 19:22:14 +00:00
Emilio Cobos Álvarez 6779dc7088 Bug 1449669 - Minor clean ups in nsGenericHTMLElement. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D172893
2023-03-17 19:22:13 +00:00
Robert Longson 6fc3d48772 Bug 1781253 - GetBoundingClientRect should return the bounding rect of the text ignoring ink overflow r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D172549
2023-03-17 19:13:45 +00:00
Robert Longson 209497bfd2 Bug 1822884 - Remove eSHAPE from IsNodeOfType and replace with IsSVGGeometryElement r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172820
2023-03-17 16:26:34 +00:00
Jan-Niklas Jaeschke 0ec5448edf Bug 1818686: Reset selection after replacing textarea content when no editor is present. r=masayuki
If the `.textContent` or `.defaultValue` attributes are used to change the content of a textarea,
according to the DOM Spec dictates first all children are removed and then a new child is added.
Removing all child elements must collapse the selection to 0.
However, the spec is not very precise on that matter,
see https://github.com/whatwg/html/issues/9028 .

This was currently not done (the selection was adjusted to the new length instead),
because the `Reset()` call was executed as a script runner,
therefore running (twice) after the new content has already been added.
With this change, the selection is adjusted to the new length explicitly
as soon as `ContentChanged()` is invoked, therefore updating it to 0
when content is removed.

Differential Revision: https://phabricator.services.mozilla.com/D172791
2023-03-17 12:52:46 +00:00
Jonathan Kew c258387e9f Bug 1822184 - Create an ElementOrArray<T> helper in CanvasRenderingContext2D, and use this to store a single ClipState directly without a separate array allocation. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172657
2023-03-17 12:48:11 +00:00
Cristina Horotan 588b393945 Backed out 2 changesets (bug 1815937) for causing wpt failures at blockeduri-inline.html CLOSED TREE
Backed out changeset 668971329051 (bug 1815937)
Backed out changeset a4a3430c9bab (bug 1815937)
2023-03-17 15:52:33 +02:00
Csoregi Natalia 60acb93de2 Backed out changeset f38530a9bedf (bug 1822184) for causing build bustage on CanvasRenderingContext2D.h. CLOSED TREE 2023-03-17 14:11:52 +02:00
Jonathan Kew 5f730d4cdb Bug 1822184 - Create an ElementOrArray<T> helper in CanvasRenderingContext2D, and use this to store a single ClipState directly without a separate array allocation. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172657
2023-03-17 11:26:18 +00:00
Abhishek Tiwari 644c56f50a Bug 1821621 - Convert toolkit/components/kvstore to ES modules r=Standard8,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D172233
2023-03-17 08:10:33 +00:00
Nicolas Chevobbe c0be3c7697 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-17 08:03:07 +00:00