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

Issue 2867573002: Upstream service worker indexedDB tests to WPT (Closed)

Created:
3 years, 7 months ago by mike3
Modified:
3 years, 6 months ago
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, falken+watch_chromium.org, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Upstream service worker indexedDB tests to WPT The Web Platform Tests project includes a version that is roughly equivalent, but it does not explicitly extend the lifetime of the "message" event handler. Introduce this logic in the upstream version to discourage worker termination. Introduce additional improvements not previously implemented by either version: - Schedule promise rejection in response to failed IndexedDB operations in order to improve reporting under failure conditions. - Consistently destroy database following test execution Remove the Chromium-specific version of this test. BUG=688116 R=mek@chromium.org Review-Url: https://codereview.chromium.org/2867573002 Cr-Commit-Position: refs/heads/master@{#476082} Committed: https://chromium.googlesource.com/chromium/src/+/35aa2825fa9b58a5f89b53e4a730bd2327cb108b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix things with promises #

Total comments: 2

Patch Set 3 : Incorporate review feedback #

Patch Set 4 : Simplify #

Total comments: 2

Patch Set 5 : Remove extraneous test #

Patch Set 6 : Rebase #

Patch Set 7 : Remove entries in new "expectations" file #

Messages

Total messages: 32 (11 generated)
mike3
Hi Mek, The change set is a little noisier than it needs to be due ...
3 years, 7 months ago (2017-05-05 22:53:41 UTC) #1
Marijn Kruisselbrink
I know it's already a problem in the current test, but it would be nice ...
3 years, 7 months ago (2017-05-06 00:12:55 UTC) #2
mike3
> I know it's already a problem in the current test, but it would be ...
3 years, 7 months ago (2017-05-08 21:02:48 UTC) #4
Marijn Kruisselbrink
sorry for the delay in reviewing https://codereview.chromium.org/2867573002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/indexeddb.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/indexeddb.https.html (right): https://codereview.chromium.org/2867573002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/indexeddb.https.html#newcode63 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/indexeddb.https.html:63: return send(worker, 'cleanup'); ...
3 years, 7 months ago (2017-05-16 18:17:44 UTC) #5
mike3
Figuring out why the original version worked took the better part of my day! It's ...
3 years, 7 months ago (2017-05-17 22:07:40 UTC) #6
Marijn Kruisselbrink
sorry for not getting back to this sooner. This looks good, but I assume you ...
3 years, 6 months ago (2017-05-30 19:24:41 UTC) #7
mike3
https://codereview.chromium.org/2867573002/diff/60001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/postmessage.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/postmessage.https.html (right): https://codereview.chromium.org/2867573002/diff/60001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/postmessage.https.html#newcode60 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/postmessage.https.html:60: On 2017/05/30 19:24:41, Marijn Kruisselbrink wrote: > did you ...
3 years, 6 months ago (2017-05-30 21:22:32 UTC) #8
Marijn Kruisselbrink
lgtm
3 years, 6 months ago (2017-05-30 21:48:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867573002/80001
3 years, 6 months ago (2017-05-30 21:52:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/221868) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-05-30 21:55:01 UTC) #13
mike3
Hi again Mek, The previous patch was doomed to fail due to a merge conflict ...
3 years, 6 months ago (2017-05-30 22:05:48 UTC) #15
Marijn Kruisselbrink
On 2017/05/30 at 22:05:48, mike wrote: > Hi again Mek, > > The previous patch ...
3 years, 6 months ago (2017-05-30 22:10:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867573002/100001
3 years, 6 months ago (2017-05-30 22:22:10 UTC) #18
commit-bot: I haz the power
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/451254)
3 years, 6 months ago (2017-05-30 22:33:02 UTC) #20
mike3
Hi Mek, Can you believe it? Yesterday, in the time between rebasing (where I was ...
3 years, 6 months ago (2017-05-31 16:26:31 UTC) #21
Marijn Kruisselbrink
On 2017/05/31 at 16:26:31, mike wrote: > Hi Mek, > > Can you believe it? ...
3 years, 6 months ago (2017-05-31 18:00:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867573002/120001
3 years, 6 months ago (2017-05-31 18:39:47 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/468652)
3 years, 6 months ago (2017-05-31 21:36:34 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2867573002/120001
3 years, 6 months ago (2017-05-31 21:50:14 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/35aa2825fa9b58a5f89b53e4a730bd2327cb108b
3 years, 6 months ago (2017-05-31 23:14:54 UTC) #31
mike3
3 years, 6 months ago (2017-05-31 23:25:14 UTC) #32
Message was sent while issue was closed.
On 2017/05/31 23:14:54, commit-bot: I haz the power wrote:
> Committed patchset #7 (id:120001) as
>
https://chromium.googlesource.com/chromium/src/+/35aa2825fa9b58a5f89b53e4a730...

Thanks for your patience, Mek!

Powered by Google App Engine
This is Rietveld 408576698