Commit Graph

1178 Commits

Author SHA1 Message Date
Daisuke Akatsuka
8b5d93d099 Bug 1867273: Reflect the date of bookmark addition when moving bookmarks r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D196144
2023-12-15 01:55:21 +00:00
alwu
9fd388d93d Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-06 18:16:06 +00:00
alwu
32bb8ca196 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 18:16:05 +00:00
alwu
7fc665b682 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 18:16:05 +00:00
Norisz Fay
9fa5225708 Backed out 9 changesets (bug 1846848) for causing bustages on UtilityAudioDecoderParent.cpp
Backed out changeset 3ef263566f4f (bug 1846848)
Backed out changeset 8499da15a162 (bug 1846848)
Backed out changeset 47ebd92f3778 (bug 1846848)
Backed out changeset 373b7ca4d079 (bug 1846848)
Backed out changeset ca7cb687ee2c (bug 1846848)
Backed out changeset bf0bebf8c994 (bug 1846848)
Backed out changeset 26cccc9b7894 (bug 1846848)
Backed out changeset d655082ad764 (bug 1846848)
Backed out changeset 4a1db8b9112c (bug 1846848)
2023-12-06 13:08:22 +02:00
alwu
15a965b141 Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-06 09:04:04 +00:00
alwu
218d2b5807 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 09:04:04 +00:00
alwu
d9836bbabe Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 09:04:03 +00:00
Iulian Moraru
413b88689f Backed out 9 changesets (bug 1846848) for causing multiple build bustages. CLOSED TREE
Backed out changeset e5333509733c (bug 1846848)
Backed out changeset bf4ac7f56486 (bug 1846848)
Backed out changeset 5d794cd95fc7 (bug 1846848)
Backed out changeset 203f9c356a36 (bug 1846848)
Backed out changeset a755043387c2 (bug 1846848)
Backed out changeset 2fdeb001c68a (bug 1846848)
Backed out changeset 9a13867df758 (bug 1846848)
Backed out changeset 773368f5552d (bug 1846848)
Backed out changeset 43360fe1a5fa (bug 1846848)
2023-12-05 05:41:47 +02:00
alwu
b702a59264 Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-05 01:13:49 +00:00
alwu
bae8ed95b1 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-05 01:13:48 +00:00
alwu
999157ad9b Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-05 01:13:48 +00:00
Tom Schuster
3515693b25 Bug 1867027 - Move some ChromeOnly WebIDL files to the corresponding directory. r=webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D194873
2023-11-28 21:44:20 +00:00
Nicolas Chevobbe
a41df8b4ed Bug 1866707 - Make InspectorUtils.isInheritedProperty check property definition in custom properties registry. r=zrhoffman.
Since registered custom properties can be specified to not inherit,
DevTools need to retrieve this information in order to display accurate
data in the rules view.
The method signature is changed and now take a Document so we can lookup
the registry.
The existing test is updated with registered and unregistered custom properties.

Next patch in queue handles the impact in DevTools code.

