Skip to content

Commit

Permalink
Fix #787 : Fix the links to the data-tests in the spec (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvia23 authored and marcoscaceres committed Sep 28, 2018
1 parent 38187ce commit 3b6a1ac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ <h2>
</p>
<ol data-link-for="PaymentDetailsBase" class="algorithm">
<li data-tests=
"active-document-cross-origin.https.sub.html, active-document-same-origin.https.html, removing-allowpaymentrequest.https.sub.html, setting-allowpaymentrequest-timing.https.sub.html, setting-allowpaymentrequest.https.sub.html">
"allowpaymentrequest/active-document-cross-origin.https.sub.html, allowpaymentrequest/active-document-same-origin.https.html, allowpaymentrequest/removing-allowpaymentrequest.https.sub.html, allowpaymentrequest/setting-allowpaymentrequest-timing.https.sub.html, allowpaymentrequest/setting-allowpaymentrequest.https.sub.html">
If the <a>current settings object</a>'s <a data-cite=
"!HTML#responsible-document">responsible document</a> is not
<a>allowed to use</a> the feature indicated by attribute name
Expand Down Expand Up @@ -901,13 +901,13 @@ <h2>
</p>
</div>
<p data-tests=
"payment-request-show-method.https.html, payment-request-show-method-manual.https.html">
"payment-request-show-method.https.html, payment-request-show-method.https.html">
The <code>show(optional <var>detailsPromise</var>)</code> method MUST
act as follows:
</p>
<ol class="algorithm">
<li data-tests=
"payment-request-show-method-manual.https.html, show-method-postmessage-manual.https.html">
"payment-request-show-method.https.html, show-method-postmessage-manual.https.html">
If the method was not <a>triggered by user activation</a>, return <a>
a promise rejected with</a> with a "<a>SecurityError</a>"
<a>DOMException</a>.
Expand Down Expand Up @@ -1135,7 +1135,7 @@ <h2>
request</a>.
</p>
</div>
<p data-tests="payment-request-abort-method-manual.https.html">
<p data-tests="payment-request-abort-method.https.html">
The <a>abort()</a> method MUST act as follows:
</p>
<ol class="algorithm">
Expand Down Expand Up @@ -1194,7 +1194,7 @@ <h2>
<a>DOMException</a>, at its discretion.
</p>
<p data-tests=
"payment-request-canmakepayment-method-manual.https.html">
"payment-request-canmakepayment-method.https.html">
The <a>canMakePayment()</a> method MUST act as follows:
</p>
<ol class="algorithm">
Expand Down Expand Up @@ -1297,7 +1297,7 @@ <h2>
<dfn>onmerchantvalidation</dfn> attribute
</h2>
<p data-tests=
"payment-request/onmerchantvalidation-attribute.https.html">
"onmerchantvalidation-attribute.https.html">
A <a>PaymentRequest</a>'s <a>onmerchantvalidation</a> attribute is an
<a>EventHandler</a> for a <a>MerchantValidationEvent</a> named
"<a>merchantvalidation</a>".
Expand Down Expand Up @@ -3287,7 +3287,7 @@ <h2>
<var>retryPromise</var>.
</li>
<li data-link-for="PaymentValidationErrors" data-tests=
"payment-request/PaymentValidationErrors/retry-shows-error-member-manual.https.html">
"PaymentValidationErrors/retry-shows-error-member-manual.https.html">
If <var>errorFields</var>'s <a>paymentMethod</a> member was passed,
and if required by the specification that defines
<var>response</var>'s <a>payment method</a>, then <a data-cite=
Expand Down Expand Up @@ -3319,7 +3319,7 @@ <h2>
present the error in the user agent's UI.
</li>
<li data-tests=
"payment-request/payment-response/rejects_if_not_active-manual.https.html">
"payment-response/rejects_if_not_active-manual.https.html">
If <var>document</var> stops being <a data-cite="!HTML#fully-active">
fully active</a> while the user interface is being shown, or no
longer is by the time this step is reached, then:
Expand Down Expand Up @@ -3627,7 +3627,7 @@ <h2>
<li>Set <var>response</var>.<a>[[\complete]]</a> to true.
</li>
<li data-tests=
"payment-request/payment-response/retry-method-manual.https.html">If
"payment-response/retry-method-manual.https.html">If
<var>response</var>.<a>[[\retryPromise]]</a> is not null, reject
<var>promise</var> with an "<a>InvalidStateError</a>"
<a>DOMException</a>.
Expand Down Expand Up @@ -4174,7 +4174,7 @@ <h2>
</pre>
</aside>
<p data-tests=
"payment-request-update-event-updatewith-method.https.html, PaymentRequestUpdateEvent/updateWith-incremental-update-manual.https.html">
"PaymentRequestUpdateEvent/updatewith-method.https.html, PaymentRequestUpdateEvent/updateWith-incremental-update-manual.https.html">
The <a><code>updateWith(<var>detailsPromise</var>)</code></a>
method MUST act as follows:
</p>
Expand Down

0 comments on commit 3b6a1ac

Please sign in to comment.