Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions agents/frontend-triage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ and the channel each reports to:
| `Firefox for Android :: Privacy` | `#android-activation-and-trust-triage` |
| `Firefox for Android :: QR` | `#android-activation-and-trust-triage` |
| `Firefox for Android :: Settings` | `#android-activation-and-trust-triage` |
| `Firefox for Android :: WebExtensions` | `#android-activation-and-trust-triage` |
| `Firefox Build System :: Android Studio and Gradle Integration` | `#android-pie` |
| `DevTools :: about:debugging` | `#devtools-triage` |
| `DevTools :: Application Panel` | `#devtools-triage` |
Expand Down
2 changes: 1 addition & 1 deletion agents/frontend-triage/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
0.1.3
69 changes: 69 additions & 0 deletions agents/frontend-triage/hackbot_agents/frontend_triage/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,75 @@ def key(self) -> str:
"Firefox for Android :: Privacy",
),
),
ScopedComponent(
"Firefox for Android",
"WebExtensions",
"#android-activation-and-trust-triage",
trees=(
"mobile/android/fenix/",
"mobile/android/android-components/",
"mobile/shared/components/extensions/",
),
owns=(
"mobile/android/fenix/",
"mobile/android/android-components/",
"mobile/android/android-components/components/feature/addons/",
"mobile/android/android-components/components/support/webextensions/",
"mobile/android/android-components/components/concept/engine/src/main/java/mozilla/components/concept/engine/webextension/",
"mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/webextension/",
"mobile/android/fenix/app/src/main/java/org/mozilla/fenix/addons/",
"mobile/android/fenix/app/src/main/java/org/mozilla/fenix/extension/",
"mobile/shared/components/extensions/",
),
notes=(
"**First decide whether the bug is Android's at all.** An API that "
"misbehaves the same way on desktop is `toolkit/components/extensions/`, "
"the WebExtensions product. `tabs`, `browserAction`, `pageAction` and "
"`browsingData` are reimplemented for Android in "
"`mobile/shared/components/extensions/`, so a wrong result from one of "
"them is fixed there, as `windowType` was in "
"`mobile/shared/components/extensions/ext-android.js`. When the API is "
"right but the app does the wrong thing, the call has left Gecko: "
"`GeckoViewTabBridge` in "
"`mobile/shared/modules/geckoview/GeckoViewTab.sys.mjs` hands it to the "
"delegates in "
"`mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngine.kt`, "
"and "
"`mobile/android/android-components/components/support/webextensions/src/main/java/mozilla/components/support/webextensions/WebExtensionSupport.kt` "
"applies it to the browser store, calling the `onNewTabOverride` that "
"`mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt` "
"passes in. A fix in `WebExtensionSupport` reaches Focus and the sample "
"browser too.\n\n"
"**Installs have one dispatcher.** Every prompt during an install is "
"chosen in "
"`mobile/android/fenix/app/src/main/java/org/mozilla/fenix/extension/WebExtensionPromptFeature.kt`, "
"which shows android-components' dialogs from "
"`mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/` "
"and Fenix's own progress dialog, `DownloadAddonDialogFragment`. A wrong "
"failure message is usually a mapping, not a string: GeckoView's install "
"error code becomes a `WebExtensionInstallException` in "
"`mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/webextension/GeckoWebExtensionException.kt`, "
"and `handleInstallationFailedRequest` picks the message by type. The "
"add-ons manager and an installed extension's details and removal are "
"the screens in "
"`mobile/android/fenix/app/src/main/java/org/mozilla/fenix/addons/`. An "
"update that needs new permissions waits in the browser store's "
"`pendingExtensionUpdates`, and cancelling its prompt leaves it there, so "
"the prompt coming back at the next update check is intended.\n\n"
"**Coverage**: 18 unit test classes in "
"`mobile/android/android-components/components/feature/addons/src/test/`, "
"4 in "
"`mobile/android/android-components/components/support/webextensions/src/test/` "
"(`WebExtensionSupportTest.kt` for the tab plumbing), 22 mochitests and 2 "
"native-messaging xpcshell tests under "
"`mobile/shared/components/extensions/test/`, and in Fenix 11 under "
"`mobile/android/fenix/app/src/test/java/org/mozilla/fenix/addons/` plus "
"`mobile/android/fenix/app/src/test/java/org/mozilla/fenix/extension/WebExtensionPromptFeatureTest.kt`. "
"The UI tests are `SettingsAddonsTest.kt`, `ExtensionPrivateBrowsingTest.kt` "
"and `ExtensionOptionsFilePickerTest.kt` under "
"`mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/`."
),
),
# Owns the build files of the standalone Fenix, Focus and android-components builds
# by name, which win over the shared Android trees above by length.
ScopedComponent(
Expand Down
5 changes: 5 additions & 0 deletions agents/frontend-triage/scope.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
"component": "Settings",
"channel": "#android-activation-and-trust-triage"
},
{
"product": "Firefox for Android",
"component": "WebExtensions",
"channel": "#android-activation-and-trust-triage"
},
{
"product": "Firefox Build System",
"component": "Android Studio and Gradle Integration",
Expand Down