Differential Revision: https://phabricator.services.mozilla.com/D194629
2023-11-27 18:39:10 +00:00
Mike Conley
131e0c53af Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181675
2023-11-23 18:28:31 +00:00
Cosmin Sabou
48999df658 Backed out 6 changesets (bug 1529276) for causing windows non-unified build bustages.
Backed out changeset ce28bf4ceb89 (bug 1529276)
Backed out changeset d1f5c71b03c2 (bug 1529276)
Backed out changeset 4b9ca2a0747d (bug 1529276)
Backed out changeset 76e6475c68ba (bug 1529276)
Backed out changeset 2aebd14532e7 (bug 1529276)
Backed out changeset f3724116a44d (bug 1529276)
2023-11-23 02:04:24 +02:00
Mike Conley
481dde8e1f Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181675
2023-11-22 21:28:56 +00:00
Sandor Molnar
916d73a100 Backed out 6 changesets (bug 1529276) for causing build bustages. CLOSED TREE
Backed out changeset bbc273ed7b53 (bug 1529276)
Backed out changeset cecadb59647e (bug 1529276)
Backed out changeset 45bb7eff2174 (bug 1529276)
Backed out changeset 18392ebcd16d (bug 1529276)
Backed out changeset e0776e6b4cff (bug 1529276)
Backed out changeset 666e52d79396 (bug 1529276)
2023-11-22 21:49:57 +02:00
Mike Conley
dc45383b7f Bug 1529276 - Create a new JumpListBuilder implementation that is simpler and doesn't block the main thread. r=mhowell,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181675
2023-11-22 19:24:07 +00:00
Jonathan Watt
c96a66c3de Bug 1865480. Rename nsIContentViewer to nsIDocumentViewer. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D193987
2023-11-21 12:45:59 +00:00
Alexandre Poirot
b3006699b6 Bug 1864128 - Allow loading JSProcess Actors in the DevTools specific module loader. r=arai
Passing `loadInDevToolsLoader` to JSProcess actor options will force loading
both parent and content modules in the distinct module loader used by DevTools.

This distinct module loader is maintained by mozJSModuleLoader and is used
by the DevTools Browser Console/Toolbox to debug privileged JS code
typically using the "shared JSM Global" from DevTools modules
loaded in a distinct and specific DevTools module loader.

Differential Revision: https://phabricator.services.mozilla.com/D193280
2023-11-21 10:02:47 +00:00
Daisuke Akatsuka
a899e73b55 Bug 1855386: Remove nsNavBookmarks::ResultNodeForContainer() r=mak
Differential Revision: https://phabricator.services.mozilla.com/D190650
2023-11-06 21:28:19 +00:00
Logan Rosen
35c6578473 Bug 1802289 - enforce license linter for .idl and .webidl files r=linter-reviewers,sylvestre,saschanaz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192134
2023-11-06 10:18:23 +00:00
Andrew Osmond
babdd651fe Bug 1862051 - Add basic plumbing for downloading Widevine L1 plugins. r=media-playback-reviewers,webidl,saschanaz,alwu
This patch adds support for downloading the Widevine L1 plugin for
Windows and WMF. It is disabled by default. It does not integrate
utilizing the plugin with our WMF framework.

New prefs for the new plugin type include:
- media.gmp-widevinecdm-l1.visible
- media.gmp-widevinecdm-l1.enabled
- media.gmp-widevinecdm-l1.forceInstall

All of the above should be flipped to true in order to make Firefox
install the plugin.

The GMPParent for the plugin can be discovered using SelectPluginForAPI.
The API tags are com.widevine.alpha.experiment and
com.widevine.alpha.experiment2.

Differential Revision: https://phabricator.services.mozilla.com/D192367
2023-11-04 01:32:34 +00:00
Norisz Fay
0041067c1a Backed out changeset aca3e2bb45f1 (bug 1862051) for causing xpcshell failures on test_GMPInstallManager.js CLOSED TREE 2023-11-04 00:14:30 +02:00
Andrew Osmond
21f43996b4 Bug 1862051 - Add basic plumbing for downloading Widevine L1 plugins. r=media-playback-reviewers,webidl,saschanaz,alwu
This patch adds support for downloading the Widevine L1 plugin for
Windows and WMF. It is disabled by default. It does not integrate
utilizing the plugin with our WMF framework.

New prefs for the new plugin type include:
- media.gmp-widevinecdm-l1.visible
- media.gmp-widevinecdm-l1.enabled
- media.gmp-widevinecdm-l1.forceInstall

All of the above should be flipped to true in order to make Firefox
install the plugin.

The GMPParent for the plugin can be discovered using SelectPluginForAPI.
The API tags are com.widevine.alpha.experiment and
com.widevine.alpha.experiment2.

Differential Revision: https://phabricator.services.mozilla.com/D192367
2023-11-03 20:38:49 +00:00
Ray Kraesig
8cd437b72d Bug 1837079 - [4/10] Create WINDOWS_FILE_DIALOG utility process type r=gerard-majax,ipc-reviewers,fluent-reviewers,bobowen,handyman,nika
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.

