Commit Graph

829692 Commits

Author SHA1 Message Date
stransky
ccdefe634b Bug 1812290 [Linux] Check if dmabuf surface copy works and don't use it on broken systems r=alwu,emilio,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D167917
2023-02-08 13:35:08 +00:00
Emilio Cobos Álvarez
6384797392 Bug 1812329 - Remove nsMenuBarFrame. r=smaug
This ended up being a lot more straight-forward than the menu changes.

TLDR:

 * nsMenuBarFrame -> XULMenuBarElement
 * nsMenuBarListener -> MenuBarListener

Rest should be rather straight-forward.

Depends on D168649

Differential Revision: https://phabricator.services.mozilla.com/D167809
2023-02-08 13:12:23 +00:00
Jari Jalkanen
030abfe7c4 Bug 1812243 - Rescan usages at QuotaClient initialization after crash. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D162584
2023-02-08 13:06:36 +00:00
Emilio Cobos Álvarez
94dabce14e Bug 1815558 - Clean up some MiscContainer string/atom usage, and optimize atom comparison on MiscContainer. r=smaug
Not sure if you think this is worth it, it might be in some cases where
we have pre-atomized stuff in the container.

Depends on D169142

Differential Revision: https://phabricator.services.mozilla.com/D169143
2023-02-08 13:06:19 +00:00
Peter Van der Beken
40c317a4de Bug 1795312 - Optimize serializing enums as JSON string keys for principals. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D166954
2023-02-08 12:57:10 +00:00
Peter Van der Beken
ac65f99ac2 Bug 1795312 - Avoid a Json::Value copy. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D166953
2023-02-08 12:57:10 +00:00
Peter Van der Beken
6fc2cc9d41 Bug 1795312 - Cache the Json::StreamWriterBuilder for serializing principals. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D166810
2023-02-08 12:57:09 +00:00
Andreas Farre
ff25742a1d Bug 1795312 - Don't Base64 encode principals when serializing. r=peterv
Base64 encoding is done to top-level principal and the sub-principals
of expanded principals. Getting rid of the Base64 encoding entirely
also lets us use jsoncpp consider expanded principals to be entirely
serialized as JSON.

Differential Revision: https://phabricator.services.mozilla.com/D166783
2023-02-08 12:57:09 +00:00
Sandor Molnar
28c0d45a55 Backed out changeset 8b8c8ae333a9 (bug 1812194) for causing crashes/asertion failures in dom/base/nsRange.cpp CLOSED TREE 2023-02-08 14:55:30 +02:00
Yoshi Cheng-Hao Huang
0f577f10c3 Bug 1815180 : Dump error message when import maps aren't allowed. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D169185
2023-02-08 12:22:04 +00:00
William Durand
d1c53f86f9 Bug 1798683 - Fix intermittent browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js. r=rpl CLOSED TREE
This patch attempts to fix intermittent failures by:

1. using `ensureMaximizedWindow()` where appropriate. While nothing
   seemed wrong per se with the previous approach, resizing to the
   original height was done to restore the previous window dimensions.
   Since the window is maximized before, it makes sense to reuse this
   helper function, especially given that it is a bit more robust than
   just awaiting an event.
2. not awaiting the `resize` event, which does not seem to be fired all
   the time when `resizeBy()` is used. It was mostly fine, except when
   it wasn't... Since we have a `.waitForCondition()` call right after,
   we can probably skip the await of this event.

Differential Revision: https://phabricator.services.mozilla.com/D169088
2023-02-08 09:52:44 +00:00
Sandor Molnar
5aff50ce87 Backed out changeset 549ce0549c2e (bug 1800417) for causing bc failures in browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-08 14:23:39 +02:00
Luca Greco
6811654c9d Bug 1788204 - Fix frequent intermittent browser_ext_windows_create.js failures on macos. r=willdurand
I've been tried to bisect if this intermittent has been raising in intermittency due to some change on the
Firefox side, but I kept hitting this failure locally on macos artifiacts debug buils consistently when
using --verify even when I went month back in mozilla-central revisions, which seems to suggest that
this particular intermittent failure have been around for a while and increased in frequency either
for some small timing changes that increased the change of hitting it in a debug build (either on the
Firefox or macOS windows management side), which is not going to be easy to confirm or bisect precisely.

