Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Issue 433413002: `1..isPrototypeOf.call(null)` should return false, not throw TypeError. (Closed)

Created:
6 years, 4 months ago by ziyunfei
Modified:
6 years, 1 month ago
Reviewers:
rossberg, danno
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

`1..isPrototypeOf.call(null)` should return false, not throw TypeError. BUG=v8:3483 LOG=Y R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=25116

Patch Set 1 #

Patch Set 2 : `1..isPrototypeOf.call(null)` should return false, not throw TypeError. #

Patch Set 3 : Remove `Object.prototype.isPrototypeOf` from array `should_throw_on_null_and_undefined` in mjsunit/… #

Patch Set 4 : s/Copyright 2013/Copyright 2014/ #

Total comments: 1

Patch Set 5 : Patch Set 5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -20 lines) Patch
M src/v8natives.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/function-call.js View 1 2 3 4 5 chunks +10 lines, -11 lines 0 comments Download
A + test/mjsunit/regress/regress-3483.js View 1 2 3 4 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
danno
6 years, 4 months ago (2014-08-04 07:55:05 UTC) #1
mathiasb
Drive-by comment: no test?
6 years, 4 months ago (2014-08-04 09:18:03 UTC) #2
Yang
On 2014/08/04 09:18:03, mathiasb wrote: > Drive-by comment: no test? Yup. Test case would be ...
6 years, 4 months ago (2014-08-13 09:25:07 UTC) #3
ziyunfei
`1..isPrototypeOf.call(null)` should return false, not throw TypeError. BUG=v8:3483 LOG=Y
6 years, 4 months ago (2014-08-14 04:20:19 UTC) #4
ziyunfei
On 2014/08/13 09:25:07, Yang wrote: > On 2014/08/04 09:18:03, mathiasb wrote: > > Drive-by comment: ...
6 years, 4 months ago (2014-08-14 04:21:07 UTC) #5
Yang
On 2014/08/14 04:21:07, ziyunfei wrote: > On 2014/08/13 09:25:07, Yang wrote: > > On 2014/08/04 ...
6 years, 4 months ago (2014-08-18 09:26:38 UTC) #6
ziyunfei
On 2014/08/18 09:26:38, Yang wrote: > On 2014/08/14 04:21:07, ziyunfei wrote: > > On 2014/08/13 ...
6 years, 4 months ago (2014-08-18 09:49:58 UTC) #7
rossberg
This fails mjsunit/function-call, probably needs adapting.
6 years, 4 months ago (2014-08-19 12:15:17 UTC) #8
ziyunfei
On 2014/08/19 12:15:17, rossberg wrote: > This fails mjsunit/function-call, probably needs adapting. Thanks, I will ...
6 years, 4 months ago (2014-08-19 12:58:41 UTC) #9
rossberg
https://codereview.chromium.org/433413002/diff/60001/test/mjsunit/function-call.js File test/mjsunit/function-call.js (left): https://codereview.chromium.org/433413002/diff/60001/test/mjsunit/function-call.js#oldcode33 test/mjsunit/function-call.js:33: Object.prototype.isPrototypeOf, I don't think we want to simply remove ...
6 years, 4 months ago (2014-08-21 11:16:52 UTC) #10
ziyunfei
On 2014/08/21 11:16:52, rossberg wrote: > https://codereview.chromium.org/433413002/diff/60001/test/mjsunit/function-call.js > File test/mjsunit/function-call.js (left): > > https://codereview.chromium.org/433413002/diff/60001/test/mjsunit/function-call.js#oldcode33 > ...
6 years, 3 months ago (2014-08-28 13:25:42 UTC) #11
rossberg
lgtm
6 years, 1 month ago (2014-11-03 14:40:21 UTC) #12
rossberg
6 years, 1 month ago (2014-11-04 16:14:01 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 manually as 25116 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698