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

Issue 491203002: [ServiceWorker] Add test for FetchEvent's body with a local file. (Closed)

Created:
6 years, 4 months ago by horo
Modified:
6 years, 3 months ago
Reviewers:
nhiroki
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Add test for FetchEvent's body with a local file. This test uses eventSender.beginDragWithFiles() in JS to upload the local file. So we have to locate the files under LayoutTests/http/tests/local/. BUG=402387 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180945

Patch Set 1 : #

Total comments: 16

Patch Set 2 : incorporated nhiroki's comment #

Total comments: 18

Patch Set 3 : incorporated nhiroki's comment #

Patch Set 4 : wait_for_update wait_for_activated #

Patch Set 5 : remove test-helpers.js from iframe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -12 lines) Patch
A LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html View 1 2 1 chunk +128 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-iframe.html View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-worker.js View 1 2 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
horo
nhiroki@ Could you please review?
6 years, 4 months ago (2014-08-21 08:00:15 UTC) #1
nhiroki
I just looked over this superficially. Will take a deeper look later. https://codereview.chromium.org/491203002/diff/60001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html File LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html ...
6 years, 4 months ago (2014-08-25 04:29:37 UTC) #2
horo
https://codereview.chromium.org/491203002/diff/60001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html File LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html (right): https://codereview.chromium.org/491203002/diff/60001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html#newcode13 LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html:13: .then(t.step_func(function(frame) { On 2014/08/25 04:29:36, nhiroki wrote: > You ...
6 years, 4 months ago (2014-08-25 11:20:24 UTC) #3
nhiroki
https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html File LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html (right): https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html#newcode8 LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html:8: var SCOPE = 'http://127.0.0.1:8000/local/serviceworker/resources/fetch-request-body-file-test'; Why do we need to ...
6 years, 3 months ago (2014-08-27 03:52:34 UTC) #4
horo
https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html File LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html (right): https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html#newcode8 LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html:8: var SCOPE = 'http://127.0.0.1:8000/local/serviceworker/resources/fetch-request-body-file-test'; On 2014/08/27 03:52:34, nhiroki wrote: ...
6 years, 3 months ago (2014-08-27 05:05:45 UTC) #5
nhiroki
nits: - s/lcate/locate/ (in the CL description) - Can you update the TEST= line? https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html ...
6 years, 3 months ago (2014-08-27 05:23:21 UTC) #6
horo
https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-iframe.html File LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-iframe.html (right): https://codereview.chromium.org/491203002/diff/100001/LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-iframe.html#newcode15 LayoutTests/http/tests/local/serviceworker/resources/fetch-request-body-file-iframe.html:15: async_test(function(t) { On 2014/08/27 05:23:21, nhiroki wrote: > On ...
6 years, 3 months ago (2014-08-27 06:01:54 UTC) #7
nhiroki
lgtm
6 years, 3 months ago (2014-08-27 06:21:40 UTC) #8
horo
The CQ bit was checked by horo@chromium.org
6 years, 3 months ago (2014-08-27 06:30:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/491203002/140001
6 years, 3 months ago (2014-08-27 06:31:22 UTC) #10
horo
The CQ bit was unchecked by horo@chromium.org
6 years, 3 months ago (2014-08-27 07:05:38 UTC) #11
horo
The CQ bit was checked by horo@chromium.org
6 years, 3 months ago (2014-08-27 07:08:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/491203002/160001
6 years, 3 months ago (2014-08-27 07:08:37 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-08-27 08:10:42 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (160001) as 180945

Powered by Google App Engine
This is Rietveld 408576698