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

Issue 1444533002: Correct UseCounter::FormNameAccessForImageElement. (Closed)

Created:
5 years, 1 month ago by tkent
Modified:
5 years, 1 month ago
Reviewers:
keishi, sof
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correct UseCounter::FormNameAccessForImageElement. It seems the counter didn't cover form.imageName case. BUG=555387 R=keishi@chromium.org, sigbjornf@opera.com Committed: https://chromium.googlesource.com/chromium/src/+/075928d082925a6fa76e8c1c3f49efa2b561ebf3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use onlyMatchImg #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/Source/core/html/HTMLFormElement.cpp View 1 1 chunk +3 lines, -1 line 3 comments Download

Messages

Total messages: 13 (3 generated)
tkent
Keishi, would you review this please?
5 years, 1 month ago (2015-11-13 08:00:38 UTC) #2
sof
https://codereview.chromium.org/1444533002/diff/1/third_party/WebKit/Source/core/html/HTMLFormElement.cpp File third_party/WebKit/Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/1444533002/diff/1/third_party/WebKit/Source/core/html/HTMLFormElement.cpp#newcode846 third_party/WebKit/Source/core/html/HTMLFormElement.cpp:846: bool onlyMatchImg = !elements.isEmpty() && isHTMLImageElement(*elements.first()); Why not move ...
5 years, 1 month ago (2015-11-13 08:06:49 UTC) #3
tkent
https://codereview.chromium.org/1444533002/diff/1/third_party/WebKit/Source/core/html/HTMLFormElement.cpp File third_party/WebKit/Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/1444533002/diff/1/third_party/WebKit/Source/core/html/HTMLFormElement.cpp#newcode846 third_party/WebKit/Source/core/html/HTMLFormElement.cpp:846: bool onlyMatchImg = !elements.isEmpty() && isHTMLImageElement(*elements.first()); On 2015/11/13 at ...
5 years, 1 month ago (2015-11-13 08:11:10 UTC) #4
keishi
LGTM
5 years, 1 month ago (2015-11-13 08:12:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1444533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1444533002/20001
5 years, 1 month ago (2015-11-13 08:12:54 UTC) #7
sof
https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp File third_party/WebKit/Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp#newcode840 third_party/WebKit/Source/core/html/HTMLFormElement.cpp:840: if (onlyMatchImg) Hmm, what if the <img> element doesn't ...
5 years, 1 month ago (2015-11-13 08:21:48 UTC) #9
tkent
https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp File third_party/WebKit/Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp#newcode840 third_party/WebKit/Source/core/html/HTMLFormElement.cpp:840: if (onlyMatchImg) On 2015/11/13 at 08:21:48, sof wrote: > ...
5 years, 1 month ago (2015-11-13 08:28:25 UTC) #10
sof
https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp File third_party/WebKit/Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/1444533002/diff/20001/third_party/WebKit/Source/core/html/HTMLFormElement.cpp#newcode840 third_party/WebKit/Source/core/html/HTMLFormElement.cpp:840: if (onlyMatchImg) On 2015/11/13 08:28:25, tkent wrote: > On ...
5 years, 1 month ago (2015-11-13 08:33:10 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/075928d082925a6fa76e8c1c3f49efa2b561ebf3 Cr-Commit-Position: refs/heads/master@{#359517}
5 years, 1 month ago (2015-11-13 09:08:49 UTC) #12
tkent
5 years, 1 month ago (2015-11-13 09:09:23 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
075928d082925a6fa76e8c1c3f49efa2b561ebf3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698