Interestingly when the same test file runs locally on macos using --headless along with --verify, the test
is passing consistently (which makes me thing that the issue may be hit because a browser window created
as fullscreen may be transitioning to fullscreen state asynchronously enough to not be always be in fullscreen
mode by the time browser.window.create resolves the new window details and we hit the intermittent assertion
failure).

As an alternative to skip the entire test file on macos debug builds, this patch includes
a small change to the test case that makes sure that if the test is running on macos and the
new window state is not fullscreen as requested, it wait until it gets to the fullscreen state.

This change was enough to pass --verify locally on macos, and so it also confirms that the newly created
window is getting to the fullscreen state at some point even when it wasn't yet in the fullscreen state
by the time browser.windows.create resolves.

Differential Revision: https://phabricator.services.mozilla.com/D169108
2023-02-08 12:09:31 +00:00
Sandor Molnar
36677e335e Backed out changeset 1b8f8c838a20 (bug 1798683) for causing bc failures in browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-08 14:03:39 +02:00
William Durand
84dc10e35a Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169088

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-08 10:25:02 +00:00
Sandor Molnar
8539240aed Backed out changeset 6dbcf3dd30c4 (bug 1800417) for causing bc failures in browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js CLOSED TREE 2023-02-08 13:54:33 +02:00
Calixte
5272dbf105 Bug 1815195 - Get the bytes from pdf.js when saving a PDF in GeckoView r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D168972
2023-02-08 11:21:35 +00:00
Paul Adenot
6daada9f43 Bug 1703812 - Backout the whole series.
Differential Revision: https://phabricator.services.mozilla.com/D169083
2023-02-08 11:03:10 +00:00
Cristina Horotan
a5fbbc944b Backed out 2 changesets (bug 1814961) for causing XPCshell failures at test_rcwn_interrupted.js CLOSED TREE
Backed out changeset 60b65e604e1c (bug 1814961)
Backed out changeset c9c03c715fa0 (bug 1814961)
2023-02-08 13:06:26 +02:00
William Durand
3ab4cbac72 Bug 1800417 - Fix the use of both toolbarbutton-1 and subviewbutton CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Depends on D169088

Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-02-08 10:25:02 +00:00
Florian Quèze
b5a93c9176 Bug 1815642 - Capture the stack of adding timers named nonfunction:JS when adding profiler markers, r=canaltinova.
Differential Revision: https://phabricator.services.mozilla.com/D169177
2023-02-08 10:17:32 +00:00
Henrik Skupin
c9b2c13262 Bug 1814896 - [geckodriver] Update changeset for the 0.32.2 release. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D168986
2023-02-08 10:10:02 +00:00
Emilio Cobos Álvarez
cc4f53e484 Bug 1812194 - Add a missing null-check in content-visibility: auto handling. r=mrobinson
Differential Revision: https://phabricator.services.mozilla.com/D169085
2023-02-08 09:55:22 +00:00
William Durand
6df2779799 Bug 1798683 - Fix intermittent browser/components/extensions/test/browser/browser_unified_extensions_overflowable_toolbar.js. r=rpl
This patch attempts to fix intermittent failures by:

1. using `ensureMaximizedWindow()` where appropriate. While nothing
   seemed wrong per se with the previous approach, resizing to the
   original height was done to restore the previous window dimensions.
   Since the window is maximized before, it makes sense to reuse this
   helper function, especially given that it is a bit more robust than
   just awaiting an event.
