Bug 23051: Fix the invalid IDL for the KeyPair interface by specifying as "readonly attribute"
authorRyan Sleevi <sleevi@google.com
Thu, 13 Feb 2014 00:00:00 -0800
changeset 107 3fd48a781e5a
parent 106 2fa3494f0179
child 108 acd4f3f23c52
Bug 23051: Fix the invalid IDL for the KeyPair interface by specifying as "readonly attribute"
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Thu Feb 13 00:00:00 2014 -0800
+++ b/spec/Overview-WebCryptoAPI.xml	Thu Feb 13 00:00:00 2014 -0800
@@ -2155,8 +2155,8 @@
         <h2>KeyPair</h2>
         <x:codeblock language="idl">
 interface <dfn id="dfn-KeyPair">KeyPair</dfn> {
-  <a href="#dfn-Key">Key</a> publicKey;
-  <a href="#dfn-Key">Key</a> privateKey;
+  readonly attribute <a href="#dfn-Key">Key</a> publicKey;
+  readonly attribute <a href="#dfn-Key">Key</a> privateKey;
 };
         </x:codeblock>
         <p>
--- a/spec/Overview.html	Thu Feb 13 00:00:00 2014 -0800
+++ b/spec/Overview.html	Thu Feb 13 00:00:00 2014 -0800
@@ -2158,8 +2158,8 @@
         <h2>17. KeyPair</h2>
         <div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
 interface <dfn id="dfn-KeyPair">KeyPair</dfn> {
-  <a href="#dfn-Key">Key</a> publicKey;
-  <a href="#dfn-Key">Key</a> privateKey;
+  readonly attribute <a href="#dfn-Key">Key</a> publicKey;
+  readonly attribute <a href="#dfn-Key">Key</a> privateKey;
 };
         </code></pre></div></div>
         <p>