Граф коммитов

32240 Коммитов

Автор SHA1 Сообщение Дата
Cristian Tuns b2f342d6bc Backed out changeset 36528f02a12e (bug 1837601) for causing geckoview failures in trackingProtectionPermissionOnAllPages CLOSED TREE 2024-02-14 14:18:05 -05:00
Roger Yang 209c467dd6 Bug 1837601 - Indicate if location change was requested by user. r=owlish,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D199568
2024-02-14 15:11:14 +00:00
Paul Zuehlcke c40527f55d Bug 1878915 - Add CLEAR_BOUNCE_TRACKING_PROTECTION_STATE flag to nsIClearDataService callers. r=bvandersloot,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D200972
2024-02-14 09:44:55 +00:00
Makoto Kato dafa6009d9 Bug 1878599 - Allow to insert text on text control from dropping external application on Geckoview. r=masayuki,geckoview-reviewers,owlish
Android's drag and drop API will set a dropped item on `drop` event. But other
platforms will be set during `dragstart` event.

Editor's drag and drop event listener checks current dropped item on some
events such as `dragover` event in
`EditorEventListener::DragEventHasSupportingData`. Since there is no way to
set dropped item on `dragover` event, GeckoView will set temporary dropped
item with MIME type.

Differential Revision: https://phabricator.services.mozilla.com/D200618
2024-02-14 00:58:48 +00:00
Makoto Kato 1aa0743176 Bug 1877157 - Set correct classpath on javadoc task. r=geckoview-reviewers,owlish,nalexander
It is unnecessary to join path with path separator when adding classpath
as file collection.

Also, javadoc's sourcepath argument have to use OS related path separator.
Default is OS related path separator, so we should use it instead.

Differential Revision: https://phabricator.services.mozilla.com/D201038
2024-02-14 00:44:38 +00:00
William Durand 1003d2f7cb Bug 1875229 - Expose `incognito` add-on property to the embedder. r=amejiamarmol,geckoview-reviewers,zmckenney
Differential Revision: https://phabricator.services.mozilla.com/D201580
2024-02-13 16:38:35 +00:00
Cosmin Sabou 7b230cb210 Backed out 8 changesets (bug 1839919, bug 1876579, bug 1878915) for causing non-unified build bustages on nsCOMPtr.h.
Backed out changeset 99ce75dc42c5 (bug 1878915)
Backed out changeset 1ba7f2b78980 (bug 1878915)
Backed out changeset c4675cbf4e84 (bug 1878915)
Backed out changeset df1f8aa6637f (bug 1839919)
Backed out changeset 325f849a24df (bug 1839919)
Backed out changeset e1f7b77f841b (bug 1839919)
Backed out changeset 33e6ffa9f8cc (bug 1876579)
Backed out changeset bae7618dff51 (bug 1876579)
2024-02-13 16:15:27 +02:00
Paul Zuehlcke 4ec8782431 Bug 1878915 - Add CLEAR_BOUNCE_TRACKING_PROTECTION_STATE flag to nsIClearDataService callers. r=bvandersloot,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D200972
2024-02-13 11:33:07 +00:00
Tom Ritter 0a895d321a Bug 1878407: Enable FPP on GeckoView in PBMode r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D200654
2024-02-12 22:16:48 +00:00
owlishDeveloper 471301f58d Bug 1829615 - Make sure we wait for changes from parent r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D200746
2024-02-11 02:28:54 +00:00
Perry McManis 42245a5b45 Bug 1877576 - Migrate geckoview GVST probes r=geckoview-reviewers,perry.mcmanis,owlish
Most are brought over straightforwardly, their Telemetry callsites reworded
to use Glean, with mirroring to the Telemetry probes taken care of by the Glean
Interface For Firefox Telemetry (see the telemetry_mirror property).

There were some special cases:
* HistogramStopwatch becomes GleanStopwatch.
  After migration it was only serving Glean consumers.
  Could've used standard Glean APIs, but having something to hold the TimerIds
  was convenient.
* GV_STARTUP_MODULES_MS was removed.
  It was configured to only report for the `firefox` product,
  but could only have a value in `geckoview_streaming`,
  so never reported data.