We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.

Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)

Differential Revision: https://phabricator.services.mozilla.com/D180341
2023-10-26 18:21:28 +00:00
Greg Tatum
f2ed6409bc Bug 1815339 - Restore the transfer attribute in JSWindowActor; r=ipc-reviewers,nika
This was removed in Bug 1580907, but the translations feature needs it
restored in order to transfer MessageChannel ports. A new test is added
as well.

Differential Revision: https://phabricator.services.mozilla.com/D190723
2023-10-25 22:15:11 +00:00
Tim Huang
e8f8d32e61 Bug 1824222 - Make nsRFPService::IsRFPEnabledFor() to use the given OverriddenFingerprintingSettings for checking RFPTargets. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D185016
2023-10-17 22:02:30 +00:00
Tim Huang
e2cb3b6fc1 Bug 1824222 - Add OverriddenFingerprintingSettings to WindowContext. r=nika,tjr
This patch adds a field called OverriddenFingerprintingSettings to
WindowContext. The OverriddenFingerprintingSettings represents the
granular overrides of fingerprinting protections due to WebCompat for
the given context. The value can be Nothing() if there is no overrides
defined for the context.

Differential Revision: https://phabricator.services.mozilla.com/D188758
2023-10-17 22:02:29 +00:00
Frederik Braun
7291dac470 Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
Depends on D179794

Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-11 17:49:42 +00:00
Malte Juergens
2ec1c04a77 Bug 1812192 - Move LoadURIOptions.webidl from dom/webidl to dom/chrome-webidl r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D188994
2023-10-11 17:49:41 +00:00
Cristian Tuns
5fabc0ee57 Backed out 6 changesets (bug 1812192) for causing browser_schemeless.js failures. CLOSED TREE
Backed out changeset 3d07a92324d0 (bug 1812192)
Backed out changeset 9c2a1ff6c90d (bug 1812192)
Backed out changeset fa6784f8b0f4 (bug 1812192)
Backed out changeset 0f39aba7e4d5 (bug 1812192)
Backed out changeset ef7219327a10 (bug 1812192)
Backed out changeset 9833b559342e (bug 1812192)
2023-10-10 10:02:25 -04:00
Frederik Braun
aed55ecb55 Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
Depends on D179794

Differential Revision: https://phabricator.services.mozilla.com/D179795
2023-10-10 08:43:00 +00:00
Malte Juergens
2c5cd37344 Bug 1812192 - Move LoadURIOptions.webidl from dom/webidl to dom/chrome-webidl r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D188994
2023-10-10 08:42:59 +00:00
Jonathan Kew
ce25ef7bf2 Bug 1857076 - Add an InspectorUtils API to get the number of lines in a block after reflow. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D190210
2023-10-05 20:37:54 +00:00
dylan
d5a355d241 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-04 19:42:57 +00:00
Rob Wu
e2a3a1272a Bug 1853409 - Part 2: Require "all urls" match pattern for top-level match_about_blank r=rpl
This patch changes the behavior as follows:

- match_about_blank in content_scripts in manifest.json will now only
  run in top-level about:blank if its `matches` key specifies a match
  pattern set that is equivalent to all http(s) URLs.

- matchAboutBlank in tabs.executeScript requires activeTab permission
  (as before), or an all-URLs host permission.

Differential Revision: https://phabricator.services.mozilla.com/D189492
2023-10-02 19:07:58 +00:00
Rob Wu
046aaf98cc Bug 1853409 - Part 1: Introduce MatchPatternSet::MatchesAllWebUrls r=zombie
Introduce `MatchPatternSet::MatchesAllWebUrls()` and
`MatchPattern::MatchesAllWebUrls()` to serve the purpose of determining
whether a match pattern is going to match any http(s) URL.

