[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference: https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
Committed: https://crrev.com/1bf48eaa4831b5fd0a78bcb5d9a36b63d2a8cf49
Cr-Commit-Position: refs/heads/master@{#428091}
Description was changed from
==========
[IndexedDB] Add Observer Tests
Adding test for general observer behavior across browsing contexts.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
==========
to
==========
[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
==========
Hello Kentaro & Chris!
I've refactored Palak's test patch here:
https://codereview.chromium.org/2163213006/
In the following patch. I pipeline the test execution so we
can run any part of the test on any context, and I cover all of the valid
use-cases.
I still need to cover the exceptions, which will be in a following patch.
Thanks, and PTAL :)
Daniel
haraken
(Chris should be a better reviewer for this one :-)
On 2016/10/25 07:27:26, haraken wrote:
> (Chris should be a better reviewer for this one :-)
Ok! Does that mean you're differing your review? Let me know, I don't want to
submit this to the CQ without making sure all reviewers give their OK.
(You don't need to review, I put you on here as you were on Palak's test patch.
But feel free if you want to :) ).
dmurph
The CQ bit was checked by dmurph@chromium.org to run a CQ dry run
On 2016/10/25 18:28:15, dmurph wrote: > On 2016/10/25 07:27:26, haraken wrote: > > (Chris should ...
4 years, 1 month ago
(2016-10-25 18:29:47 UTC)
#10
On 2016/10/25 18:28:15, dmurph wrote:
> On 2016/10/25 07:27:26, haraken wrote:
> > (Chris should be a better reviewer for this one :-)
>
> Ok! Does that mean you're differing your review? Let me know, I don't want to
> submit this to the CQ without making sure all reviewers give their OK.
> (You don't need to review, I put you on here as you were on Palak's test
patch.
> But feel free if you want to :) ).
rs LGTM. This is purely about IDB stuff, so I'll defer this to Chris :)
dmurph
The CQ bit was unchecked by dmurph@chromium.org
4 years, 1 month ago
(2016-10-25 18:43:11 UTC)
#11
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_ng/builds/318699)
4 years, 1 month ago
(2016-10-25 19:49:36 UTC)
#16
Hi Chris, Can you PTAL again? I did some changes to try to fix the ...
4 years, 1 month ago
(2016-10-25 21:33:20 UTC)
#18
Hi Chris,
Can you PTAL again? I did some changes to try to fix the strange error in the
*-frames.html, but I had no success. I think it should be fine as-is.
Thanks,
Daniel
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449563002/60001
4 years, 1 month ago
(2016-10-25 21:33:34 UTC)
#19
Dry run: 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_presubmit/builds/289236)
4 years, 1 month ago
(2016-10-25 21:42:59 UTC)
#21
Hello again, After chatting with Josh I learned that I was doing bad things by ...
4 years, 1 month ago
(2016-10-26 21:20:47 UTC)
#22
Hello again,
After chatting with Josh I learned that I was doing bad things by requiring
state between tests (INIT and ACTIONS tests). I fixed this by creating an
indexeddb_observers_test wrapper to do all of this work on a per-test basis.
PTAL, I think it looks much cleaner now. I also created a couple more helper
functions, like a barrier.
cmumford
The CQ bit was checked by cmumford@chromium.org to run a CQ dry run
4 years, 1 month ago
(2016-10-26 22:16:18 UTC)
#23
Description was changed from ========== [IndexedDB] Add IDB Observer Tests Adding pipelined IDB Observer tests. ...
4 years, 1 month ago
(2016-10-27 18:44:03 UTC)
#35
Message was sent while issue was closed.
Description was changed from
==========
[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
==========
to
==========
[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
==========
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago
(2016-10-27 18:44:05 UTC)
#36
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
commit-bot: I haz the power
Description was changed from ========== [IndexedDB] Add IDB Observer Tests Adding pipelined IDB Observer tests. ...
4 years, 1 month ago
(2016-10-27 19:01:41 UTC)
#37
Message was sent while issue was closed.
Description was changed from
==========
[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
==========
to
==========
[IndexedDB] Add IDB Observer Tests
Adding pipelined IDB Observer tests. The pipeline is:
1. Init databases,
2. Add observers & start observer tests,
3. Perform database actions (in two stages).
These are split up so they can be executed in workers
or in the same frame. This does not include all cases
where we want to throw an exception, that will be in
a follow up patch.
Current Implementation and Future Scope: https://goo.gl/Y2dobn
Reference:
https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md
BUG=609934
Committed: https://crrev.com/1bf48eaa4831b5fd0a78bcb5d9a36b63d2a8cf49
Cr-Commit-Position: refs/heads/master@{#428091}
==========
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/1bf48eaa4831b5fd0a78bcb5d9a36b63d2a8cf49 Cr-Commit-Position: refs/heads/master@{#428091}
4 years, 1 month ago
(2016-10-27 19:01:43 UTC)
#38
Issue 2449563002: [IndexedDB] Add Observer Tests
(Closed)
Created 4 years, 1 month ago by dmurph
Modified 4 years, 1 month ago
Reviewers: cmumford, haraken
Base URL:
Comments: 2