Commit Graph

834141 Commits

Author SHA1 Message Date
Norisz Fay
df789f1f2c Backed out changeset 8d5e4dfff15e (bug 1819456) for causing xpcshell failures on test_RemoteSettingsExperimentLoader.js 2023-03-14 04:15:21 +02:00
Butkovits Atila
640d009e7b Backed out changeset 21ac89d8a165 (bug 1820655) for causing Gecko Decision failure. CLOSED TREE 2023-03-14 03:20:05 +02:00
Mike Conley
3eb16d3b85 Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:06:42 +00:00
Shane Hughes
f81c207b37 Bug 1819456 - Update ASRouter messages when experiment recipes are updated. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D171939
2023-03-14 00:45:52 +00:00
Gijs Kruitbosch
bbe7f00942 Bug 1822072 - split up tabbrowser's addTab so it's easier to understand, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D170924
2023-03-14 00:29:26 +00:00
Gijs Kruitbosch
402b55c414 Bug 1738056 - use fluent to insert channel ref into about dialog instead of hoping nothing gets retranslated, r=mkaply,fluent-reviewers,flod
The extant code would fail if the user switched languages while the dialog was
open, as fluent would throw the manually-inserted content away. This patch
properly uses fluent to insert the channel, which also means we don't need to
wait for it to happen after `load` (because of the previous patch in this
stack), it'll be there immediately.

Differential Revision: https://phabricator.services.mozilla.com/D172299
2023-03-14 00:03:42 +00:00
Gijs Kruitbosch
c1ce490e37 Bug 1738056 - stop initializing the about window asynchronously and manually sizing it, r=emilio,mconley
Differential Revision: https://phabricator.services.mozilla.com/D172007
2023-03-14 00:03:42 +00:00
Daisuke Akatsuka
62cd23e2cf Bug 1817208: Introduce search_shortcut_button type for immediate search on oneoff button r=mak
Differential Revision: https://phabricator.services.mozilla.com/D172207
2023-03-13 23:59:06 +00:00
Jonathan Kew
10860fc8ff Bug 1822098 - Inline a bunch of trivial gfxContext accessors and other small methods. r=gfx-reviewers,lsalzman
And sprinkle some extra const around, and remove a few unused bits.

Differential Revision: https://phabricator.services.mozilla.com/D172440
2023-03-13 23:08:03 +00:00
Jonathan Kew
f6403db704 Bug 1822018 - Remove gfxContext::mTransform, just use mAzureState.transform directly. r=gfx-reviewers,lsalzman
Depends on D172405

Differential Revision: https://phabricator.services.mozilla.com/D172439
2023-03-13 23:08:02 +00:00
Jonathan Kew
e9b404b8b8 Bug 1821935 - Store current state directly in gfxContext, to avoid a separate allocation in the common case where Save/Restore is not used on the context. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172405
2023-03-13 23:08:02 +00:00
Yoshi Cheng-Hao Huang
4d795c2cbb Bug 1572644 - Part 14: Add test case for fetch a child module script failed. r=jonco
Depends on D166551

Differential Revision: https://phabricator.services.mozilla.com/D170163
2023-03-13 22:59:43 +00:00
Yoshi Cheng-Hao Huang
30e11219c7 Bug 1572644 - Part 13: Update ini files in wpt/. r=jonco,yulia
There are still some failed test cases in audio-worklet-referrer.https.html.ini,
which is due to https://bugzilla.mozilla.org/show_bug.cgi?id=1808189.



Depends on D170162

Differential Revision: https://phabricator.services.mozilla.com/D166551
2023-03-13 22:59:42 +00:00
Yoshi Cheng-Hao Huang
9c0ede4fbe Bug 1572644 - Part 12-2: Add mErrorToRethrow to hold the JS::Value in WorkletFetchHandler. r=jonco,yulia
Add a JS::Heap<JS::Value> in WorkletFetchHandler to hold the script's
error to rethrow object.

This also requires to change WorkletFetchHandler to a CC class so it can trace the
mErrorToRetrhow



Depends on D166550

