Skip to content

Commit

Permalink
Added spec link to Window#crypto
Browse files Browse the repository at this point in the history
BUG=674593

Review-Url: https://codereview.chromium.org/2716673003
Cr-Commit-Position: refs/heads/master@{#452630}
  • Loading branch information
LoonyBean authored and Commit bot committed Feb 23, 2017
1 parent 44a6ded commit e7c2bec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/WebKit/Source/modules/crypto/Crypto.idl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://w3c.github.io/webcrypto/Overview.html#crypto-interface

[
Exposed=(Window,Worker)
] interface Crypto {
Expand Down
2 changes: 2 additions & 0 deletions third_party/WebKit/Source/modules/crypto/WindowCrypto.idl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://w3c.github.io/webcrypto/Overview.html#crypto-interface

[
ImplementedAs=DOMWindowCrypto,
] partial interface Window {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

// https://w3c.github.io/webcrypto/Overview.html#crypto-interface

partial interface WorkerGlobalScope {
readonly attribute Crypto crypto;
};

0 comments on commit e7c2bec

Please sign in to comment.