Chromium Code Reviews
DescriptionFunction#toMethod: check `newHome` before `this`
`Function.prototype.toMethod` should check `newHome` before `this` as
per the spec. V8 currently does it the other way around, resulting in
the wrong error message being thrown.
TEST=mjsunit/harmony
BUG=v8:3749
LOG=Y
Patch Set 1 #
Total comments: 3
Patch Set 2 : Updated as per Erik’s feedback #
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||