Comment #4 on issue 1447 by [email protected]: Can't freeze forEach while forEach call is in progress
http://code.google.com/p/v8/issues/detail?id=1447

Does the following mean this bug should be reopened, or is it a symptom of a different problem?

$ v8
V8 version 3.4.7 (candidate) [console: dumb]
d8> function foo(){"use strict"; ['z'].forEach(function(){ Object.freeze(Array.prototype.forEach); }); }
d8> foo()
(d8):1: TypeError: Illegal access to a strict mode caller function.
function foo(){"use strict"; ['z'].forEach(function(){ Object.freeze(Array.pro
                                                              ^
TypeError: Illegal access to a strict mode caller function.
    at Function.freeze (native)
    at (d8):1:63
    at Array.forEach (native)
    at foo ((d8):1:36)
    at (d8):1:1
d8>


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

Reply via email to