Commit Graph

875252 Commits

Author SHA1 Message Date
Ben Hearsum
1e2d47cf0d Bug 1883046: make nightly decision tasks more resilient to unexpected Balrog release data r=releng-reviewers,taskgraph-reviewers,jcristau
This fixes the specific issue we just had with a release only containing `partials`, but also deals with a potential future problem if `buildID` is missing. (Less likely...but still possible?)

Differential Revision: https://phabricator.services.mozilla.com/D203278
2024-03-01 15:08:34 +00:00
Sam Foster
9911ad6052 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-01 15:02:51 +00:00
Jamie Nicol
a36300c436 Bug 1882828 - Ensure hard-coded batched texture uploads enabled state does not get overridden by pref. r=gfx-reviewers,lsalzman
Batched texture uploads are supposed to be hard-coded as enabled or
disabled on certain platforms, and on other platforms controllable via
a pref. However, a previous refactoring made it so that the hard-coded
value is always being overridden by the pref (by checking whether the
hard-coded value is set in the wrong place). As a consequence, batched
texture uploads have been disabled on Mali-G devices, resulting in
poor performance.

This patch moves the check to the correct place, meaning the
hard-coded value is respected once again.

Differential Revision: https://phabricator.services.mozilla.com/D203145
2024-03-01 14:32:39 +00:00
Peter Van der Beken
89dde157ad Bug 1640839 - Stop generating count of WebIDL enum values, use standard enum traits instead. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D201345
2024-03-01 14:31:16 +00:00
Peter Van der Beken
763356e4fb Bug 1640839 - Stop generating a sentinel value at the end of WebIDL enums. r=mccr8,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201344
2024-03-01 14:31:15 +00:00
Peter Van der Beken
4fe8e134c0 Bug 1640839 - Add MakeEnumeratedRange helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201343
2024-03-01 14:31:15 +00:00
Peter Van der Beken
bdf064697e Bug 1640839 - Stop using UtilityActorName::EndGuard_. r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D201342
2024-03-01 14:31:14 +00:00
Peter Van der Beken
ab3e4ec36b Bug 1640839 - Stop using RequestMode::EndGuard_, RequestCredentials::EndGuard_ and RequestCache::EndGuard_. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D201341
2024-03-01 14:31:14 +00:00
Peter Van der Beken
1ef8b9be11 Bug 1640839 - Stop using ImageBitmapFormat::EndGuard_. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D201340
2024-03-01 14:31:13 +00:00
Peter Van der Beken
a0448e7053 Bug 1640839 - Add IPC serializer for WebIDL enums. r=mccr8,jgilbert,media-playback-reviewers,dom-storage-reviewers,janv,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201339
2024-03-01 14:31:12 +00:00
Peter Van der Beken
e0ed150b44 Bug 1640839 - Provide helpers for converting a string to a WebIDL enum value. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201338
2024-03-01 14:31:12 +00:00
Peter Van der Beken
a1122e9bfc Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201337
2024-03-01 14:31:11 +00:00
Peter Van der Beken
bcef943e35 Bug 1640839 - Make XRSessionInit.requiredFeatures/optionalFeatures of type sequence<DOMString>. r=mccr8
This was changed in the spec here: https://github.com/immersive-web/webxr/pull/1296

Differential Revision: https://phabricator.services.mozilla.com/D201336
2024-03-01 14:31:11 +00:00
Peter Van der Beken
42eef28f92 Bug 1640839 - Generate enum helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201335
2024-03-01 14:31:10 +00:00
Peter Van der Beken
f295b0c979 Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201334
2024-03-01 14:31:09 +00:00
Peter Van der Beken
8d1c9ad39c Bug 1640839 - Move size template parameter for EnumeratedArray to the end. r=glandium,jgilbert,media-playback-reviewers,credential-management-reviewers,padenot,dimi
This will allow us to provide a default value for the size when some enum
helper traits are defined.

Differential Revision: https://phabricator.services.mozilla.com/D201333
2024-03-01 14:31:09 +00:00
Dimi
75b985ac56 Bug 1755033 - P2. Use the same text color for autofill and -moz-autofill-preview r=credential-management-reviewers,emilio,sgalich
UX suggests to use the same text color for autofill and autofill
preview.

