Closed
Bug 1497215
Opened 6 years ago
Closed 6 years ago
The browser crashes during the payment process if the " ; " punctuation mark is used in fields
Categories
(Core :: DOM: Web Payments, defect, P1)
Core
DOM: Web Payments
Tracking
()
VERIFIED
FIXED
mozilla65
People
(Reporter: tbabos, Assigned: edenchuang)
References
Details
(Keywords: crash, Whiteboard: [webpayments-reserve])
Crash Data
Attachments
(1 file, 2 obsolete files)
51.29 KB,
patch
|
edenchuang
:
review+
|
Details | Diff | Splinter Review |
[Affected versions]: Nightly 64.0a1 (2018-10-08) [Affected platforms]: Platforms: Windows 10 x 64, Mac OS 10.13, Ubuntu 16.04. [Preconditions]: 1. Set the pref dom.payments.request.enabled to "true"; 2. Make sure you have at least one Shipping Address and one Credit Card saved in your browser. [Steps to reproduce]: 1. Go to "https://rsolomakhin.github.io/pr/us/" and click on "Buy" 2. Add or Edit a shipping address 3. Fill in any field with the " ; " punctuation mark 4. Click on the "Pay" button on the Order Summary screen [Expected result]: The payment widget should be closed and the response displayed correctly. [Actual result]: The browser crashes. [Note]: Tried out all the other basic punctuation marks and symbols on the keyboard, so far only " ; " seems to crash the browser. The crash can NOT be reproduced on Windows 7 x64.
Flags: qe-verify+
Comment 2•6 years ago
|
||
Great find! I think this is due to the IPC serialization using semicolons (IIRC).
Severity: normal → critical
status-firefox64:
affected → ---
Component: WebPayments UI → DOM: Web Payments
Priority: -- → P2
Product: Firefox → Core
Whiteboard: [webpayments] [triage] → [webpayments]
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → echuang
Updated•6 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
Updated•6 years ago
|
Whiteboard: [webpayments] → [webpayments-reserve]
Assignee | ||
Comment 3•6 years ago
|
||
I post the patch on the wrong bug and get the r+ https://bugzilla.mozilla.org/show_bug.cgi?id=1497219#c4
Attachment #9018983 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by ebalazs@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fa6b7a70f2db Refactor the IPC structure for PaymentResponse.details r=baku
Keywords: checkin-needed
Comment 5•6 years ago
|
||
Backed out changeset fa6b7a70f2db (Bug 1497215) for xpcshell failures in browser/components/payments/test/unit/test_response_creation.js CLOSED TREE Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=fa6b7a70f2db81835c314543031fb6ce251fafce&selectedJob=206940166 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=206940166&repo=mozilla-inbound&lineNumber=7621 Backout: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=dedd03c893c8cfa5a721b0a04cf5b26cee98db4b This also caused a bc perma failure: https://treeherder.mozilla.org/logviewer.html#?job_id=206940146&repo=mozilla-inbound&lineNumber=11323
Flags: needinfo?(echuang)
Comment 6•6 years ago
|
||
Please also see this perma bc LeakSanitizer failure: https://treeherder.mozilla.org/logviewer.html#?job_id=206957723&repo=mozilla-inbound
Assignee | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=56b5730bf34025a1720e5e00c82cff68a0073c7e&selectedJob=207220698
Attachment #9018983 -
Attachment is obsolete: true
Flags: needinfo?(echuang)
Attachment #9019310 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by ebalazs@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8238a4eeda86 Refactor the IPC structure for PaymentResponse.details r=baku
Keywords: checkin-needed
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8238a4eeda86
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 10•6 years ago
|
||
Backed out changeset 8238a4eeda86 (bug 1497215) for runing a payment test before the leak detection push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=207259075&revision=8238a4eeda863b0a947afef38dd6f0cc4d7aac47 failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=207257453&searchStr=linux%2Cx64%2Casan%2Cmochitests%2Cwith%2Ce10s%2Ctest-linux64-asan%2Fopt-mochitest-browser-chrome-e10s-6%2Cm-e10s%28bc6%29 backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/0920d2b1122d3e364ab7a49be99788b9596e07b0
Status: RESOLVED → REOPENED
status-firefox65:
fixed → ---
Flags: needinfo?(echuang)
Resolution: FIXED → ---
Target Milestone: mozilla65 → ---
Updated•6 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 11•6 years ago
|
||
Fix the memory leak.
Attachment #9019310 -
Attachment is obsolete: true
Flags: needinfo?(echuang)
Attachment #9020771 -
Flags: review+
Assignee | ||
Comment 12•6 years ago
|
||
Try result https://treeherder.mozilla.org/#/jobs?repo=try&revision=b649bc60423c2a9178f48ce80e35c5b768fa9d57 https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c2eb0a78a7f6e380700c0e6da46fc16f0074934
Keywords: checkin-needed
Comment 13•6 years ago
|
||
Pulsebot is down atm. Land: https://hg.mozilla.org/integration/mozilla-inbound/rev/4b9fa41aa4ecbf8079011d1906f4287493434d70 Removing checkin-needed.
Keywords: checkin-needed
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b9fa41aa4ec
Status: ASSIGNED → RESOLVED
Closed: 6 years ago → 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 15•6 years ago
|
||
Verified as fixed on Firefox Nightly 65.0a1 (2018-10-29) on Windows 10 x 64, Windows 7 x32, Mac OS X 10.14 and on Ubuntu 16.04 x64.
Comment 17•6 years ago
|
||
AFAIK, this doesn't need backporting since WebPayments are still Nightly-only, but feel free to nominate for Beta uplift if I'm mistaken.
status-firefox63:
--- → disabled
status-firefox64:
--- → disabled
status-firefox-esr60:
--- → disabled
You need to log in
before you can comment on or make changes to this bug.
Description
•