Differential Revision: https://phabricator.services.mozilla.com/D189491
2023-10-02 19:07:58 +00:00
Norisz Fay
338171a737 Backed out 2 changesets (bug 1156659) for causing dt failures on browser_net_throttle.js CLOSED TREE
Backed out changeset af64e5a0109a (bug 1156659)
Backed out changeset 7e9b86bce76b (bug 1156659)
2023-10-02 16:11:21 +03:00
dylan
3b39108bc7 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-02 04:13:43 +00:00
Sandor Molnar
e22024e42c Backed out 2 changesets (bug 1156659) for causing multiple dt failures on browser_jsterm_evaluation_context_selector_targets_update/browser_jsterm_file_load_save_keyboard_shortcut/browser_jsterm_focus_reload/etc CLOSED TREE
Backed out changeset 72676017aaf3 (bug 1156659)
Backed out changeset c5e205051938 (bug 1156659)
2023-09-26 19:54:00 +03:00
dylan
da3e3497c1 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-09-26 15:33:34 +00:00
Nicolas Chevobbe
20921d6819 Bug 1841265 - Add InspectorUtils.getCSSRegisteredProperties. r=emilio,zrhoffman.
Differential Revision: https://phabricator.services.mozilla.com/D188215
2023-09-25 15:02:51 +00:00
Chris H-C
ce9f11eb18 Bug 1848708 - Move Glean and GleanPings to plain webidl r=nika,janerik,perry.mcmanis
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.

Differential Revision: https://phabricator.services.mozilla.com/D186266
2023-09-19 17:39:09 +00:00
Narcis Beleuzu
5e99494bdd Backed out 7 changesets (bug 1848708) for bustages on TimingDistribution.cpp
Backed out changeset e63a855c0acf (bug 1848708)
Backed out changeset 242478709593 (bug 1848708)
Backed out changeset f1a77753fa0c (bug 1848708)
Backed out changeset d230a932c850 (bug 1848708)
Backed out changeset 1261ba650483 (bug 1848708)
Backed out changeset 06061d509ab5 (bug 1848708)
Backed out changeset 726d5138b1d2 (bug 1848708)
2023-09-19 19:18:00 +03:00
Chris H-C
5adb393eeb Bug 1848708 - Move Glean and GleanPings to plain webidl r=nika,janerik,perry.mcmanis
Since we're exposing Glean types in not-chrome-only contexts like privileged
"about:" pages, we can't live in chrome-webidl/ any longer.

Differential Revision: https://phabricator.services.mozilla.com/D186266
2023-09-19 15:03:56 +00:00
Iulian Moraru
87c1675542 Backed out 10 changesets (bug 1837079) for causing build bustages on UtilityProcessManager.cpp. CLOSED TREE
Backed out changeset b36fd9deb165 (bug 1837079)
Backed out changeset 0253a50d16a9 (bug 1837079)
Backed out changeset 799ea189e748 (bug 1837079)
Backed out changeset 70eab0533b00 (bug 1837079)
Backed out changeset 488707a84723 (bug 1837079)
Backed out changeset d56484304ec3 (bug 1837079)
Backed out changeset 36d3afd881b4 (bug 1837079)
Backed out changeset 3f2fd4d7a511 (bug 1837079)
Backed out changeset 078b848cd09e (bug 1837079)
Backed out changeset 64390c163748 (bug 1837079)
2023-09-15 22:17:21 +03:00
Ray Kraesig
17f411796e Bug 1837079 - [4/10] Create WINDOWS_FILE_DIALOG utility process type r=gerard-majax,ipc-reviewers,fluent-reviewers,bobowen,handyman,nika
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.

We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.

Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)

Differential Revision: https://phabricator.services.mozilla.com/D180341
2023-09-15 18:10:00 +00:00
Nicolas Chevobbe
3296d02897 Bug 1840872 - Add InspectorUtils.getRegisteredCssHighlights method. r=jjaschke.
This will be used by DevTools to retrieve the name of registered, active, highlights,
in order to display the CSS rules for the `::highlight` pseudo element rules.

Differential Revision: https://phabricator.services.mozilla.com/D186006
2023-08-16 09:56:43 +00:00