[w3c/payment-handler] Do not use "context object" (#257)

It is an older term that is often misused, as it is here, where its definition doesn't apply.

Two locations:

> Let registration be the context object's relevant global object's associated service worker's containing service worker registration. 

> Let url be the result of parsing image.src with the context object's relevant settings object's API base URL. 

In both cases it's really not clear to me which global object is supposed to be involved. But probably that global should be passed to the algorithm explicitly.

-- 
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-handler/issues/257

Received on Friday, 16 March 2018 02:37:54 UTC