Differential Revision: https://phabricator.services.mozilla.com/D170162
2023-03-13 22:59:42 +00:00
Yoshi Cheng-Hao Huang
494e98f80d Bug 1572644 - Part 12-1: Using StructuredCloneHolder to pass a JS::Value from a worklet thread to main thread. r=jonco,yulia
Depends on D170161

Differential Revision: https://phabricator.services.mozilla.com/D166550
2023-03-13 22:59:41 +00:00
Yoshi Cheng-Hao Huang
a582a668da Bug 1572644 - Part 11-2: Preload localized error msg and format it when resolving failed. r=jonco,yulia
Depends on D166549

Differential Revision: https://phabricator.services.mozilla.com/D170161
2023-03-13 22:59:41 +00:00
Yoshi Cheng-Hao Huang
c01828aba9 Bug 1572644 - Part 11-1: Add a virtual method GetResolveFailureMessage in ModuleLoaderBase. r=jonco,yulia
The virtual method will be overrided by WorkletModuleLoader in the next
patch.



Depends on D166548

Differential Revision: https://phabricator.services.mozilla.com/D166549
2023-03-13 22:59:41 +00:00
Yoshi Cheng-Hao Huang
56bb7ebbad Bug 1572644 - Part 10: Implement WorkletModuleLoader::OnModuleLoadComplete. r=jonco,yulia
Depends on D166547

Differential Revision: https://phabricator.services.mozilla.com/D166548
2023-03-13 22:59:40 +00:00
Yoshi Cheng-Hao Huang
4e6f7d0790 Bug 1572644 - Part 9: Create static import. r=jonco,yulia
Depends on D166546

Differential Revision: https://phabricator.services.mozilla.com/D166547
2023-03-13 22:59:40 +00:00
Yoshi Cheng-Hao Huang
becf8aade2 Bug 1572644 - Part 8: Compile fetched module. r=jonco,yulia
The compile options is from ExecutionRunnable::ParseAndLinkModule of the
previous patch, or could be found in
https://searchfox.org/mozilla-central/rev/fb9a504ca73529fa550efe488db2a012a4bf5169/dom/worklet/Worklet.cpp#386-389



Depends on D166545

Differential Revision: https://phabricator.services.mozilla.com/D166546
2023-03-13 22:59:39 +00:00
Yoshi Cheng-Hao Huang
7d11c4b566 Bug 1572644 - Part 7-2: Add FetchCompleteRunnable to call OnFetchComplete. r=jonco,yulia
Add a Runnable class called FetchCompleteRunnable to be dispatched from
main thread to worklet thread to call
ModuleLoadRequest::OnFetchComplete.



Depends on D167468

Differential Revision: https://phabricator.services.mozilla.com/D166545
2023-03-13 22:59:39 +00:00
Yoshi Cheng-Hao Huang
78a276b700 Bug 1572644 - Part 7-1: Add a hash table to map from nsIURI to ModuleLoadRequest. r=jonco,yulia
Add a nsRefPtrHashtable<nsURIHashKey, ModuleLoadRequest> called mFetchingRequests
to map from nsIURI to ModuleLoadRequest.

When WorkletModuleLoader::StartFetch is called, it will insert an entry
into the table. Later when the main thread finishes the fetching of the module
script, we will use the URI to get the ModuleLoadRequest on worklet
thread and call ModuleLoadRequest::OnFetchComplete.



Depends on D166544

Differential Revision: https://phabricator.services.mozilla.com/D167468
2023-03-13 22:59:39 +00:00
Yoshi Cheng-Hao Huang
a8a2a6bb55 Bug 1572644 - Part 6: Set CORS and referrer on the Request. r=jonco,yulia
Depends on D166543

Differential Revision: https://phabricator.services.mozilla.com/D166544
2023-03-13 22:59:38 +00:00
Yoshi Cheng-Hao Huang
2218ab7729 Bug 1572644 - Part 5-2: Implement WorkletModuleLoader::StartFetch with WorkletFetchHandler::StartFetch method. r=jonco,yulia
Move the fetch code into WorkletFetchHandler::StartFetch, which will be
called by WorkletModuleLoader::StartFetch.



