This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
For starters, RsaKeyAlgorithm.publicExponent should be readonly (bug 24767) However even after this is done, I believe the BigInteger (which is an ArrayBufferView) would still be mutable. So programmers could change the value of the publicExponent (however this wouldn't be expected to actually affect the key). WebIDL defines a readonly array as being fixed and immutable, so that may be a better fit (If I am interpreting WebIDL correctly). Cheers.
The resolution of Bug 25626 will see this as invalid, in that it will return an object rather than an interface. *** This bug has been marked as a duplicate of bug 25626 ***