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

Issue 728713003: [ServiceWorker] Provide more descriptive error messages when fetch API fails. (Closed)

Created:
6 years, 1 month ago by horo
Modified:
6 years, 1 month ago
Reviewers:
falken
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Provide more descriptive error messages when fetch API fails. BUG=429060 TEST=http/tests/serviceworker/ Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185418

Patch Set 1 : #

Total comments: 8

Patch Set 2 : incorporated falken's comment #

Patch Set 3 : use t.unreached_func instead of unreached_rejection #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -14 lines) Patch
A + LayoutTests/http/tests/serviceworker/chromium/fetch-error-messages.html View 1 1 chunk +3 lines, -2 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/chromium/resources/fetch-error-messages-worker.js View 1 2 1 chunk +104 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/FetchManager.cpp View 1 7 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
horo
falken@ Could you please review?
6 years, 1 month ago (2014-11-14 07:32:16 UTC) #3
falken
This is great. But the Blink-specific error messages should not be tested in a W3C ...
6 years, 1 month ago (2014-11-17 02:14:46 UTC) #4
horo
https://codereview.chromium.org/728713003/diff/20001/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js File LayoutTests/http/tests/serviceworker/resources/fetch-worker.js (right): https://codereview.chromium.org/728713003/diff/20001/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js#newcode143 LayoutTests/http/tests/serviceworker/resources/fetch-worker.js:143: var url = get_host_info()['HTTP_REMOTE_ORIGIN'] + '/dymmy.html'; On 2014/11/17 02:14:46, ...
6 years, 1 month ago (2014-11-17 03:25:35 UTC) #5
falken
thanks! lgtm
6 years, 1 month ago (2014-11-17 03:29:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/728713003/60001
6 years, 1 month ago (2014-11-17 03:39:36 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 05:44:01 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as 185418

Powered by Google App Engine
This is Rietveld 408576698