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

Issue 521513002: Service Worker: Simplify rejection code in Cache implementation (Closed)

Created:
6 years, 3 months ago by jsbell
Modified:
6 years, 3 months ago
Reviewers:
jkarlin, gavinp
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Project:
blink
Visibility:
Public.

Description

Service Worker: Simplify rejection code in Cache implementation

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -119 lines) Patch
M Source/modules/serviceworkers/Cache.h View 2 chunks +16 lines, -16 lines 0 comments Download
M Source/modules/serviceworkers/Cache.cpp View 4 chunks +47 lines, -83 lines 0 comments Download
M Source/modules/serviceworkers/Cache.idl View 1 chunk +20 lines, -20 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jsbell
jsbell@chromium.org changed reviewers: + gavinp@chromium.org, jkarlin@chromium.org
6 years, 3 months ago (2014-08-29 00:54:26 UTC) #1
jsbell
Just FYI. It may not be worth incorporating this, but it demonstrates how to simplify ...
6 years, 3 months ago (2014-08-29 00:54:26 UTC) #2
gavinp
6 years, 3 months ago (2014-08-29 13:45:27 UTC) #3
On 2014/08/29 00:54:26, jsbell wrote:
> Just FYI. It may not be worth incorporating this, but it demonstrates how to
> simplify the logic around Promise-returning methods that reject based on
input.

Thanks. It turns out ScriptPromise::rejectWithDomException makes the code for
this similarly simple

Powered by Google App Engine
This is Rietveld 408576698