Closed
Bug 1435880
Opened 6 years ago
Closed 6 years ago
Handle moving/detaching tabs between windows when a Payment Request is showing
Categories
(Firefox :: WebPayments UI, defect, P1)
Firefox
WebPayments UI
Tracking
()
VERIFIED
FIXED
Firefox 65
People
(Reporter: MattN, Assigned: MattN)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [webpayments])
Attachments
(6 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
If a Payment Request tab-modal dialog is showing and the tab is dragged to an existing window or detached to a new window, the Payment Request dialog should continue to be shown in that new window.
Updated•6 years ago
|
Priority: P3 → P2
Whiteboard: [webpayments]
Updated•6 years ago
|
Priority: P2 → P3
Whiteboard: [webpayments] → [webpayments-reserve]
Updated•6 years ago
|
Product: Toolkit → Firefox
Updated•6 years ago
|
Flags: qe-verify?
Priority: P3 → P2
Whiteboard: [webpayments-reserve] → [webpayments]
Updated•6 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: hani.yacoub
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → MattN+bmo
Status: NEW → ASSIGNED
Updated•6 years ago
|
Priority: P2 → P1
Assignee | ||
Comment 1•6 years ago
|
||
Remove the intermediate <html:iframe> as it makes support of detaching impossible since we would need to swap both the <browser> and <html:iframe> contents during a tab detach. Since a docshell swap requires both docshells to have a frame and document loaded and the move of the tab won't wait on payments code to do async work to get frames and documents ready for swapping, I couldn't see a way to get detaching to work with the nested frames. * Swapping the docshell of only the outer <html:iframe> still caused a reload of the inner <browser>.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D10180
Assignee | ||
Updated•6 years ago
|
status-firefox63:
--- → disabled
status-firefox64:
--- → disabled
Updated•6 years ago
|
Attachment #9021072 -
Attachment description: Bug 1435880 - Put the payment dialog <browser> directly in the ChromeWindow. → Bug 1435880 - Put the payment dialog <browser> directly in the ChromeWindow. r=jaws
Updated•6 years ago
|
Attachment #9021075 -
Attachment description: Bug 1435880 - Handle moving/detaching tabs between windows when a Payment Request is showing → Bug 1435880 - Handle moving/detaching tabs between windows when a Payment Request is showing. r=jaws,mconley
Assignee | ||
Comment 3•6 years ago
|
||
Properly populate addressLevel3Label in unprivileged-fallbacks.js to not cause l10n.js errors.
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Properly populate addressLevel3Label in unprivileged-fallbacks.js to not cause l10n.js errors.
Updated•6 years ago
|
Attachment #9023689 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9023681 -
Attachment description: Bug 1435880 - Document how to fix Payment Request autofill strings during dev. r=jaws → Bug 1435880 - Document how to fix Payment Request autofill strings during dev. r?jaws
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3cd9152a9a7 Document how to fix Payment Request autofill strings during dev. r=jaws
Assignee | ||
Updated•6 years ago
|
Keywords: leave-open
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3cd9152a9a7
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Keywords: leave-open
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/8ae95326b134 Send temporary records in paymentDialogWrapper.initializeFrame. r=sfoster https://hg.mozilla.org/integration/autoland/rev/802dfe1bb501 Put the payment dialog <browser> directly in the ChromeWindow. r=jaws https://hg.mozilla.org/integration/autoland/rev/8867eaddfa83 Handle moving/detaching tabs between windows when a Payment Request is showing. r=jaws https://hg.mozilla.org/integration/autoland/rev/dced0862f4bc Temporarily disable test_abortPayment and test_canMakePayment due a new leak exposed. r=edenchuang
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8ae95326b134 https://hg.mozilla.org/mozilla-central/rev/802dfe1bb501 https://hg.mozilla.org/mozilla-central/rev/8867eaddfa83 https://hg.mozilla.org/mozilla-central/rev/dced0862f4bc
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment 11•6 years ago
|
||
Verified - Fixed on the latest Nightly 65.0a1 (2018-11-16) (64-bit) on Windows 7/10 x64, Mac OS 10.13 and Ubuntu 16.04. The Payment Request dialog is shown after moving the tab to a new window. I also noticed that since this patch landed I can no longer reproduce https://bugzilla.mozilla.org/show_bug.cgi?id=1501285 since the Payment Widget is instantly displayed as it was before. Is this fix also intended?
Status: RESOLVED → VERIFIED
Flags: qe-verify+ → needinfo?(MattN+bmo)
Assignee | ||
Comment 12•6 years ago
|
||
Thanks (In reply to Timea Babos from comment #11) > I also noticed that since this patch landed I can no longer reproduce > https://bugzilla.mozilla.org/show_bug.cgi?id=1501285 since the Payment > Widget is instantly displayed as it was before. Is this fix also intended? I assume you're talking about the delay? I wouldn't be surprised if it was slightly faster to display as there is one less intermediate <iframe> to load. That bug is still relevant to https://rsolomakhin.github.io/pr/wait/ where the merchant is slow to provide the complete Payment Request though.
Flags: needinfo?(MattN+bmo)
Comment 13•6 years ago
|
||
Yes, the delay is what I was thinking about. I was about to ask if I should close that one too, but given your additional info, I understood what is it meant for. Thanks Matt
Assignee | ||
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/606f30cb7499 Remove stale XUL references from docs along with dead test code.
Comment 16•4 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•