Differential Revision: https://phabricator.services.mozilla.com/D203098
2024-03-01 14:01:19 +00:00
Dimi
e652edfc5d Bug 1755033 - P1. Make user agent autofill styles more important r=credential-management-reviewers,emilio,issammani
Both Chrome and Safari override the sites autofill style.
Given that its crucial for users to be able to clearly see what Firefox autofills for
them, after discussing with UX, we decide also do the same.

Differential Revision: https://phabricator.services.mozilla.com/D202410
2024-03-01 14:01:19 +00:00
Iulian Moraru
33e03ebd51 Backed out changeset 4399c5a65886 (bug 1847098) on gerard-majax's request. CLOSED TREE 2024-03-01 16:26:41 +02:00
Iulian Moraru
cdaf956a6a Backed out changeset bfb6942faf35 (bug 1876165) for causing multiple bc failures. CLOSED TREE 2024-03-01 16:20:18 +02:00
Paul Zuehlcke
7df3a009b1 Bug 1879348 - Do not purge bounce trackers that are on the ContentBlockingAllowList. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201120
2024-03-01 13:38:30 +00:00
Paul Zuehlcke
598a21e4cd Bug 1881481 - Add nsIBounceTrackingProtection#testClearExpiredUserActivations. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202490
2024-03-01 13:38:29 +00:00
Paul Zuehlcke
6a3ae20d38 Bug 1881514 - Fixed broken promise handling logic in BounceTrackingProtection::PurgeBounceTrackers. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202489
2024-03-01 13:38:29 +00:00
Jonathan Sudiaman
69051d0e86 Bug 1876165 - Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r=mak,fxview-reviewers,places-reviewers,fluent-reviewers,bolsson,sfoster,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201759
2024-03-01 13:34:08 +00:00
Calixte
dfbd373993 Bug 1883010 - Update PDF.js to new version 29c493d36bb5a44251804e9204973211172e0412 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D203265
2024-03-01 13:29:24 +00:00
Olli Pettay
6b448ef5da Bug 1882417 - Suspend DOM notifications while parsing innerHTML, r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D202891
2024-03-01 13:14:34 +00:00
Tooru Fujisawa
62ba66a41b Bug 1880003 - Fix backslash handling in BaseScript::dumpStringContent. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D202645
2024-03-01 13:08:47 +00:00
Christoph Kerschbaumer
6222503141 Bug 1877195: Expand mixed-content download protection to all http downloads, r=freddyb,Gijs,anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D200267
2024-03-01 13:04:39 +00:00
Tooru Fujisawa
9fb2ad954d Bug 1881359 - Part 2: Use DebuggerObject.prototype.isSameNativeWithJitInfo in eager evaluation to support methods with GenericMethod native function. r=nchevobbe,devtools-reviewers
This reverts a part of bug Bug 1815381 change.

Differential Revision: https://phabricator.services.mozilla.com/D203058
2024-03-01 12:37:39 +00:00
Tooru Fujisawa
0b6139349e Bug 1881359 - Part 1: Re-add DebuggerObject.prototype.isSameNativeWithJitInfo. r=jandem
This just reverts bug 1831826 change.

Differential Revision: https://phabricator.services.mozilla.com/D203057
2024-03-01 12:37:38 +00:00
Jan Varga
9ec9122261 Bug 1856324 - Remove ClientSourceParent::KillInvalidChild; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D189912
2024-03-01 12:35:20 +00:00
Marco Bonardo
8711af19b4 Bug 1880069 - Switch-to-tab result sometimes appears twice with wrong container. r=jteow
The InputHistory (adaptive) provider is not properly reporting the open tab
userContextId, thus the Muxer is unable to dedupe results properly.
This cleans up the query a little bit avoiding numeric indices and fields that
are unused later.

Differential Revision: https://phabricator.services.mozilla.com/D203012
2024-03-01 12:23:49 +00:00
André Bargull
4551ff49c0 Bug 1882386: Correctly handle empty search string case when inlining String.p.lastIndexOf. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D203248
2024-03-01 12:23:08 +00:00
Timothy Nikkel
f658742e04 Bug 1835509. If we encounter a bad LZW block in a gif frame still report success if we have decoded frames before this successfully. r=aosmond
This is similar to this code in image/Decoder.cpp

https://searchfox.org/mozilla-central/rev/ae292ebba6074601b33fa983dd4e01ce6a1ec4ac/image/Decoder.cpp#257