Depends on D167041

Differential Revision: https://phabricator.services.mozilla.com/D166543
2023-03-13 22:59:38 +00:00
Yoshi Cheng-Hao Huang
9d29cf10c9 Bug 1572644 - Part 5-1: Remove mErrorStatus and mURL from WorkletFetchHandler. r=jonco,yulia
WorkletFetchHandler will fetch not only the top level module script
but also its dependent modules, so the mURL should be removed.

For the mErrorStatus, if the existing WorkletFetchHandler has been rejected,
we only handle the case of AbortError here. For the case when "the script's
error to rethrow is not null", we will handle that in the later patch.
See:
https://phabricator.services.mozilla.com/D170162 and
https://phabricator.services.mozilla.com/D166550



Depends on D166542

Differential Revision: https://phabricator.services.mozilla.com/D167041
2023-03-13 22:59:37 +00:00
Yoshi Cheng-Hao Huang
7ae6a1f9c2 Bug 1572644 - Part 4: Add WorkletLoadContext and nsMainThreadPtrHandle to delegate WorkletFetchHandler on the worklet thread. r=jonco,yulia
Add nsMainThreadPtrHandle to delegate WorkletFetchHandler.
Add WorkletLoadContext to wrap nsMainThreadPtrHandle.



Depends on D166541

Differential Revision: https://phabricator.services.mozilla.com/D166542
2023-03-13 22:59:37 +00:00
Yoshi Cheng-Hao Huang
631e4d3f04 Bug 1572644 - Part 3: Add StartModuleLoadRunnable. r=jonco,yulia
Add a Runnable class called StartModuleLoadRunnable, which is dispatched
from main thread to worklet thread to call
ModuleLoadRequest::StartModuleLoad.



Depends on D166540

Differential Revision: https://phabricator.services.mozilla.com/D166541
2023-03-13 22:59:37 +00:00
Yoshi Cheng-Hao Huang
3e8d30eaf8 Bug 1572644 - Part 2: Init WorkletModuleLoader when WorkletGlobalScope is created. r=jonco,yulia
Depends on D167042

Differential Revision: https://phabricator.services.mozilla.com/D166540
2023-03-13 22:59:36 +00:00
Yoshi Cheng-Hao Huang
ec1acdbab1 Bug 1572644 - Part 1-2: Add WorkletScriptHandler. r=jonco,yulia
Add a class called WorkletScriptHandler to handle the loading of each
module script.



Depends on D166539

Differential Revision: https://phabricator.services.mozilla.com/D167042
2023-03-13 22:59:36 +00:00
Yoshi Cheng-Hao Huang
71c228fe15 Bug 1572644 - Part 1-1: Move WorkletFetchHandler to its own file. r=jonco
This is a refactoring to move WorkletFetchHandler to its own file, so
later other classes can include its header.

Differential Revision: https://phabricator.services.mozilla.com/D166539
2023-03-13 22:59:35 +00:00
Leila Kaltouma
102a50ac7e Bug 1768694 - Mute/Unmute is out of sync with original video on ici.radio-canada.ca. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D172362
2023-03-13 22:31:10 +00:00
Emilio Cobos Álvarez
c0f66baed0 Bug 1821603 - Fix writing-mode mismatch in visibility: collapse handling. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D172438
2023-03-13 22:19:47 +00:00
Butkovits Atila
6c095148a2 Backed out changeset 7601f64438e4 (bug 1818828) for causing xpcshell failures at test_simple_conn.js. CLOSED TREE 2023-03-14 02:03:11 +02:00
Norisz Fay
4a35828e21 Backed out 2 changesets (bug 1820947) for causing build bustage CLOSED TREE
Backed out changeset eb6419bb8748 (bug 1820947)
Backed out changeset 9990083e8ea2 (bug 1820947)
2023-03-14 01:20:54 +02:00
Norisz Fay
0eabfe04d0 Backed out changeset e3fb28ffc489 (bug 1822131) for causing reftest failures on 540247-1.xhtml 2023-03-14 01:20:07 +02:00
Issam Mani
ab4c7cefc9 Bug 1804502 - Add test cases for telemetry events for relay integration. r=credential-management-reviewers,dimi
Depends on D163911

