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

Issue 419053005: Fix crash in HTMLInputElement::setupDateTimeChooserParameters (Closed)

Created:
6 years, 4 months ago by rwlbuis
Modified:
6 years, 4 months ago
Reviewers:
tkent
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix crash in HTMLInputElement::setupDateTimeChooserParameters The date time input element has a custom style, meaning that computedStyle will not work here. So delegate the decision, so the input type can do the right thing. BUG=384591 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179411

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address issues #

Total comments: 1

Patch Set 3 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
A LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/html/forms/InputType.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/forms/InputType.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
rwlbuis
PTAL. I started with the obvious fix of providing nonRenderStyle() for HTMLInputElement, since we also ...
6 years, 4 months ago (2014-07-30 22:33:24 UTC) #1
tkent
https://codereview.chromium.org/419053005/diff/1/LayoutTests/fast/forms/datepicker-crash-after-keydown.html File LayoutTests/fast/forms/datepicker-crash-after-keydown.html (right): https://codereview.chromium.org/419053005/diff/1/LayoutTests/fast/forms/datepicker-crash-after-keydown.html#newcode1 LayoutTests/fast/forms/datepicker-crash-after-keydown.html:1: <input id="month" type="month"</div> - The top level indentation is ...
6 years, 4 months ago (2014-07-30 23:19:58 UTC) #2
tkent
> UNKNOWN in WebCore::RenderStyle::direction This CL summary is unclear. Probably "Fix crash in HTMLInputElement::setupDateTimeChooserParameters" or ...
6 years, 4 months ago (2014-07-30 23:21:49 UTC) #3
rwlbuis
PTAL, all issues should be fixed now.
6 years, 4 months ago (2014-07-31 15:45:27 UTC) #4
tkent
lgtm https://codereview.chromium.org/419053005/diff/20001/LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html File LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html (right): https://codereview.chromium.org/419053005/diff/20001/LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html#newcode3 LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html:3: if (window.testRunner) { nit: The top-level indentation is ...
6 years, 4 months ago (2014-08-01 00:10:39 UTC) #5
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 4 months ago (2014-08-01 15:16:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/419053005/40001
6 years, 4 months ago (2014-08-01 15:17:09 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-01 16:32:35 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 17:38:14 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/19114)
6 years, 4 months ago (2014-08-01 17:38:15 UTC) #10
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 4 months ago (2014-08-01 17:42:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/419053005/40001
6 years, 4 months ago (2014-08-01 17:44:00 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 18:53:34 UTC) #13
Message was sent while issue was closed.
Change committed as 179411

Powered by Google App Engine
This is Rietveld 408576698