We won't display the frames after the bad frame, but that seems reasonable, and an improvement from current. If we get more reports of this we can look into just skipping the bad frame instead of truncating before the bad frame.

Differential Revision: https://phabricator.services.mozilla.com/D179495
2024-03-01 11:42:43 +00:00
Iulian Moraru
9e932499b5 Backed out 4 changesets (bug 1848315) for causing multiple failures. CLOSED TREE
Backed out changeset b921bb1aee11 (bug 1848315)
Backed out changeset 0872a066e6fd (bug 1848315)
Backed out changeset 028e9468f0a3 (bug 1848315)
Backed out changeset b57c4274e7ab (bug 1848315)
2024-03-01 14:16:44 +02:00
Iulian Moraru
fce9a41e8e Backed out changeset d2f9b317d7dd (bug 1872460) for causing build non unfied plain bustages on TestCacheControlParser.cpp. CLOSED TREE 2024-03-01 13:39:50 +02:00
Kagami Sascha Rosylight
969eb14a0e Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D201140
2024-03-01 11:27:53 +00:00
Kagami Sascha Rosylight
d3bd852afb Bug 1879934 - Observe window events only for non-persistent notifications r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D201627
2024-03-01 11:27:52 +00:00
Kagami Sascha Rosylight
4301b1c2b5 Bug 1881515 - Implement marionette.set_permission test function r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202477
2024-03-01 11:26:55 +00:00
aiunusov
7d1e0636f9 Bug 1872460 - FIX Cache Control Parser ignoring the rest of the header in case of negative Integer values, r=necko-reviewers,valentin
- in case of malformed integers, ignore the directive and set default value
(to let parser continue parsing the other params)

Differential Revision: https://phabricator.services.mozilla.com/D197443
2024-03-01 11:09:32 +00:00
Tom Schuster
a45b629901 Bug 1712690 - Update the SecurityPolicyViolationEvent WebIDL. r=webidl,dom-core,peterv
Implements the changes from https://github.com/w3c/webappsec-csp/pull/645

(This still does not include changing DOMString to USVString)

Differential Revision: https://phabricator.services.mozilla.com/D202918
2024-03-01 11:01:01 +00:00
Tom Schuster
30cde8150a Bug 1848315 - CSP: Introduce new and more detailed error messages. r=freddyb,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186143
2024-03-01 10:59:11 +00:00
Tom Schuster
a7bde6cb9c Bug 1848315 - CSP: Provide the whole violated directive as a string. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D186142
2024-03-01 10:59:10 +00:00
Tom Schuster
c6dcc63a2b Bug 1848315 - CSP: Pass effective directive as an enum to error reporting. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D186141
2024-03-01 10:59:09 +00:00
Tom Schuster
9dbf3f3d91 Bug 1848315 - CSP: Remove unused console messages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D186140
2024-03-01 10:59:09 +00:00
Iulian Moraru
97fd2dad96 Backed out 5 changesets (bug 1864896) for causing newtab failures related to bundles. CLOSED TREE
Backed out changeset 2cd1cc279f99 (bug 1864896)
Backed out changeset e48d6928bdcb (bug 1864896)
Backed out changeset 1abbcaf91693 (bug 1864896)
Backed out changeset 06a05e5257d5 (bug 1864896)
Backed out changeset b1955ae3e9e2 (bug 1864896)
2024-03-01 12:58:03 +02:00
Johannes J. Schmidt
47a03bc616 Bug 1845305 - remove null principal check for autocompletion r=dimi
Removing the null principal check enables autocompletion in sandboxed iframe forms.

fyi: tests are in the previous commit of the stack.

Differential Revision: https://phabricator.services.mozilla.com/D203241
2024-03-01 10:42:02 +00:00
Johannes J. Schmidt
497846017a Bug 1845305 - add tests for sandboxed iframe autocompletion r=dimi
Note the test fails, and the fix will be provided via the next patch in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D203240
2024-03-01 10:42:01 +00:00
Dave Townsend
071c853e6c Bug 1864896: Autofix unused function arguments (extensions/permissions). r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D202966
2024-03-01 10:10:10 +00:00
Dave Townsend
c9681ed1fb Bug 1864896: Autofix unused function arguments (experiments). r=barret
Differential Revision: https://phabricator.services.mozilla.com/D202965
2024-03-01 10:10:10 +00:00