|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by anthonyhkf Modified:
4 years, 4 months ago CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, Eric Willigers, rjwright, rwlbuis Base URL:
https://chromium.googlesource.com/chromium/src.git@CSSTokenStreamValue Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Description[Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests
Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects
BUG=545318
Committed: https://crrev.com/582dce63a892bff908796380281c2106fb521b3b
Cr-Commit-Position: refs/heads/master@{#409975}
Patch Set 1 #Patch Set 2 : Removed unrelated files #
Total comments: 2
Patch Set 3 : Fix tests, made some helper functions #Patch Set 4 : Removed unused variables #
Total comments: 1
Patch Set 5 : Add condition for null value #Patch Set 6 : Fixed reparent-branch problem #Patch Set 7 : Add constructor #Patch Set 8 : Removed unrelated files #Patch Set 9 : Rebase #Patch Set 10 : Remove duplicate idl in core.gypi #Patch Set 11 : Rebase-update #
Messages
Total messages: 42 (29 generated)
anthonyhkf@google.com changed reviewers: + meade@chromium.org
Description was changed from ========== Add compound type of CSSVariableReferenceValue and String with some tests BUG=545318 ========== to ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests BUG=545318 ==========
Description was changed from ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests BUG=545318 ========== to ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects BUG=545318 ==========
You also need to: - sync (looks like you landed the initial patch for CSSVariableReferenceValue in http://crrev.com/2126713002) - Make sure all the animation test changes are reverted in this CL (might be solved by syncing) - Move bindings/core/v8/generated.gni and bindings/core/v8/generated.gypi to a separate CL https://codereview.chromium.org/2140073002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2140073002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:66: tokens.append(m_listOfReferences[i].getAsString()); You need to check m_listOfReferences[i].isString() before calling getAsString(). It could be a VariableReferenceValue, in which case you'll want to do tokens.append(m_listOfReferences[i].getAsCSSVariableReferenceValue().variable());
https://codereview.chromium.org/2140073002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2140073002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:66: tokens.append(m_listOfReferences[i].getAsString()); On 2016/07/14 00:59:30, Eddy wrote: > You need to check > > m_listOfReferences[i].isString() before calling getAsString(). It could be a > VariableReferenceValue, in which case you'll want to do > > tokens.append(m_listOfReferences[i].getAsCSSVariableReferenceValue().variable()); Done.
meade@chromium.org changed reviewers: + shans@chromium.org
This lgtm (with comments), but you still need to make the separate CL with that gypi and gni file as per my first comment. This CL will be dependent on that. https://codereview.chromium.org/2140073002/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2140073002/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:70: tokens.append(m_listOfReferences[i].getAsCSSVariableReferenceValue()->variable()); Theoretically it could still be null, how about this? if (m_listOfReferences[i].isString()) ... else if (m_listOfReferences[i].isCSSVariableReferenceValue()) ... else NOTREACHED();
The CQ bit was checked by anthonyhkf@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by anthonyhkf@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by anthonyhkf@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by anthonyhkf@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Shane ptal?
On 2016/07/25 at 07:01:54, meade wrote: > Shane ptal? lgtm
meade@chromium.org changed reviewers: + dstockwell@chromium.org
+Doug for OWNERS review! PTAL :)
Psst, LayoutTests are failing. Also ping doug?
Oops, was looking at the wrong patch set. But Doug still needs to have a look :)
lgtm
The CQ bit was checked by anthonyhkf@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by anthonyhkf@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from meade@chromium.org, dstockwell@chromium.org, shans@chromium.org Link to the patchset: https://codereview.chromium.org/2140073002/#ps200001 (title: "Rebase-update")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects BUG=545318 ========== to ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects BUG=545318 ==========
Message was sent while issue was closed.
Committed patchset #11 (id:200001)
Message was sent while issue was closed.
Description was changed from ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects BUG=545318 ========== to ========== [Typed-OM] Add compound type of CSSVariableReferenceValue and String with some tests Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-objects BUG=545318 Committed: https://crrev.com/582dce63a892bff908796380281c2106fb521b3b Cr-Commit-Position: refs/heads/master@{#409975} ==========
Message was sent while issue was closed.
Patchset 11 (id:??) landed as https://crrev.com/582dce63a892bff908796380281c2106fb521b3b Cr-Commit-Position: refs/heads/master@{#409975} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
