Re: [w3c/payment-request] Editorial: use new user activation model (#885)

marcoscaceres commented on this pull request.



> @@ -956,11 +956,13 @@ <h2>
           follows:
         </p>
         <ol class="algorithm">
+          <li>Let |window:Window| be the [=relevant global object=] of the
+          [=environment settings object/responsible document=].

It's not clear to me if the "incumbent settings object" (or one of the others) is the one that holds the "transient activation" (I'm seeing it as a flag, because that's how Gecko exposes this in C++... sorta).  I think HTML needs to make this more clear :( Or least how to reason about the realms in relation to each "activation" type. 

(I'm struggling with this because these things don't map super cleanly to [how we do this in Gecko](https://searchfox.org/mozilla-central/source/dom/base/UserActivation.cpp#36) - although I've no doubt we are doing the right thing...  but it's a bit confusing for me at the same time). cc @bzbarsky, as it's maybe of interest... we may be able to also provide some guidance over in Gecko's UserActivation.cpp for people implementing specs. 


-- 
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/pull/885#discussion_r355269797

Received on Monday, 9 December 2019 06:04:52 UTC