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

Issue 2478783002: Resolve FetchEvent.preloadResponse with undefined when Navigation Preload is disabled. (Closed)

Created:
4 years, 1 month ago by horo
Modified:
3 years, 11 months ago
Reviewers:
falken, haraken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, blink-reviews, darin-cc_chromium.org, kinuko+watch, tzik, falken+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resolve FetchEvent.preloadResponse with undefined when Navigation Preload is disabled. Currently FetchEvent.preloadResponse is resolved with null when navigation preload is not enabled. But according to the spec, it should be resolved with undefined. https://github.com/w3c/ServiceWorker/commit/fbc0faa#diff-27b79860afe28f01aed4f1f6228367faR2901 BUG=649558 Review-Url: https://codereview.chromium.org/2478783002 Cr-Commit-Position: refs/heads/master@{#441638} Committed: https://chromium.googlesource.com/chromium/src/+/e7c05695fbc1407a034269b83871159ca662cceb

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : ScriptPromiseProperty::resolveWithUndefined() #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h View 1 2 3 4 6 chunks +22 lines, -3 lines 2 comments Download
M third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (32 generated)
horo
falken@ Please review this CL. Thank you.
4 years, 1 month ago (2016-11-04 05:08:07 UTC) #8
falken
This lgtm but can you have someone more familiar with v8/bindings look at it to ...
4 years, 1 month ago (2016-11-04 05:39:57 UTC) #10
haraken
On 2016/11/04 05:39:57, falken wrote: > This lgtm but can you have someone more familiar ...
4 years, 1 month ago (2016-11-04 05:45:48 UTC) #11
horo
On 2016/11/04 05:45:48, haraken wrote: > On 2016/11/04 05:39:57, falken wrote: > > This lgtm ...
4 years, 1 month ago (2016-11-04 08:57:28 UTC) #14
horo
On 2016/11/04 05:45:48, haraken wrote: > On 2016/11/04 05:39:57, falken wrote: > > This lgtm ...
3 years, 11 months ago (2017-01-05 07:23:56 UTC) #29
haraken
LGTM https://codereview.chromium.org/2478783002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h File third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h (right): https://codereview.chromium.org/2478783002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h#newcode160 third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h:160: return v8::Undefined(isolate); Can we add DCHECK(m_resolved == ResolvedType()) ...
3 years, 11 months ago (2017-01-05 07:56:25 UTC) #31
horo
Thank you. https://codereview.chromium.org/2478783002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h File third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h (right): https://codereview.chromium.org/2478783002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h#newcode160 third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h:160: return v8::Undefined(isolate); On 2017/01/05 07:56:24, haraken wrote: ...
3 years, 11 months ago (2017-01-05 08:13:08 UTC) #32
haraken
On 2017/01/05 08:13:08, horo wrote: > Thank you. > > https://codereview.chromium.org/2478783002/diff/100001/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h > File third_party/WebKit/Source/bindings/core/v8/ScriptPromiseProperty.h (right): ...
3 years, 11 months ago (2017-01-05 08:23:05 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478783002/100001
3 years, 11 months ago (2017-01-05 08:25:38 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/365144)
3 years, 11 months ago (2017-01-05 10:06:05 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478783002/100001
3 years, 11 months ago (2017-01-05 10:21:37 UTC) #41
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 12:50:42 UTC) #44
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/e7c05695fbc1407a034269b83871...

Powered by Google App Engine
This is Rietveld 408576698