2. not awaiting the `resize` event, which does not seem to be fired all
   the time when `resizeBy()` is used. It was mostly fine, except when
   it wasn't... Since we have a `.waitForCondition()` call right after,
   we can probably skip the await of this event.

Differential Revision: https://phabricator.services.mozilla.com/D169088
2023-02-08 09:52:44 +00:00
Valentin Gosu
815895b3bd Bug 1814961 - Clear mRaceCacheWithNetwork when a new request is performed r=necko-reviewers,kershaw
If a new network request is performed because when the cache wins
(either a revalidation, or because the cache entry is not complete) we need to
clear mRaceCacheWithNetwork so the network response is not ignored.

Differential Revision: https://phabricator.services.mozilla.com/D169065
2023-02-08 09:49:52 +00:00
Valentin Gosu
c4f78dd338 Bug 1814961 - Test that RCWN network response isn't ignored when triggeered by cache load r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D169064
2023-02-08 09:49:51 +00:00
Jon Coppeard
0d6760b754 Bug 1815415 - Fix GC parallel marking thread count parameter r=sfink
This is complicated because we have two thread count values here, because we
want to be able to change the marking thread count for experiments without
changing anything else.

The patch refactors thread related GC parameters into their own set/reset
methods so we can common up the updates that need to happen at the end. Then we
take care to expand the thread pool to the max of the two values, set the
helper thread system's maximum parallel GC tasks setting and update all our
counts based on the actual number of threads we end up with.

Differential Revision: https://phabricator.services.mozilla.com/D169061
2023-02-08 09:38:53 +00:00
Dão Gottwald
5f22583152 Bug 1815423 - Consolidate result button and chiclet colors. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D169070
2023-02-08 09:16:42 +00:00
Jonathan Kew
39f33c3573 Bug 1815391 - Pass system locale language when setting up fonts for an offscreen canvas. r=gfx-reviewers,lsalzman
This helps the offscreen-canvas measurements done by pdf.js to more closely match the
invisible text layer (used for search/selection/etc) in cases where the host system
locale is non-English and has different generic font prefs (e.g. Japanese).

(Not readily testable in CI because it'll only make a visible difference to behavior
when running with a system locale that has different font prefs.)

Differential Revision: https://phabricator.services.mozilla.com/D169136
2023-02-08 08:58:14 +00:00
Tooru Fujisawa
165c1fd3c0 Bug 1805622 - Part 12: Remove ParserBase::cx_. r=bthrall
Depends on D166157

Differential Revision: https://phabricator.services.mozilla.com/D166158
2023-02-08 08:57:00 +00:00
Tooru Fujisawa
2998ba9cba Bug 1805622 - Part 11: Use maybeCurrentJSContext in liftParserAtomToJSAtom. r=bthrall
Depends on D166156

Differential Revision: https://phabricator.services.mozilla.com/D166157
2023-02-08 08:57:00 +00:00
Tooru Fujisawa
1332606864 Bug 1805622 - Part 10: Use CompilationState.parserAllocScope for RegExp parsing. r=bthrall
Depends on D166155

Differential Revision: https://phabricator.services.mozilla.com/D166156
2023-02-08 08:57:00 +00:00
Tooru Fujisawa
579abdf228 Bug 1805622 - Part 9: Remove JSContext* parameter from CompileAsmJS. r=bthrall
Depends on D166154

Differential Revision: https://phabricator.services.mozilla.com/D166155
2023-02-08 08:56:59 +00:00
Tooru Fujisawa
a53bfa3bfb Bug 1805622 - Part 8: Remove unused JSContext* parameter. r=bthrall
Depends on D166153

