diff --git a/index.html b/index.html
index 6d3f422e..bf9d1c67 100644
--- a/index.html
+++ b/index.html
@@ -2033,10 +2033,10 @@
Let event be this PaymentRequestUpdateEvent
instance.
- Let target be the value of event's
+ Let request be the value of event's
target attribute.
- If target is not a PaymentRequest object,
+ If request is not a PaymentRequest object,
then throw a TypeError.
If the dispatch flag is unset, then throw an
@@ -2045,11 +2045,11 @@
If event.[[\waitForUpdate]] is true, then
throw an "InvalidStateError" DOMException.
- If target.[[\state]] is not
+ If request.[[\state]] is not
"interactive", then throw an
"InvalidStateError" DOMException.
- If target.[[\updating]] is true, then
+ If request.[[\updating]] is true, then
throw an "InvalidStateError" DOMException.
Set event's stop propagation flag and stop
@@ -2057,7 +2057,7 @@
Set event.[[\waitForUpdate]] to true.
- Set target.[[\updating]] to true.
+ Set request.[[\updating]] to true.
The user agent SHOULD disable the user interface that
allows the user to accept the payment request. This is to ensure
@@ -2149,7 +2149,7 @@
If the shippingOptions member of
details is present, and
- target.[[\options]].request.[[\options]].requestShipping is
true, then:
@@ -2268,7 +2268,7 @@
If the shippingOptions member of
details is present, and
- target.[[\options]].request.[[\options]].requestShipping is
true, then:
- Set
- target.[[\details]].shippingOptions
+ request.[[\details]].shippingOptions
to shippingOptions.
- - Set the value of target's Set the value of request's shippingOption
attribute to selectedShippingOption.
@@ -2302,22 +2302,22 @@
present, then:
- Set
- target.[[\details]].modifiers
+ request.[[\details]].modifiers
to details.modifiers.
- Set
- target.[[\serializedModifierData]] to
+ request.[[\serializedModifierData]] to
serializedModifierData.
- If target.[[\options]].If request.[[\options]].requestShipping is
true, and
- target.[[\details]].shippingOptions
+ request.[[\details]].shippingOptions
is empty, then the developer has signified that there are
no valid shipping options for the currently-chosen shipping
- address (given by target's request's shippingAddress). In
this case, the user agent SHOULD display an error
indicating this, and MAY indicate that that the
@@ -2337,10 +2337,10 @@
- Set event.[[\waitForUpdate]] to false.
- - Set target.[[\updating]] to false.
+
- Set request.[[\updating]] to false.
- The user agent should update the user interface
- based on any changed values in target. The user
+ based on any changed values in request. The user
agent SHOULD re-enable user interface elements that might have
been disabled in the steps above if appropriate.
@@ -2355,9 +2355,9 @@
- Abort the current user interaction and close down any remaining
user interface.
- - Set target.[[\state]] to "closed".
+
- Set request.[[\state]] to "closed".
- - Reject the promise target.[[\acceptPromise]]
+
- Reject the promise request.[[\acceptPromise]]
with exception.
- Abort the algorithm.