sigb...@opera.com
unread,Jul 17, 2015, 5:43:26 AM7/17/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to oilpan-...@chromium.org, yhi...@chromium.org, har...@chromium.org, blink-...@chromium.org, vive...@samsung.com, johnme...@chromium.org, eric.c...@apple.com, viv...@chromium.org, scheib...@chromium.org, apavlo...@chromium.org, rob....@samsung.com, jsbell+ser...@chromium.org, blink-re...@chromium.org, tz...@chromium.org, dglazko...@chromium.org, blink-revie...@chromium.org, phili...@opera.com, nhi...@chromium.org, rt...@chromium.org, feature-me...@chromium.org, tommyw+w...@chromium.org, alexis...@intel.com, mich...@chromium.org, mlamouri+w...@chromium.org, servicewor...@chromium.org, fal...@chromium.org, mvanouwer...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, peter...@chromium.org, kinuko+...@chromium.org
https://codereview.chromium.org/1233173002/diff/180001/Source/core/streams/ReadableStreamImpl.h
File Source/core/streams/ReadableStreamImpl.h (right):
https://codereview.chromium.org/1233173002/diff/180001/Source/core/streams/ReadableStreamImpl.h#newcode178
Source/core/streams/ReadableStreamImpl.h:178: ScriptState* scriptState =
resolver->scriptState();
On 2015/07/17 01:40:35, haraken wrote:
> Not related to this CL, we should have:
> if (!scriptState->contextIsValid())
> return false;
Done, here & in resolveAllPendingReadsAsDone()
yhirano@: ptal ?
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/cachestorage/Cache.cpp
File Source/modules/cachestorage/Cache.cpp (right):
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/cachestorage/Cache.cpp#newcode33
Source/modules/cachestorage/Cache.cpp:33:
CacheMatchCallbacks(ScriptPromiseResolver* resolver)
On 2015/07/17 01:40:35, haraken wrote:
> Add explicit. Same comment for other constructors in this file.
Done.
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/crypto/CryptoResultImpl.cpp
File Source/modules/crypto/CryptoResultImpl.cpp (right):
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/crypto/CryptoResultImpl.cpp#newcode121
Source/modules/crypto/CryptoResultImpl.cpp:121: if
(scriptState->executionContext()->activeDOMObjectsAreStopped()) {
On 2015/07/17 01:40:36, haraken wrote:
> Not related to this CL, why do we need this special logic only in
> CryptoResultImpl? If we need this here, I guess we need it for all
Resolver
> owners.
It's due to
https://codereview.chromium.org/780793002/diff/60001/Source/modules/crypto/CryptoResultImpl.cpp#newcode198
As CryptoResultImpl now keeps a Member<>, we no longer this special
case. (I thought it was there as a leak-preventing measure, but it was
needed for weak pointer safety.)
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/mediastream/MediaDevices.cpp
File Source/modules/mediastream/MediaDevices.cpp (right):
https://codereview.chromium.org/1233173002/diff/180001/Source/modules/mediastream/MediaDevices.cpp#newcode41
Source/modules/mediastream/MediaDevices.cpp:41:
On 2015/07/17 01:40:36, haraken wrote:
> I'm just curious, but is it valid that we reach the destructor without
> m_resolver getting resolved? I guess it's not guaranteed that
handleEvent is
> always called.
But then handleEvent() would be called for the paired
PromiseErrorCallback instead?
https://codereview.chromium.org/1233173002/