Differential Revision: https://phabricator.services.mozilla.com/D171190
2023-03-13 22:17:39 +00:00
Andreas Pehrson
78b2232569 Bug 1822196 - Lock the elm arcconfig to elm. r=ng
Together with bug 1820756 this will prevent accidentally merging the elm
arcconfig to central.

Differential Revision: https://phabricator.services.mozilla.com/D172499
2023-03-13 22:14:52 +00:00
Katherine Patenio
bd082c4285 Bug 1819079 - hide PiP cc button on hover only if PiP window is not full screen r=pip-reviewers,bnasar,niklas
Differential Revision: https://phabricator.services.mozilla.com/D172064
2023-03-13 22:10:44 +00:00
edgul
36922d4e37 Bug 1818828 - Added basic DOM-using xpcshell testing for simple webtransport coverage. r=necko-reviewers,kershaw,jesup
Differential Revision: https://phabricator.services.mozilla.com/D170955
2023-03-13 21:30:48 +00:00
CanadaHonk
3bbca01da2 Bug 1736914 - Implement prefers-reduced-transparency media query r=geckoview-reviewers,emilio,jonalmeida,ohall
Implemented the prefers-reduced-transparency media query for all
platforms.

Windows and Mac have specific settings which are used, others (Android
and Linux/GTK) have it enabled if prefers-reduced-motion is also enabled
as there is no dedicated setting to check.

Locked behind new pref `layout.css.prefers-reduced-transparency.enabled`,
off by default always for now.

Also added new WPT tests (none previously).

Demo video: https://goose.icu/firefox_prt.mp4
Test page: https://goose.icu/prefers-reduced-transparency

Differential Revision: https://phabricator.services.mozilla.com/D172424
2023-03-13 21:30:17 +00:00
lplanch
23b25a9b51 Bug 1559986 - Added special characters to randomly generated passwords. r=credential-management-reviewers,sgalich,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D167062
2023-03-13 21:21:02 +00:00
alwu
e5f3fa59b7 Bug 1820650 - part6 : fix empty key id and print it out in the log. r=jolin
We didn't set the length of `aByteArrayOut` before, which results in an
empty array size, so its content didn't get passed over IPC.

Depends on D171804

Differential Revision: https://phabricator.services.mozilla.com/D172194
2023-03-13 21:17:01 +00:00
alwu
8868041e9c Bug 1820650 - part5 : fix incorrect assertion. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171804
2023-03-13 21:17:01 +00:00
alwu
cc93988702 Bug 1820650 - part4 : set CDMProxy to the media engine. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171803
2023-03-13 21:17:01 +00:00
alwu
b66946d324 Bug 1820650 - part3 : print cdm id in the log. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171802
2023-03-13 21:17:00 +00:00
alwu
dd41c04b56 Bug 1820650 - part2 : send CDM proxy id to the MF CDM process. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D171801
2023-03-13 21:17:00 +00:00
alwu
457bb1e28c Bug 1820650 - part1 : add another layer for setting CDM proxy. r=jolin
For media engine playback, we would like to let ExternalStateMachine
being aware of the CDM proxy, so that it can pass the the Id of MFCDM
actor to the remote media engine via MFMediaEngineChild in following
patches.

Differential Revision: https://phabricator.services.mozilla.com/D171800
2023-03-13 21:16:59 +00:00
Botond Ballo
1cd16f816d Bug 1821838 - Protect access to mState in AsyncPanZoomController::OnPanEnd() with mRecursiveMutex. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D172468
2023-03-13 21:16:44 +00:00
Mike Hommey
2cb3bbb9ce Bug 1820947 - Use "new style" sysroot when building Android compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172073
2023-03-13 21:14:47 +00:00
Mike Hommey
f5844f16c5 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-13 21:14:47 +00:00