* MEDIA_DECODING_PROCESS_CRASH was removed.
  It was configured to only report for the `firefox` product,
  but could only have a value in `geckoview_streaming`,
  so never reported data.
* GV_CONTENT_PROCESS_LIFETIME_MS was removed.
  It was configured to only report for the `geckoview_streaming` product,
  meaning it only reported data when used with GVST to reach the Glean
  `geckoview.content_process_lifetime` metric.
  This is now accomplished directly.
* GV_STARTUP_RUNTIME_MS was removed.
  Though it was configured to report data for both `firefox` and
  `geckoview_streaming` products, it only ever had values in geckoview.
  Its data continues to be reported via `geckoview.startup_runtime`.
* gecko.version and gecko.build_id (Scalars) were removed.
  In Firefox Desktop this information is available in the `application`
  section of the Environment.
  In geckoview-using products, this information continues to be available via
  `geckoview.version` and `geckoview.build_id`.
* GV_STARTUP_RUNTIME_MS and GV_CONTENT_PROCESS_LIFETIME_MS are handled oddly.
  Since those probes were recorded in the Java portion of the code,
  and that portion doesn't include Glean,
  we use `nativeAddHistogram` to relay the samples for those two pieces of
  instrumentation.
  If there will be more instrumentation landing in that part of the code,
  I recommend you review the instructions for including the Glean SDK in a
  library, and retire this use of JNI.

Differential Revision: https://phabricator.services.mozilla.com/D200094
2024-02-09 21:11:05 +00:00
owlishDeveloper 26d72b44a9 Bug 1829615 - Add wait for contentTransformsReceived r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199060
2024-02-09 20:22:51 +00:00
Emilio Cobos Álvarez 2971047c81 Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.

Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-07 10:58:15 +00:00
Cristian Tuns 2d66624de2 Backed out changeset ecd780688279 (bug 1875100) for causing mochitest failures in test_suspend_media_by_inactive_docshell.html 2024-02-07 01:25:21 -05:00
Emilio Cobos Álvarez e68568b511 Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.

Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-06 21:47:37 +00:00
Arturo Mejia 26dd94a024 Bug 1868249 - Allow pending gecko results to be resolves when canceling an add-on installation. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D196353
2024-02-04 18:23:43 +00:00
Tomislav Jovanovic cb84186b54 Bug 1878081 - Drop per-file license header comments from schema files, r=willdurand,geckoview-reviewers,extension-reviewers,m_kato
* Make schema files directly parsable as valid JSON, consumable by JSONSchema
  tools (like addons-linter).
* Clarify, simplify and unify licensing information across all repositories
  and places we use the schemas.

Differential Revision: https://phabricator.services.mozilla.com/D200357
2024-02-02 15:28:20 +00:00
Pascal Chevrel 836ae54d93 Backed out changeset 963b7e553ef0 (bug 1865766) backed out from central for introducing Bug 1876742 a=merge
Backed out changeset 963b7e553ef0 (bug 1865766)
2024-01-30 16:30:30 +01:00
Jamie Nicol 8969c65a42 Bug 1865886. Add aarch64 instrumented jobs. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199256
2024-01-29 15:04:16 +00:00
Makoto Kato d88b0348e7 Bug 1586471 - Part 2. Implement nsDragService on GeckoView. r=geckoview-reviewers,amejiamarmol
This implementation supports
- HTML drag & drop API.
- Drop and drop for text/plain or text/html from/to external application.

