Description was changed from ========== [MD Bookmarks] Refactor window timer mocking. This CL adds TimerProxy ...
3 years, 6 months ago
(2017-06-08 04:56:14 UTC)
#1
Description was changed from
==========
[MD Bookmarks] Refactor window timer mocking.
This CL adds TimerProxy which allows elements to mock out setTimeout
and clearTimeout for testing purposes in a nicer way.
BUG=725786
==========
to
==========
[MD Bookmarks] Refactor window timer mocking.
This CL adds TimerProxy which allows elements to mock out setTimeout
and clearTimeout for testing purposes in a nicer way.
BUG=725786
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
calamity
The CQ bit was checked by calamity@chromium.org to run a CQ dry run
3 years, 6 months ago
(2017-06-08 07:50:15 UTC)
#2
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/437210) mac_chromium_rel_ng on ...
3 years, 6 months ago
(2017-06-08 07:57:53 UTC)
#5
3 years, 6 months ago
(2017-06-16 03:54:22 UTC)
#17
lgtm
https://codereview.chromium.org/2926763005/diff/60001/chrome/test/data/webui/...
File chrome/test/data/webui/md_bookmarks/test_timer_proxy.js (right):
https://codereview.chromium.org/2926763005/diff/60001/chrome/test/data/webui/...
chrome/test/data/webui/md_bookmarks/test_timer_proxy.js:33: return
this.timeoutIds_++;
On 2017/06/16 02:59:26, calamity wrote:
> On 2017/06/13 06:48:43, tsergeant wrote:
> > Optional: You could use cr.createUid() here, since it does basically exactly
> > what you're already doing.
>
> My ids start fighting with other uids which make me unable to test for exact
> timeout ids in my test.
Oh, sure, I forgot that you were hardcoding the values in the tests.
calamity
The CQ bit was checked by calamity@chromium.org
3 years, 6 months ago
(2017-06-19 03:56:11 UTC)
#18
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1497844571726540, "parent_rev": "dda720249a41f271c31c85ab47cd64ed35a2b242", "commit_rev": "12a52a35a4bfa982e7fb1c320d16c15691141957"}
3 years, 6 months ago
(2017-06-19 05:30:09 UTC)
#20
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1497844571726540,
"parent_rev": "dda720249a41f271c31c85ab47cd64ed35a2b242", "commit_rev":
"12a52a35a4bfa982e7fb1c320d16c15691141957"}
commit-bot: I haz the power
Description was changed from ========== [MD Bookmarks] Refactor window timer mocking. This CL adds TimerProxy ...
3 years, 6 months ago
(2017-06-19 05:30:19 UTC)
#21
Message was sent while issue was closed.
Description was changed from
==========
[MD Bookmarks] Refactor window timer mocking.
This CL adds TimerProxy which allows elements to mock out setTimeout
and clearTimeout for testing purposes in a nicer way.
BUG=725786
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
[MD Bookmarks] Refactor window timer mocking.
This CL adds TimerProxy which allows elements to mock out setTimeout
and clearTimeout for testing purposes in a nicer way.
BUG=725786
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2926763005
Cr-Commit-Position: refs/heads/master@{#480354}
Committed:
https://chromium.googlesource.com/chromium/src/+/12a52a35a4bfa982e7fb1c320d16...
==========
commit-bot: I haz the power
Committed patchset #3 (id:100001) as https://chromium.googlesource.com/chromium/src/+/12a52a35a4bfa982e7fb1c320d16c15691141957
3 years, 6 months ago
(2017-06-19 05:30:20 UTC)
#22
Issue 2926763005: [MD Bookmarks] Refactor window timer mocking.
(Closed)
Created 3 years, 6 months ago by calamity
Modified 3 years, 6 months ago
Reviewers: tsergeant
Base URL:
Comments: 11