http://codereview.chromium.org/6902104/diff/3001/src/array.js
File src/array.js (right):

http://codereview.chromium.org/6902104/diff/3001/src/array.js#newcode378
src/array.js:378: if (IS_NULL_OR_UNDEFINED(this)) {
On 2011/04/28 10:50:01, Lasse Reichstein wrote:
Just checked Firefox 4. It does not throw when passing document.all
(an
undetectable object) as receiver.

Do we have any undetectable objects other that document.all?

Firefox's strategy for handling document.all differs from WebKits.
WebKit treats the value as a special kind of value, whereas FF treats
the lookup of the "all" property of document as a special context
sensitive kind of lookup. The lookup is sensitive to the syntactic
context from which it is looked up, but once looked up yields either a
normal value or a normal undefined. AFAIK, FF does not have special
undetectable objects as first class values.

See https://bugzilla.mozilla.org/show_bug.cgi?id=521670#c6

http://codereview.chromium.org/6902104/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to