Bug 23051: Fix the invalid IDL for the KeyPair interface by specifying as "readonly attribute"
--- 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>