Differential Revision: https://phabricator.services.mozilla.com/D166154
2023-02-08 08:56:58 +00:00
Tooru Fujisawa
5af8e61aea Bug 1805622 - Part 7: Use FrontendAllocator::new_ in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166153
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
1a8f4231b3 Bug 1805622 - Part 6: Use FrontendContext::hadErrors in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166152
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
cf326af463 Bug 1805622 - Part 5: Remove JSContext* parameter from ScriptSource::set* methods. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166151
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
45e4ebae95 Bug 1805622 - Part 4: Use maybeCurrentJSContext in ScriptSource::setDisplayURL. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166150
2023-02-08 08:56:56 +00:00
Tooru Fujisawa
765200f3ef Bug 1805622 - Part 3: Add FrontendContext variant of DuplicateString and use it in ScriptSource. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166149
2023-02-08 08:56:56 +00:00
Tooru Fujisawa
fa14b2e686 Bug 1805622 - Part 2: Do not use JSContext* in StringBuffer in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166148
2023-02-08 08:56:55 +00:00
Tooru Fujisawa
2685819c19 Bug 1805622 - Part 1: Remove unused forward declarations and includes. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166147
2023-02-08 08:56:55 +00:00
Tooru Fujisawa
335cae207e Bug 1805141 - Remove JSContext* from SharedContext. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166145
2023-02-08 08:56:54 +00:00
Marco Bonardo
18ea881847 Bug 1810772 - Stop recalculating frecency in Sync. r=daisuke,lina
Differential Revision: https://phabricator.services.mozilla.com/D168781
2023-02-08 08:54:58 +00:00
Marco Bonardo
bee082d5c5 Bug 1810772 - Stop recalculating frecency immediately for history removals. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D168780
2023-02-08 08:54:58 +00:00
Marco Bonardo
c0fd0ecffd Bug 1810772 - Stop recalculating frecency immediately for bookmarks. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D168779
2023-02-08 08:54:57 +00:00
Tooru Fujisawa
bd7358d5b5 Bug 1814550 - Part 2: Remove BytecodeEmitter::cx. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D168768
2023-02-08 08:32:27 +00:00
Tooru Fujisawa
1867a7a8cd Bug 1814550 - Part 1: Use 2 separate SharedImmutableScriptDataTable instances for main-thread and all-other threads. r=tcampbell
Introduce a per-process bytecode-deduplication table for use by off-main-thread
JS parsing. Parsing on the main-thread continues to use the per-JSRuntime table
but no longer needs to worry about locks.

Worker runtimes (with a parent JSRuntime) no longer get their own table and
instead use the per-process table since they are less sensitive to the
performance of the lock. This increases sharing opportunity (for memory
reduction) available to Workers.

Differential Revision: https://phabricator.services.mozilla.com/D168767
2023-02-08 08:32:27 +00:00
Andreas Pehrson
3c79e934f3 Bug 1814692 - Don't attempt realtime scheduling rtc::PlatformThreads. r=webrtc-reviewers,bwc
Differential Revision: https://phabricator.services.mozilla.com/D169036
2023-02-08 08:01:48 +00:00
Mozilla Releng Treescript
ce504e83ea no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> 1f99cb21664d124b45601a947f9a510eae6a6530
es-AR -> 92bdf724972522aafef031f3f73618038ef24320
es-MX -> cc83613c187830dfa0296360400dcdaa894c60b4
gn -> c0e6c2de46dafcfe183f66e06430f21bb1d86b19
hsb -> b92c654016373ff888f83cd97d018aae08485c26
hu -> 39daed60ecfb2369f23cd300d9fe5bfe82d02cef
ia -> 2ff9be2fa4609f383bebe28d9f77bc1133c60b27
nn-NO -> f73c684fef0dc14f20061a5abc6e82e235e027db
pt-BR -> 33abd4be510504439b4a37051df58e06a3541f70
sl -> 80c868d938a9fcfcd07acd6cc7263f753eaea9ea
sv-SE -> e354ae39a5edae50a7b88994a7f3030155a009e5
2023-02-08 06:58:11 +00:00
Hubert Boma Manilla
110232617a Bug 1811040 - [devtools] No longer search in blackboxed files r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168925
2023-02-08 06:14:46 +00:00