Commit graph

820039 commits

Author SHA1 Message Date
Mike Hommey
d4c5ae107b Bug 1800776 - Remove inline regex flags in .hgignore. r=firefox-build-system-reviewers,andi
Python 3.11 doesn't support those anymore.

Differential Revision: https://phabricator.services.mozilla.com/D162186
2022-11-16 08:26:01 +00:00
Marco Bonardo
bb993e6a9f Bug 1800371 - Optimize orphan icons delete query. r=Standard8
Avoids a table scan, saving some time.
Functionality is already covered by existing tests.

Differential Revision: https://phabricator.services.mozilla.com/D161957
2022-11-16 08:20:03 +00:00
Mozilla Releng Treescript
d0e31467ac no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
oc -> da75f0f3902fa845e14da7069df8a0cac44f81e8
tg -> 3d115db2d6602267ccaa023cdb41ef86bfc310a8
2022-11-16 06:57:51 +00:00
Mike Hommey
58c00fe168 Bug 1800462 - Revert the Windows part of bug 1791476. r=firefox-build-system-reviewers,andi
Considering the difficulty to figure out what's going wrong because none
of members of the build team can reproduce this, and considering that
the problem bug 1791476 addresses only affects TSAN for the moment, and
TSAN is not supported on Windows, let's just go back to what the linker
wrapper was before bug 1791476 on Windows, which will at least unblock
people.

We'll eventually have to figure out what's going wrong, but that's for
another day.

Differential Revision: https://phabricator.services.mozilla.com/D162179
2022-11-16 05:35:20 +00:00
ahochheiden
9b7eee2c37 Bug 1800225 - Only realpath the prefix when resolving the sysconfig packages path r=firefox-build-system-reviewers,glandium
On POSIX platforms there can be `lib` and `lib64` for `site-packages`.
On Fedora35 once a virtualenv is created, `lib64` is a symlink of `lib`.
Since we can determine what these paths will be before the virtualenv is
created, `realpath` has different results before/after, which is
problematic for our `pthfile`.

