Closed
Bug 1079427
Opened 10 years ago
Closed 9 years ago
remove systemXHR requirement for serverless in-app products
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kumar, Assigned: kumar)
References
Details
Attachments
(1 file)
1.60 KB,
patch
|
Details | Diff | Splinter Review |
In order to support non-privileged packaged apps (bug 1079419), let's remove the systemXHR requirement. The following changes need to be made: - the fxpay lib should not use {mozSystem: true} in the XHR request - the zamboni API needs to respond with Access-Control-Request-Headers: x-fxpay-version for CORS to work. See http://www.html5rocks.com/en/tutorials/cors/#toc-adding-cors-support-to-the-server - validation of systemXHR in fxpay should be removed - example app should no longer declare systemXHR permission
Assignee | ||
Comment 1•10 years ago
|
||
proof of concept patch to lib/fxpay.js that gets things working
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•9 years ago
|
||
This was fixed as part of bug 1104371 in https://github.com/mozilla/fxpay/pull/71
Assignee: nobody → kumar.mcmillan
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•