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)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Assigned: kumar)

References

Details

Attachments

(1 file)

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
Attached patch fxpay.patchSplinter Review
proof of concept patch to lib/fxpay.js that gets things working
Blocks: 1079419
Priority: -- → P2
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.

Attachment

General

Created:
Updated:
Size: