Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(1)

Issue 1155573003: CacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (2) (Closed)

Created:
4 years, 11 months ago by nhiroki
Modified:
4 years, 10 months ago
Reviewers:
kinuko, tkent, jkarlin
CC:
blink-reviews, dglazkov+blink, serviceworker-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

CacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (2) This is a preliminary patch to simplify memory management in CallbackPromiseAdapter. See (1) for details. (1) Chromium: https://codereview.chromium.org/1152003008 (2) Blink: THIS PATCH (3) Chromium: https://codereview.chromium.org/1150333003 (4) Blink: https://codereview.chromium.org/1150413004 BUG=494884 TEST=n/a Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197315

Patch Set 1 : #

Total comments: 3

Patch Set 2 : remove ifdef #

Patch Set 3 : fix unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -17 lines) Patch
M Source/modules/cachestorage/Cache.cpp View 1 4 chunks +12 lines, -4 lines 0 comments Download
M Source/modules/cachestorage/CacheStorage.cpp View 1 2 5 chunks +15 lines, -5 lines 0 comments Download
M Source/modules/cachestorage/CacheStorageError.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/cachestorage/CacheTest.cpp View 1 2 4 chunks +4 lines, -8 lines 0 comments Download
M public/platform/WebServiceWorkerCacheError.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
nhiroki
PTAL, thanks!
4 years, 10 months ago (2015-06-17 08:38:48 UTC) #4
jkarlin
lgtm after fixing one issue https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp File Source/modules/cachestorage/Cache.cpp (right): https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp#newcode128 Source/modules/cachestorage/Cache.cpp:128: m_resolver->reject(CacheStorageError::createException(*reason)); Why is this ...
4 years, 10 months ago (2015-06-17 11:16:16 UTC) #5
kinuko
https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp File Source/modules/cachestorage/Cache.cpp (right): https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp#newcode39 Source/modules/cachestorage/Cache.cpp:39: #ifdef CRBUG_494884 Hmm, I have the same question... why ...
4 years, 10 months ago (2015-06-17 18:21:05 UTC) #7
nhiroki
https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp File Source/modules/cachestorage/Cache.cpp (right): https://codereview.chromium.org/1155573003/diff/40001/Source/modules/cachestorage/Cache.cpp#newcode39 Source/modules/cachestorage/Cache.cpp:39: #ifdef CRBUG_494884 On 2015/06/17 18:21:05, kinuko wrote: > Hmm, ...
4 years, 10 months ago (2015-06-17 23:34:41 UTC) #8
nhiroki
+tkent@, can you review WebServiceWorkerCacheError.h?
4 years, 10 months ago (2015-06-17 23:35:22 UTC) #10
tkent
lgtm
4 years, 10 months ago (2015-06-18 00:45:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155573003/60001
4 years, 10 months ago (2015-06-18 00:51:00 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59385)
4 years, 10 months ago (2015-06-18 01:11:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155573003/80001
4 years, 10 months ago (2015-06-18 02:57:47 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2015-06-18 03:38:38 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197315

Powered by Google App Engine
This is Rietveld 408576698