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

Issue 422543003: Add `CheckObjectCoercible` for the `String.prototype` HTML methods (Closed)

Created:
6 years, 4 months ago by mathias
Modified:
6 years, 4 months ago
Reviewers:
mathiasb, aandrey, Yang, rossberg
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add `CheckObjectCoercible` for the `String.prototype` HTML methods Contributed by Mathias Bynens <mathiasb@opera.com>;. TEST=mjsunit/es6/string-html BUG=v8:2218 LOG=Y R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22938

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated as per Yang’s feedback #

Total comments: 2

Patch Set 3 : Updated as per rossberg’s and aandrey’s feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -19 lines) Patch
M src/string.js View 1 2 3 chunks +43 lines, -19 lines 0 comments Download
A test/mjsunit/es6/string-html.js View 1 1 chunk +159 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mathiasb
6 years, 4 months ago (2014-08-04 08:13:53 UTC) #1
mathiasb
Note that this patch also contains the (few) commented-out tests for V8 issue 2217 (since ...
6 years, 4 months ago (2014-08-05 05:43:14 UTC) #2
Yang
Looking good. https://codereview.chromium.org/422543003/diff/1/src/string.js File src/string.js (right): https://codereview.chromium.org/422543003/diff/1/src/string.js#newcode842 src/string.js:842: CHECK_OBJECT_COERCIBLE(this, "String.prototype.link"); Now that all of this ...
6 years, 4 months ago (2014-08-05 10:34:19 UTC) #3
mathiasb
Thanks for the review. I’ve updated the patch. PTAL.
6 years, 4 months ago (2014-08-05 11:09:17 UTC) #4
rossberg
https://codereview.chromium.org/422543003/diff/20001/src/string.js File src/string.js (right): https://codereview.chromium.org/422543003/diff/20001/src/string.js#newcode709 src/string.js:709: // ES6 draft 07-18-14, section B.2.3.1 Drive-by: please use ...
6 years, 4 months ago (2014-08-05 11:15:29 UTC) #5
aandrey
https://codereview.chromium.org/422543003/diff/20001/src/string.js File src/string.js (right): https://codereview.chromium.org/422543003/diff/20001/src/string.js#newcode872 src/string.js:872: one more blank line
6 years, 4 months ago (2014-08-05 11:16:20 UTC) #6
mathiasb
On 2014/08/05 at 11:15:29, rossberg wrote: > https://codereview.chromium.org/422543003/diff/20001/src/string.js > File src/string.js (right): > > https://codereview.chromium.org/422543003/diff/20001/src/string.js#newcode709 ...
6 years, 4 months ago (2014-08-05 11:18:11 UTC) #7
mathiasb
Thanks rossberg and aandrey! Patch updated. PTAL.
6 years, 4 months ago (2014-08-05 11:25:41 UTC) #8
Yang
On 2014/08/05 11:25:41, mathiasb wrote: > Thanks rossberg and aandrey! Patch updated. PTAL. LGTM. Will ...
6 years, 4 months ago (2014-08-05 12:57:01 UTC) #9
Yang
6 years, 4 months ago (2014-08-06 14:58:53 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as 22938 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698