Closed
Bug 872149
Opened 11 years ago
Closed 11 years ago
Make payments UI use PromptService asynchronously
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: jchen, Assigned: wesj)
References
Details
Attachments
(1 file)
1.29 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/PaymentsUI.js#52 The API is asynchronous so the prompt can be async too.
Assignee | ||
Comment 1•11 years ago
|
||
Sorry to send these all to you, but they're simple. I really wanted to start attaching a window to these so that we might someday try to do tab-modal prompts. The Payments stuff doesn't seem to give us one though. b2g does something that seems wrong: http://mxr.mozilla.org/mozilla-central/source/b2g/components/PaymentGlue.js#43 I'll file a bug that it would be nice to have a way to get the window.
Attachment #756764 -
Flags: review?(mark.finkle)
Comment 2•11 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #1) > I really wanted to start attaching a window to these so that we might > someday try to do tab-modal prompts. The Payments stuff doesn't seem to give > us one though. b2g does something that seems wrong: > http://mxr.mozilla.org/mozilla-central/source/b2g/components/PaymentGlue. > js#43 I don't know if that is strictly 'wrong', but it is a bit fragile and makes some assumptions about the selected tab.
Comment 3•11 years ago
|
||
Comment on attachment 756764 [details] [diff] [review] Patch ># HG changeset patch ># Parent 191f8e78f44144748a4d4ab1c7af32e6d88bbcf5 > >diff --git a/mobile/android/components/PaymentsUI.js b/mobile/android/components/PaymentsUI.js >--- a/mobile/android/components/PaymentsUI.js >+++ b/mobile/android/components/PaymentsUI.js >@@ -86,29 +86,26 @@ > label: requestText, > isGroup: false, > inGroup: false, > disabled: false, > id: i Can't you drop some of these too? r+, but make those removals too
Attachment #756764 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/80455a25276b
Comment 5•11 years ago
|
||
Backed out for robocop-2 failures. https://hg.mozilla.org/integration/mozilla-inbound/rev/b11bffd58de9 https://tbpl.mozilla.org/php/getParsedLog.php?id=23725149&tree=Mozilla-Inbound
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/994a455c1a99
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/994a455c1a99
Assignee: nobody → wjohnston
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•