Re: [w3c/payment-request] Reject promise if document becomes not fully active (#872)

We have a notification system that monitors the document state associated with the payment request:
https://searchfox.org/mozilla-central/source/dom/payments/PaymentRequest.cpp#1158

If the document becomes `!InFullyActiveDocument()`, it rejects the appropriate promises:
https://searchfox.org/mozilla-central/source/dom/payments/PaymentRequest.cpp#1164

We also have checks throughout the implementation that call `PaymentRequest::InFullyActiveDocument()`: 
https://searchfox.org/mozilla-central/source/dom/payments/PaymentRequest.cpp#1117


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/872#issuecomment-506619450

Received on Friday, 28 June 2019 06:31:55 UTC