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

Issue 1216933002: HTMLOptionsCollection remove() argument should be long, not unsigned long (Closed)

Created:
5 years, 5 months ago by shiva.jm
Modified:
5 years, 5 months ago
Reviewers:
pdr., philipj_slow
CC:
Habib Virji
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

HTMLOptionsCollection remove() argument should be long, not unsigned long As per spec link: https://html.spec.whatwg.org/#the-htmloptionscollection-interface, HTMLOptionsCollection remove() api argument should be long, not unsigned long This change cannot be tested since, we can only test with a small number of options (certainly less than two billion) and the difference is only observable around INT_MAX and INT_MIN, also return value of remove() is always void, it does not throw any exception. Implementation for remove() is already using int. BUG=496400 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198149

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M Source/core/html/HTMLOptionsCollection.idl View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
shiva.jm
pls have a look.
5 years, 5 months ago (2015-06-29 08:39:23 UTC) #2
philipj_slow
It looks like you accidentally removed the title "HTMLOptionsCollection remove() api argument should be long, ...
5 years, 5 months ago (2015-06-29 09:21:44 UTC) #3
shiva.jm
On 2015/06/29 09:21:44, philipj wrote: > It looks like you accidentally removed the title "HTMLOptionsCollection ...
5 years, 5 months ago (2015-06-29 09:29:10 UTC) #4
philipj_slow
Please also link to the tracking bug for signed/unsigned changes with BUG= in the description. ...
5 years, 5 months ago (2015-06-29 09:33:05 UTC) #5
shiva.jm
On 2015/06/29 09:33:05, philipj wrote: > Please also link to the tracking bug for signed/unsigned ...
5 years, 5 months ago (2015-06-29 11:00:00 UTC) #6
philipj_slow
On 2015/06/29 11:00:00, shiva.jm wrote: > On 2015/06/29 09:33:05, philipj wrote: > > Please also ...
5 years, 5 months ago (2015-06-29 14:44:36 UTC) #7
shiva.jm
Updated the review comments and description, pls have a look. https://codereview.chromium.org/1216933002/diff/1/LayoutTests/fast/js/resources/select-options-remove.js File LayoutTests/fast/js/resources/select-options-remove.js (right): https://codereview.chromium.org/1216933002/diff/1/LayoutTests/fast/js/resources/select-options-remove.js#newcode245 ...
5 years, 5 months ago (2015-06-30 05:33:23 UTC) #8
shiva.jm
On 2015/06/29 14:44:36, philipj wrote: > On 2015/06/29 11:00:00, shiva.jm wrote: > > On 2015/06/29 ...
5 years, 5 months ago (2015-07-01 12:02:54 UTC) #9
philipj_slow
lgtm
5 years, 5 months ago (2015-07-01 14:47:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216933002/40001
5 years, 5 months ago (2015-07-01 14:47:37 UTC) #12
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 15:47:44 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198149

Powered by Google App Engine
This is Rietveld 408576698