-
Notifications
You must be signed in to change notification settings - Fork 473
Closes #6915: Add addon installation confirmation dialog #6916
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6916 +/- ##
==========================================
Coverage 77.06% 77.06%
- Complexity 4836 4853 +17
==========================================
Files 650 651 +1
Lines 23803 23917 +114
Branches 3489 3501 +12
==========================================
+ Hits 18344 18432 +88
- Misses 4009 4026 +17
- Partials 1450 1459 +9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice! 🦄
...es/browser/src/main/java/org/mozilla/samples/browser/addons/InstalledAddonDetailsActivity.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The WebExtensionSupportTest
CI failure:
[task 2020-05-11T16:51:54.697Z] [Robolectric] mozilla.components.support.webextensions.WebExtensionSupportTest.reacts to new extension being installed: sdk=28; resources=binary
[task 2020-05-11T16:51:54.797Z] I/MonitoringInstr: Instrumentation started!
[task 2020-05-11T16:51:54.797Z] I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@54c56106', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@54c56106'
[task 2020-05-11T16:51:54.897Z] FAILURE
may be #6791.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just some nits!
...addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt
Outdated
Show resolved
Hide resolved
...ns/src/test/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragmentTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I have a suggestion about the API (the lambda) though which we should discuss.
...addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt
Outdated
Show resolved
Hide resolved
...addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt
Outdated
Show resolved
Hide resolved
...ns/src/test/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragmentTest.kt
Outdated
Show resolved
Hide resolved
...addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt
Outdated
Show resolved
Hide resolved
...addons/src/main/java/mozilla/components/feature/addons/ui/AddonInstallationDialogFragment.kt
Outdated
Show resolved
Hide resolved
samples/browser/src/main/java/org/mozilla/samples/browser/addons/AddonsFragment.kt
Outdated
Show resolved
Hide resolved
49d2be0
to
4b7aacc
Compare
bors r=Amejia481, csadilek |
6916: Closes #6915: Add addon installation confirmation dialog r=Amejia481,csadilek a=psymoon Co-authored-by: Simon Chae <[email protected]>
Timed out. |
bors retry |
6916: Closes #6915: Add addon installation confirmation dialog r=Amejia481,csadilek a=psymoon 6947: Closes #6791: Intermittent test failure in WebExtensionSupport r=psymoon a=csadilek Basically, we dispatch a tab browser action to test that our action handler works, but that in turn changes the tab state triggering our flow again (see registerHandlersForNewSession). We can simply verify and capture the handlers first, then trigger actions to test them. Co-authored-by: Simon Chae <[email protected]> Co-authored-by: Christian Sadilek <[email protected]>
This PR was included in a batch that timed out, it will be automatically retried |
6916: Closes #6915: Add addon installation confirmation dialog r=Amejia481,csadilek a=psymoon Co-authored-by: Simon Chae <[email protected]>
Timed out. |
bors retry |
Build succeeded: |
Pull Request checklist
After merge