Skip to content

Commit

Permalink
s/topLevelOrigin/topOrigin per
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbjacobs committed May 4, 2018
1 parent c14d1bc commit abceef7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -909,15 +909,15 @@ <h2>
<pre class="idl">
[Constructor(DOMString type, CanMakePaymentEventInit eventInitDict), Exposed=ServiceWorker]
interface CanMakePaymentEvent : ExtendableEvent {
readonly attribute USVString topLevelOrigin;
readonly attribute USVString topOrigin;
readonly attribute USVString paymentRequestOrigin;
readonly attribute FrozenArray&lt;PaymentMethodData&gt; methodData;
readonly attribute FrozenArray&lt;PaymentDetailsModifier&gt; modifiers;
void respondWith(Promise&lt;boolean&gt;canMakePaymentResponse);
};
</pre>
<p>
The <dfn>topLevelOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
The <dfn>topOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
<dfn>methodData</dfn>, and <dfn>modifiers</dfn> members share their
definitions with those defined for <a>PaymentRequestEvent</a>.
</p>
Expand All @@ -936,14 +936,14 @@ <h2>
</h2>
<pre class="idl">
dictionary CanMakePaymentEventInit : ExtendableEventInit {
USVString topLevelOrigin;
USVString topOrigin;
USVString paymentRequestOrigin;
sequence&lt;PaymentMethodData&gt; methodData;
sequence&lt;PaymentDetailsModifier&gt; modifiers;
};
</pre>
<p>
The <dfn>topLevelOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
The <dfn>topOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
<dfn>methodData</dfn>, and <dfn>modifiers</dfn> members share their
definitions with those defined for <a>PaymentRequestEvent</a>.
</p>
Expand Down Expand Up @@ -980,7 +980,7 @@ <h2>
has no default action.
</li>
<li>Set the <a data-lt=
"PaymentRequestEvent.topLevelOrigin">topLevelOrigin</a>,
"PaymentRequestEvent.topOrigin">topOrigin</a>,
<a data-lt=
"PaymentRequestEvent.paymentRequestOrigin">paymentRequestOrigin</a>,
<a data-lt="PaymentRequestEvent.methodData">methodData</a>, and
Expand Down Expand Up @@ -1158,7 +1158,7 @@ <h2>
<pre class="idl">
[Constructor(DOMString type, PaymentRequestEventInit eventInitDict), Exposed=ServiceWorker]
interface PaymentRequestEvent : ExtendableEvent {
readonly attribute USVString topLevelOrigin;
readonly attribute USVString topOrigin;
readonly attribute USVString paymentRequestOrigin;
readonly attribute DOMString paymentRequestId;
readonly attribute FrozenArray&lt;PaymentMethodData&gt; methodData;
Expand All @@ -1171,7 +1171,7 @@ <h2>
</pre>
<section>
<h2>
<dfn>topLevelOrigin</dfn> attribute
<dfn>topOrigin</dfn> attribute
</h2>
<p>
Returns a string that indicates the <a data-cite=
Expand All @@ -1188,10 +1188,10 @@ <h2>
Returns a string that indicates the <a data-cite=
"!HTML#origin">origin</a> where a <a>PaymentRequest</a> was
initialized. When a <a>PaymentRequest</a> is initialized in the
<a>topLevelOrigin</a>, the attributes have the same value,
<a>topOrigin</a>, the attributes have the same value,
otherwise the attributes have different values. For example, when a
<a>PaymentRequest</a> is initialized within an iframe from an
origin other than <a>topLevelOrigin</a>, the value of this
origin other than <a>topOrigin</a>, the value of this
attribute is the origin of the iframe. This attribute is
initialized by <a>Handling a PaymentRequestEvent</a>.
</p>
Expand Down Expand Up @@ -1293,7 +1293,7 @@ <h2>
</h2>
<pre class="idl">
dictionary PaymentRequestEventInit : ExtendableEventInit {
USVString topLevelOrigin;
USVString topOrigin;
USVString paymentRequestOrigin;
DOMString paymentRequestId;
sequence&lt;PaymentMethodData&gt; methodData;
Expand All @@ -1303,7 +1303,7 @@ <h2>
};
</pre>
<p>
The <dfn>topLevelOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
The <dfn>topOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
<dfn>paymentRequestId</dfn>, <dfn>methodData</dfn>,
<dfn>total</dfn>, <dfn>modifiers</dfn>, and
<dfn>instrumentKey</dfn> members share their definitions with those
Expand Down Expand Up @@ -1513,7 +1513,7 @@ <h2>
and has no default action.
</li>
<li>Set the <a data-lt=
"PaymentRequestEvent.topLevelOrigin">topLevelOrigin</a> attribute
"PaymentRequestEvent.topOrigin">topOrigin</a> attribute
of <var>e</var> to <a data-cite=
"!HTML#ascii-serialisation-of-an-origin">the serialization of the
origin</a> of the top level payee web page.
Expand Down

0 comments on commit abceef7

Please sign in to comment.