Skip to content

Commit

Permalink
Decorate all interfaces with [SecureContext] (#251)
Browse files Browse the repository at this point in the history
Fixes #241
  • Loading branch information
adrianba committed Sep 15, 2016
1 parent b00285e commit ca97d9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ <h2>PaymentItem dictionary</h2>
<section>
<h2>PaymentAddress interface</h2>
<pre class="idl">
[SecureContext]
interface PaymentAddress {
readonly attribute DOMString country;
readonly attribute FrozenArray&lt;DOMString&gt; addressLine;
Expand Down Expand Up @@ -942,6 +943,7 @@ <h2>PaymentResponse interface</h2>
<pre class="idl">
enum PaymentComplete { "success", "fail", "" };

[SecureContext]
interface PaymentResponse {
readonly attribute DOMString methodName;
readonly attribute object details;
Expand Down Expand Up @@ -1080,7 +1082,7 @@ <h2>Summary</h2>
<section>
<h2>PaymentRequestUpdateEvent</h2>
<pre class="idl">
[Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict)]
[Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict),SecureContext]
interface PaymentRequestUpdateEvent : Event {
void updateWith(Promise&lt;PaymentDetails&gt; d);
};
Expand Down

0 comments on commit ca97d9c

Please sign in to comment.