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

Issue 1411123004: Handle extra whitespaces in the DOM token list (Closed)

Created:
5 years, 2 months ago by tanay.c
Modified:
5 years, 1 month ago
Reviewers:
tkent, jianli
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

We don't need to preserve extra whitespaces on removing tokens from DOMTokenList. BUG=526282 Committed: https://crrev.com/7598887af4bd5ad4f6cb513a943d4e780ff9799a Cr-Commit-Position: refs/heads/master@{#356481}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Messages

Total messages: 13 (3 generated)
tanay.c
Please have a look.
5 years, 2 months ago (2015-10-20 06:11:57 UTC) #2
tanay.c
PTAL
5 years, 1 month ago (2015-10-25 12:31:45 UTC) #3
tkent
We should re-write DOMTokenList::removeTokens() entirely so that it just serializes a SpaceSplitString. But the current ...
5 years, 1 month ago (2015-10-26 03:21:02 UTC) #4
tanay.c
Thanks for the comments, included the changes. PTAL https://codereview.chromium.org/1411123004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html File third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html (right): https://codereview.chromium.org/1411123004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html#newcode5 third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html:5: <script> ...
5 years, 1 month ago (2015-10-26 09:38:51 UTC) #5
tkent
https://codereview.chromium.org/1411123004/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html File third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html (right): https://codereview.chromium.org/1411123004/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html#newcode1 third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html:1: <!DOCTYPE html> I realized fast/dom/HTMLElement/script-tests/class-list.js covered classList.remove(). So, you ...
5 years, 1 month ago (2015-10-26 23:30:39 UTC) #6
tanay.c
Added the changes for comments. PTAL. https://codereview.chromium.org/1411123004/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html File third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html (right): https://codereview.chromium.org/1411123004/diff/40001/third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html#newcode1 third_party/WebKit/LayoutTests/fast/dom/Element/classlist-remove-token.html:1: <!DOCTYPE html> On ...
5 years, 1 month ago (2015-10-27 10:44:39 UTC) #7
tkent
lgtm
5 years, 1 month ago (2015-10-27 22:31:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411123004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411123004/60001
5 years, 1 month ago (2015-10-27 22:35:33 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-28 01:49:12 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 01:50:02 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7598887af4bd5ad4f6cb513a943d4e780ff9799a
Cr-Commit-Position: refs/heads/master@{#356481}

Powered by Google App Engine
This is Rietveld 408576698