[Bug 26322] Definitions "algorithm" and "usages" properties of CryptoKey make no sense

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26322

--- Comment #10 from Boris Zbarsky <bzbarsky@mit.edu> ---
> but the object could still change if it has member functions that change it.

If it has member functions that work with the object's internal slots and
modify them.

> Can I call push() on a frozen Array ?

No, because Array does not have any special internal slots (other than the ones
all objects have, like [[Prototype]] and [[Extensible]]).  All its state is
stored directly in its properties.

If you look at what push() does, it just does an assignment to an indexed
property (via Put(); see
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.push
step 7), which would fail with a frozen array.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 8 October 2014 15:24:57 UTC