Since we only care about resolving the symlink in the prefix (to keep it
in line with the `topobjdir`, we can simply only `realpath` that and
disregard that there's a symlink between `lib` and `lib64`, which makes
our `pthfile` that's created and expected always the same on all
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D162136
2022-11-16 03:26:58 +00:00
Marian-Vasile Laza
bff0d2da74 Backed out changeset ef5db6a50556 (bug 1673047) for causing xpcshell failures on test_IE_bookmarks.js. CLOSED TREE 2022-11-16 04:10:02 +02:00
Chris Peterson
9e50a89085 Bug 1800293 - mfbt: Don't use std::is_literal_type when compiling as C++20. r=glandium
`std::is_literal_type` was deprecated in C++17 and removed in C++20. Continue using it when compiling as C++17 to retain what benefits it does provide for generic code.

> The `is_literal` type trait offers negligible value to generic code, as what is really needed is the ability to know that a specific construction would produce constant initialization. The core term of a literal type having at least one constexpr constructor is too weak to be used meaningfully.

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0174r2.html

https://en.cppreference.com/w/cpp/types/is_literal_type

Differential Revision: https://phabricator.services.mozilla.com/D161952
2022-11-16 00:54:27 +00:00
Marian-Vasile Laza
2744551e86 Backed out changeset 4e7cb3268e86 (bug 1798291) for causing python failures on test_recursivemake.py. CLOSED TREE 2022-11-16 02:54:47 +02:00
Arthur Carcano
c3c645351f Bug 1798291 - Use a common CARGO_TARGET_DIR for all crates. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D160777
2022-11-16 00:33:08 +00:00
Masayuki Nakano
ad4f56856b Bug 1800553 - part 2: Change HTMLAnchorElement::GetText to a const method r=smaug
This needs to change `nsContentUtils` methods because of used by the method.
Then, we can make some there callers are also `const` methods.

Depends on D162065

Differential Revision: https://phabricator.services.mozilla.com/D162066
2022-11-16 00:21:30 +00:00
Masayuki Nakano
bb73eac1f4 Bug 1800553 - part 1: Change most getter methods of HTMLAnchorElement to const methods r=smaug
Most of them are used only by the WebIDL bindings. Therefore, this fixes only
one caller in `HTMLEditUtils`.

`GetText` requires to change `nsContentUtils`, therefore it'll be done by the
following patch.

Differential Revision: https://phabricator.services.mozilla.com/D162065
2022-11-16 00:21:30 +00:00
Timothy Nikkel
1358ce8ff1 Bug 1799425. Only set checkboard flag when adding background color item for root content document. r=emilio
Webrender uses this flag as a hint to separate mix blend containers so it should only be present on the root content document.

Differential Revision: https://phabricator.services.mozilla.com/D162046
2022-11-15 23:03:49 +00:00
Marian-Vasile Laza
9c44d165bb Backed out 3 changesets (bug 1791633) for causing bustages on TransportSecurityInfo.cpp. CLOSED TREE
Backed out changeset 23b864e14db0 (bug 1791633)
Backed out changeset 0bcba3375ec0 (bug 1791633)
Backed out changeset ab0ea0d68f5c (bug 1791633)
2022-11-15 23:51:58 +02:00
Gabriele Svelto
ff4b800bb2 Bug 1775039 - Do not crash when failing to set Breakpad's exception handler thread's name r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D161642
2022-11-15 21:18:42 +00:00
brian
6b1b824b72 Bug 1673047 - Remove browser.migrate.showBookmarksToolbarAfterMigration pref and set the default behavior to the 'true' branch. r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D161375
2022-11-15 21:08:14 +00:00
Kershaw Chang
f69f9b2f99 Bug 1797729 - Test case, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D161789
2022-11-15 20:37:40 +00:00
Adam Vandolder
d7e3ad7220 Bug 1632975 - Run microtask checkpoint before processing script. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D160988
2022-11-15 20:24:15 +00:00
Jon Coppeard
f4b3c97a4a Bug 1693223 - Fix gray marking assertions in ProxyObject::setPrivate r=sfink
Currently this doesn't take account of the fact that gray bits may not be
corrent during incremental GC. The provided API function handles this.

Differential Revision: https://phabricator.services.mozilla.com/D162099
2022-11-15 20:07:16 +00:00
Dana Keeler
0a13b94a8f Bug 1791633 - separate nsITLSSocketControl from nsITransportSecurityInfo r=necko-reviewers,kershaw,jschanck
Depends on D160311

Differential Revision: https://phabricator.services.mozilla.com/D160313
2022-11-15 20:03:29 +00:00
Dana Keeler
21ac70dabe Bug 1791633 - rename nsISSLSocketControl to nsITLSSocketControl and move it and nsITransportSecurityInfo to PSM r=necko-reviewers,kershaw
Depends on D160310

Differential Revision: https://phabricator.services.mozilla.com/D160311
2022-11-15 20:03:29 +00:00
Dana Keeler
bd6502dc63 Bug 1791633 - rename nsNSSSocketInfo to NSSSocketControl and move to its own file r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D160310
2022-11-15 20:03:28 +00:00
Greg Stoll
7b4e5a3e2f Bug 1798796 - ignore thread exit codes in ASAN builds for a few tests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D162134
2022-11-15 20:01:53 +00:00
alwu
4526ffab6a Bug 1800525 - Update owner and peers for 'Core: Media Playback'. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D162030
2022-11-15 19:51:23 +00:00
Marian-Vasile Laza
3092d1e9db Backed out 2 changesets (bug 1799947) for causing browserAction bc, mochitest, devtools related failures. CLOSED TREE
Backed out changeset ff58300200c4 (bug 1799947)
Backed out changeset 517df40ddcd4 (bug 1799947)
2022-11-15 22:38:24 +02:00
Morgan Rae Reschenberg
46439cea0c Bug 1774330: Only return ancestors from ChildAtPoint r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D160849
2022-11-15 19:30:12 +00:00
Bobby Holley
f76ebbd777 Bug 1800576 — Site permission consent flow should describe the nature of the add-on in the first panel. r=rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D162069
2022-11-15 19:15:28 +00:00
Emilio Cobos Álvarez
a07e8ff8eb Bug 1800473 - Remove custom devtools highlighters for XUL windows. r=nchevobbe
For a while we've supported nsCanvasFrame in XUL windows too, so this
shouldn't be needed.

Differential Revision: https://phabricator.services.mozilla.com/D162000
2022-11-15 19:14:59 +00:00
Mozilla Releng Treescript
ca71f78a3c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 4e470f47b18f6ae326c89f885b45bed7c3f979ac
da -> 518aaf9ab72d9c6c60817292bfd388f2a8b2747b
fi -> f7c89d63171aa6a20df64c7bf5210ecce85258ea
gn -> d29869a0f58e48c947e9f672d2d33fcfc7aa4c34
hsb -> 182a7e5c9858392e1dc95f0882d9755128da6993
it -> 0d09be56b521e37ea9a48bea452541b2b8855220
kk -> 92df8e4f4476d7c0744f51e3f6ab55e999d295fa
lo -> 23d8adc00cead30153717bcbb7d274847bec34f5
pt-PT -> c570bea2b629b5f7971e712a8c69dbd5491b1002
tg -> b0f606d88f3882aa14e01bcc12f53530e961951e
2022-11-15 19:05:35 +00:00
alwu
cb93cefdcc Bug 1800547 - add some profiler markers for media engine playback. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D162055
2022-11-15 18:45:56 +00:00
Mike Conley
7f4c164e0d Bug 1799947 - Update existing tests to put browser_action's into the navbar by default. r=willdurand,extension-reviewers
We had a number of tests that assumed that when adding a browser_action without
specifying the default_area, that the button would enter the navbar. The previous
patch in this series changes that assumption when the Unified Extensions UI is
enabled.

Instead of updating all of these tests to add additional steps to move the
browser_action's out to the navbar after adding them, I've gone ahead and
updated them to default their browser_action's to the navbar instead.

Differential Revision: https://phabricator.services.mozilla.com/D161721
2022-11-15 18:37:31 +00:00
Mike Conley
2b789d1c7f Bug 1799947 - With Unified Extensions UI, make addons panel the fallback area for browser_actions. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D161720
2022-11-15 18:37:31 +00:00
alwu
a8b32ceca0 Bug 1800233 - part2 : add test cases to ensure the position won't be changed to zero incorrectly after seeking. r=padenot
Depends on D162025

Differential Revision: https://phabricator.services.mozilla.com/D162026
2022-11-15 18:32:42 +00:00
alwu
0017b58147 Bug 1800233 - part1 : only seek back to the head when all tracks reach to EOS already. r=padenot
This patch fixes the incorrect condition for the single track playback,
because the EOS flag for the nonexistent track would always be true.

Eg. for audio-only playback, `mIsReachingVideoEOS` is always true.

Differential Revision: https://phabricator.services.mozilla.com/D162025
2022-11-15 18:32:41 +00:00
Calixte
76e589d8af Bug 1800694 - Update pdf.js to new version c7d6ab2f7123c5a65155c55aa19d9d9abd8c2ff2 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D162121
2022-11-15 18:26:11 +00:00
Sean Feng
c2c26b3674 Bug 1800658 - Enable the partially implemented ORB in Nightly again r=smaug
All known regressions are fixed, we should try this again.

Differential Revision: https://phabricator.services.mozilla.com/D162114
2022-11-15 18:01:04 +00:00
Joel Maher
bf4b376774 Bug 1800174 - adjust error reporter to mark test-crash as ok if expecting a crash. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D162047
2022-11-15 17:55:40 +00:00
James Graham
081f412666 Bug 1800494 - Stop using dim terminal style, r=ahochheiden
This appears to be unsupported by blessed. Instead use 'bright_black' which is typically
mapped to some shade of grey.

Differential Revision: https://phabricator.services.mozilla.com/D162094
2022-11-15 17:39:02 +00:00
Nika Layzell
e8e1f6902e Bug 1800295 - Delete the Viaduct XPCOM interface, r=chutten,markh
This XPCOM interface was being initialized and used, and was unnecessary.
This patch removes it completely to simplify things, initializing
viaduct during xpcom startup instead. This is done rather than keeping
it lazy and tied to FOG startup, as the implementation just sets a
static atomic to a function pointer.

This makes no changes to anything which actually uses viaduct, which is
done through the previously mentioned static atomic.

Differential Revision: https://phabricator.services.mozilla.com/D162010
2022-11-15 17:25:46 +00:00
Neil Deakin
260bbc1db2 Bug 1219775 , focus the url bar when opening a new tab while in fullscreen mode, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D161517
2022-11-15 17:15:51 +00:00
Jan Varga
7390297678 Bug 1790207 - Fix the function for comparing storage keys; r=dom-storage-reviewers,jesup,asuth
Differential Revision: https://phabricator.services.mozilla.com/D162089
2022-11-15 17:13:02 +00:00
Jan Varga
f40ce49b02 Bug 1790207 - Forward declaration of mozilla::Result in nsIGlobalObject.h and other cleanup; r=dom-storage-reviewers,jesup
Depends on D162087

Differential Revision: https://phabricator.services.mozilla.com/D162088
2022-11-15 17:13:02 +00:00
Jan Varga
7ce6e92fa1 Bug 1790207 - Change nsIGlobalObject::GetStorageKey to return NS_ERROR_NOT_AVAILABLE by default; r=dom-storage-reviewers,jesup,asuth
nsGlobalWindowInner, WorkerGlobalScopeBase, BackstagePas and SandboxPrivate now
explicitly provide GetStorageKey implementation which explicitly block null and
expanded principals. All other globals (nsGlobalWindowOuter, SimpleGlobalObject,
ShadowRealmGlobalScope and WorkletGlobalScope) inherit the default
implementation which returns NS_ERROR_NOT_AVAILABLE.

Differential Revision: https://phabricator.services.mozilla.com/D162087
2022-11-15 17:13:01 +00:00
Randell Jesup
229303901a Bug 1790207: Provide cross-origin security checks for OPFS r=nika,asuth
Differential Revision: https://phabricator.services.mozilla.com/D157892
2022-11-15 17:13:01 +00:00
Julian Descottes
f0f16aa8ec Bug 1799831 - [devtools] Add test for netmonitor/src/components/request-details/CachePanel.js r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D161732
2022-11-15 17:08:53 +00:00
Drew Willcoxon
da757893d4 Bug 1800184 - Don't record quick suggest impression telemetry when the result is hidden. r=dao
This adds `result.isVisible`. Like `rowIndex`, it's updated by the view.
UrlbarProviderQuickSuggest will skip impression telemetry updates (and
impression stats updates too) when it's false.

Please see bug 1800184 for background.

Differential Revision: https://phabricator.services.mozilla.com/D161866
2022-11-15 17:05:22 +00:00
Mike Conley
86b8c18032 Bug 1782203 - Add tests for the new Pin to Toolbar context menu item. r=willdurand,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161338
2022-11-15 16:37:24 +00:00
Mike Conley
8c85e4e7e4 Bug 1782203 - Unbreak existing context menu tests for Unified Extensions UI mode. r=willdurand,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161337
2022-11-15 16:37:23 +00:00
Mike Conley
1f6c401024 Bug 1782203 - Add context menu items for pinning and unpinning addon buttons to the toolbar. r=willdurand,extension-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D161200
2022-11-15 16:37:23 +00:00
Emilio Cobos Álvarez
b4e1a18061 Bug 1797280 - Fix windows 7 selectors to avoid overriding fullscreentoolbar rules. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D162115
2022-11-15 16:28:35 +00:00
Emilio Cobos Álvarez
368171d435 Bug 1800684 - Remove print_via_parent. r=dshin
For a while it was true everywhere but android, but it's been true
unconditionally since forever.

Differential Revision: https://phabricator.services.mozilla.com/D162116
2022-11-15 16:19:30 +00:00