Differential Revision: https://phabricator.services.mozilla.com/D197330
2024-01-28 07:49:53 +00:00
Noemi Erli b300d36d38 Backed out 4 changesets (bug 1865886) for causing python failures CLOSED TREE
Backed out changeset 7cc03b5ce4a9 (bug 1865886)
Backed out changeset e2529b2ccc91 (bug 1865886)
Backed out changeset df1b87110c9d (bug 1865886)
Backed out changeset 7bf33179c4b8 (bug 1865886)
2024-01-27 01:39:25 +02:00
Jamie Nicol f49e6e15ab Bug 1865886. Add aarch64 instrumented jobs. r=geckoview-reviewers,glandium,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D199256
2024-01-26 22:18:17 +00:00
cschanaj 9f3c4712a5 Bug 1591533 - Add GV API to enable DNS-over-HTTPS capability on Fenix r=geckoview-reviewers,calu,owlish
This PR adds a couple GeckoView API to setup and specific DoH TRR mode
and server URI, which enables the DNS-over-HTTPS capability on Firefox
Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D121455
2024-01-25 07:52:49 +00:00
Edgar Chen c2a80fd0ae Bug 1869582 - Dismiss clipboard permission UI when user tap on the browser; r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D196893
2024-01-24 23:31:53 +00:00
Cathy Lu 11d945b852 Bug 1845761 - Update shopping actions ui in geckoview example r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D198746
2024-01-23 20:00:17 +00:00
mcarare 2739e56b53 Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu
Gradle 8.5 is still compatible with AGP 7.4.2, so upgrading AGP can be done as a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D198584
2024-01-23 14:50:12 +00:00
Tim Huang 9d92b0847e Bug 1852738 - Part 3: Add a FingerprintingProtectionState cleaner. r=pbz,geckoview-reviewers,owlish
This patch implements a FingerprintingProtectionState cleaner that calls
the clear functions to reset fingerprinting random key.

Differential Revision: https://phabricator.services.mozilla.com/D196302
2024-01-22 19:09:11 +00:00
Gregory Pappas b3e0fd295c Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-22 09:52:53 +00:00
Cathy Lu 4219152c32 Bug 1875105 - Add API call for trusted deal placement attribution event in GV r=geckoview-reviewers,owlish,ohall
Differential Revision: https://phabricator.services.mozilla.com/D198844
2024-01-18 21:25:20 +00:00
Iulian Moraru b643962356 Backed out changeset da092d881d44 (bug 1724089) for causing valgrind build bustages. 2024-01-18 22:12:44 +02:00
Gregory Pappas c2ed911bfb Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 16:25:47 +00:00
Noemi Erli 623ef8a876 Backed out changeset be072303feaf (bug 1724089) for causing xpc failures in test_headless.js 2024-01-18 16:44:10 +02:00
Gregory Pappas 68e8f55749 Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 11:51:13 +00:00
Rob Wu 51bdca8579 Bug 1870760 - Start background upon receiving a proxy request r=rpl,geckoview-reviewers,zmckenney
Startup of extension's background script is currently delayed until
after "browser-delayed-startup-finished". On desktop, this notification
is sent as soon as any browser window has been painted, which is usually
soon enough.

On Android, this notification is sent from geckoview.xhtml, which is
only loaded when any Gecko-hosted (web) content is shown. Network
requests can already be triggered from elsewhere (GeckoView) without
having loaded any Gecko-hosted "browser window" (geckoview.xhtml). This
is a problem when a `proxy.onRequest` handler has been registered,
because this can result in a request blocked indefinitely, as long as
the user has not opened an unrelated browser window.

To get around this problem, allow proxy request listeners to immediately
wake up the background page, on Android.

Differential Revision: https://phabricator.services.mozilla.com/D198842
2024-01-18 00:11:06 +00:00
Geoff Brown c539ebd3e2 Bug 1874126 - Only create target.maven.tar.xz in automation r=geckoview-reviewers,jcristau,nalexander,ohall
Differential Revision: https://phabricator.services.mozilla.com/D198334
2024-01-17 17:01:09 +00:00
Dave Townsend ec53a95d14 Bug 1864896: Remove some unused arguments from webextension APIs. r=geckoview-reviewers,extension-reviewers,robwu,owlish
Depends on D195630

Differential Revision: https://phabricator.services.mozilla.com/D195631
2024-01-17 10:07:12 +00:00
mcarare 88903cc4ad Bug 1873677 - GeckoView Android API 34 (Android 14) r=jgraham,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D198175
2024-01-16 08:21:36 +00:00
Kagami Sascha Rosylight 5dfc0d6d3c Bug 1869558 - Part 1: Add validation step for subscribeWithKey r=jonalmeida,geckoview-reviewers
Ideally this validation steps should be shared in PushManager::Subscribe, but that's out of scope for this bug. For now this just copypastes the step from `dom/push/PushService.sys.mjs`.

