|
|
Chromium Code Reviews
DescriptionSimplify TextControlElementTest.SetSelectionRangeDoesNotCaluseLayout
It doesn't make sense that forceLayoutFlag doesn't force layout.
Then this CL refine the test that
TextControlElement::setSelectionRange doesn't call layout in appropriate
condition.
BUG=692537
Review-Url: https://codereview.chromium.org/2716793002
Cr-Commit-Position: refs/heads/master@{#454186}
Committed: https://chromium.googlesource.com/chromium/src/+/b6b46d096a709930f22c2265b3378930dcf579c3
Patch Set 1 #Patch Set 2 : update #
Total comments: 4
Patch Set 3 : update #Messages
Total messages: 33 (21 generated)
The CQ bit was checked by yoichio@chromium.org 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.
Description was changed from ========== Update TextControlElementTest, SetSelectionRangeDoesNotCauseLayout BUG= ========== to ========== Refine SetSelectionRangeDoesNotCauseLayout It doesn't make sense that forceLayoutFlag doesn't force layout. Then this CL refine the test that TextControlElement::setSelectionRange doesn't call layout in appropriate condition. BUG=692537 ==========
yoichio@chromium.org changed reviewers: + yosin@chromium.org
The CQ bit was checked by yoichio@chromium.org 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...
https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/html/TextControlElementTest.cpp (right): https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/html/TextControlElementTest.cpp:75: DocumentLifecycle::DisallowTransitionScope disallowTransition( DocumentLifecycle::DisallowTransitionScope does nothing for DHCECK_IS_ON() is false. Could you check layout count?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...)
https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/html/TextControlElementTest.cpp (right): https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/html/TextControlElementTest.cpp:75: DocumentLifecycle::DisallowTransitionScope disallowTransition( On 2017/02/24 07:36:36, yosin_UTC9 wrote: > DocumentLifecycle::DisallowTransitionScope does nothing for DHCECK_IS_ON() is > false. What do you mean? This test is built as both debug/release.
https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/html/TextControlElementTest.cpp (right): https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/html/TextControlElementTest.cpp:75: DocumentLifecycle::DisallowTransitionScope disallowTransition( On 2017/02/28 at 02:11:39, yoichio wrote: > On 2017/02/24 07:36:36, yosin_UTC9 wrote: > > DocumentLifecycle::DisallowTransitionScope does nothing for DHCECK_IS_ON() is > > false. > What do you mean? This test is built as both debug/release. I mean rather than detecting test failure by DCHECK(), we can use EXPECT_EQ() with layout count.
The CQ bit was checked by yoichio@chromium.org 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...
https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/html/TextControlElementTest.cpp (right): https://codereview.chromium.org/2716793002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/html/TextControlElementTest.cpp:75: DocumentLifecycle::DisallowTransitionScope disallowTransition( On 2017/02/28 02:23:05, yosin_UTC9 wrote: > On 2017/02/28 at 02:11:39, yoichio wrote: > > On 2017/02/24 07:36:36, yosin_UTC9 wrote: > > > DocumentLifecycle::DisallowTransitionScope does nothing for DHCECK_IS_ON() > is > > > false. > > What do you mean? This test is built as both debug/release. > > I mean rather than detecting test failure by DCHECK(), we can use EXPECT_EQ() > with layout count. Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm I recommend to use more detailed summary or changes in TextControlElementTest, e.g. Simplify TextControlElementTest.SetSelectionRangeDoesNotCaluseLayout
Description was changed from ========== Refine SetSelectionRangeDoesNotCauseLayout It doesn't make sense that forceLayoutFlag doesn't force layout. Then this CL refine the test that TextControlElement::setSelectionRange doesn't call layout in appropriate condition. BUG=692537 ========== to ========== Simplify TextControlElementTest.SetSelectionRangeDoesNotCaluseLayout It doesn't make sense that forceLayoutFlag doesn't force layout. Then this CL refine the test that TextControlElement::setSelectionRange doesn't call layout in appropriate condition. BUG=692537 ==========
The CQ bit was checked by yoichio@chromium.org
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
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
yoichio@chromium.org changed reviewers: + tkent@chromium.org
Kent, could you take an OWNER look ?
lgtm
The CQ bit was checked by yoichio@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1488429638566510,
"parent_rev": "7e20e35dace024a8291ed7cd88e23b827c5f55e1", "commit_rev":
"b6b46d096a709930f22c2265b3378930dcf579c3"}
Message was sent while issue was closed.
Description was changed from ========== Simplify TextControlElementTest.SetSelectionRangeDoesNotCaluseLayout It doesn't make sense that forceLayoutFlag doesn't force layout. Then this CL refine the test that TextControlElement::setSelectionRange doesn't call layout in appropriate condition. BUG=692537 ========== to ========== Simplify TextControlElementTest.SetSelectionRangeDoesNotCaluseLayout It doesn't make sense that forceLayoutFlag doesn't force layout. Then this CL refine the test that TextControlElement::setSelectionRange doesn't call layout in appropriate condition. BUG=692537 Review-Url: https://codereview.chromium.org/2716793002 Cr-Commit-Position: refs/heads/master@{#454186} Committed: https://chromium.googlesource.com/chromium/src/+/b6b46d096a709930f22c2265b337... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/b6b46d096a709930f22c2265b337... |
