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

Issue 2557583003: Move Form Association Code to FormAssociated::associateWith (Closed)

Created:
4 years ago by yurak
Modified:
4 years ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, dominicc+watchlist_chromium.org, dominicc (has gone to gerrit), eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moved form association code from constructors to associateWith() in HTMLImageElement, HTMLObjectElement, and HTMLFormControlElement. HTMLInputElement had some issues with timing for the lazy parsing of input type. I moved the call to Element::parserDidSetAttribute outside Element::parserSetAttribute. parserDidSetAttribute is called before parserSetAttribute in XMLDocumentParser. BUG=672359 Committed: https://crrev.com/cf1052fcc3e555fc9cbff68bd0f8d27ec86f3e35 Cr-Commit-Position: refs/heads/master@{#437159}

Patch Set 1 #

Patch Set 2 : Check for m_inputType before accessing it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -13 lines) Patch
M third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.cpp View 2 chunks +3 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (15 generated)
yurak
PTL. I had to change Element::parserDidSetAttribute to public from protected so XMLDocumentParser could reach it. ...
4 years ago (2016-12-06 12:31:05 UTC) #3
tkent
> HTMLInputElement had some issues with timing for the lazy parsing of input type. What ...
4 years ago (2016-12-06 22:50:33 UTC) #8
yurak
On 2016/12/06 at 22:50:33, tkent wrote: > > HTMLInputElement had some issues with timing for ...
4 years ago (2016-12-07 01:58:25 UTC) #9
tkent
On 2016/12/07 at 01:58:25, yurak wrote: > On 2016/12/06 at 22:50:33, tkent wrote: > > ...
4 years ago (2016-12-07 02:07:36 UTC) #10
yurak
On 2016/12/07 at 02:07:36, tkent wrote: > On 2016/12/07 at 01:58:25, yurak wrote: > > ...
4 years ago (2016-12-07 07:47:48 UTC) #11
tkent
> > Does it crash in HTMLInputElement::radioButtonGroupScope()? > > Yes. > > > Can we ...
4 years ago (2016-12-07 08:59:02 UTC) #12
yurak
> ok, then we should check existence of m_inputType in HTMLInputElement::willChangeForm and didChangeForm, like: > ...
4 years ago (2016-12-07 09:56:18 UTC) #13
tkent
lgtm
4 years ago (2016-12-07 23:11:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557583003/20001
4 years ago (2016-12-07 23:11:44 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/81619)
4 years ago (2016-12-08 00:31:33 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557583003/20001
4 years ago (2016-12-08 00:47:25 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/81739)
4 years ago (2016-12-08 01:53:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557583003/20001
4 years ago (2016-12-08 02:10:18 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-08 02:56:55 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-08 02:59:07 UTC) #29
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cf1052fcc3e555fc9cbff68bd0f8d27ec86f3e35
Cr-Commit-Position: refs/heads/master@{#437159}

Powered by Google App Engine
This is Rietveld 408576698