Differential Revision: https://phabricator.services.mozilla.com/D196586
2024-01-16 00:27:58 +00:00
Sandor Molnar d29e8e920b Backed out 2 changesets (bug 1869558) for causing bc failures at dom/push/test/test_permission_granted.html CLOSED TREE
Backed out changeset 47f75ac9d8c4 (bug 1869558)
Backed out changeset 00002cc231f4 (bug 1869558)
2024-01-15 23:50:25 +02:00
Kagami Sascha Rosylight 2f3416338d Bug 1869558 - Part 1: Add validation step for subscribeWithKey r=jonalmeida,geckoview-reviewers
Ideally this validation steps should be shared in PushManager::Subscribe, but that's out of scope for this bug. For now this just copypastes the step from `dom/push/PushService.sys.mjs`.

Differential Revision: https://phabricator.services.mozilla.com/D196586
2024-01-15 21:16:46 +00:00
Tooru Fujisawa 7eb60cfbdc Bug 1873330 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_BACKGROUND. r=smaug,geckoview-reviewers,amejiamarmol
In order to achieve "load in a new background tab" operation in `window.open`,
add OPEN_NEWTAB_BACKGROUND which is equivalent to OPEN_NEWTAB except for
not selecting the tab.

Differential Revision: https://phabricator.services.mozilla.com/D197859
2024-01-11 17:24:01 +00:00
William Durand 1233bb68b3 Bug 1872169 - Honor `extensions.update.enabled` pref in GeckoView. r=amejiamarmol,rpl,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197896
2024-01-09 15:33:04 +00:00
Cathy Lu 20581d841a Bug 1867079 - Delete deprecated shopping requestAnalysisCreationStatus r=geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D197947
2024-01-09 15:24:27 +00:00
Olivia Hall 1fa3686f31 Bug 1871203 - Removing Expiring dotprint GeckoView Telemetry r=geckoview-reviewers,amejiamarmol
This bug removes telemetry expiring in 124 that was for GeckoView's
use of `window.print()`.

Differential Revision: https://phabricator.services.mozilla.com/D197732
2024-01-05 14:42:35 +00:00
Mark Banner 5b35334238 Bug 1864821 - Replace PromiseUtils.defer() with Promise.withResolvers() in extension code. r=extension-reviewers,geckoview-reviewers,rpl,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D197488
2024-01-05 09:22:34 +00:00
Narcis Beleuzu e5f27a07b7 Backed out changeset 399d9781e72b (bug 1724089) for causing xpcshell failures. CLOSED TREE 2024-01-02 13:56:25 +02:00
Gregory Pappas bf28beba3c Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-02 11:17:09 +00:00
Stanca Serban 9fe9443876 Backed out changeset 88de278b4ca9 (bug 1724089) for causing xpcshell failures. 2024-01-02 11:16:31 +02:00
Gregory Pappas 3ed862b8e0 Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-02 07:53:31 +00:00
Nicolas Guichard 2c14fb7559 Bug 1865048 - Move the wrapped class name initialization to the header of JNI wrappers. r=owlish,geckoview-reviewers
This is intended for Searchfox, to analyse and display the bindings
between Java and C++ code.

When the @WrapForJNI annotation is set on a method marked as native,
the code generator creates 3 files, for instance for EventDispatcher:
 * GeneratedJNIEventDispatcherWrappers.cpp
 * GeneratedJNI/EventDispatcherWrappers.h
 * GeneratedJNI/EventDispatcherNatives.h

The class that implements the member function bound from Java inherits
from EventDispatcher::Natives. That member function is defined in yet
another implementation file.

The mozsearch clang plugin only sees one single translation unit at a
time, so when it sees the definition of the actual bound method (and
when it emits the related data), it doesn't see the EventDispatcher
wrappers implementation anymore. At the moment it misses the name of
the wrapped Java class qualified class name.

This moves the name initialization from the wrappers impl file to the
header so that the mozsearch clang plugin can see the whole picture at
once when analysing the actual member functions' implementations.

The Java class members names were already initialized in the header so
this also makes things a bit more consistent in that regard.

Differential Revision: https://phabricator.services.mozilla.com/D196795
2023-12-28 22:47:46 +00:00