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

Issue 562413003: Request construction spec changes to use the 'used' flag. (Closed)

Created:
6 years, 3 months ago by dmurph
Modified:
6 years, 3 months ago
Reviewers:
jsbell, horo
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

Request construction spec changes to use the 'used' flag. This adds the following behavior: 1. If input is a Request object, run these substeps: 1. If input's used flag is set, throw a TypeError. 2. Set input's used flag. Outlined in this change: https://github.com/whatwg/fetch/commit/a898f9a2941350aa625aa79b24673628ac2b2a8e#diff-1feda49b40370635faef8b655f144f64R2681 Spec: http://fetch.spec.whatwg.org/#dom-request BUG=413072 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181934

Patch Set 1 #

Total comments: 36

Patch Set 2 : Fixed method name & step number fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -21 lines) Patch
M LayoutTests/http/tests/serviceworker/resources/request-worker.js View 3 chunks +20 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/Body.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/Body.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/Request.cpp View 1 10 chunks +30 lines, -21 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
dmurph
Horo, PTAL, Here are the constructor and test changes to support the bodyUsed property in ...
6 years, 3 months ago (2014-09-11 23:32:41 UTC) #2
horo
lgtm with nits. https://codereview.chromium.org/562413003/diff/1/Source/modules/serviceworkers/Body.h File Source/modules/serviceworkers/Body.h (right): https://codereview.chromium.org/562413003/diff/1/Source/modules/serviceworkers/Body.h#newcode56 Source/modules/serviceworkers/Body.h:56: void setUsed(); setBodyUsed() https://codereview.chromium.org/562413003/diff/1/Source/modules/serviceworkers/Request.cpp File Source/modules/serviceworkers/Request.cpp ...
6 years, 3 months ago (2014-09-12 04:55:57 UTC) #3
jsbell
Can you tweak the CL summary/description to explain the change a bit more? e.g. > ...
6 years, 3 months ago (2014-09-12 17:14:51 UTC) #4
dmurph
Whoops, not sure why I didn't notice all the other numbers. Done. https://codereview.chromium.org/562413003/diff/1/Source/modules/serviceworkers/Body.h File Source/modules/serviceworkers/Body.h ...
6 years, 3 months ago (2014-09-12 18:40:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/562413003/20001
6 years, 3 months ago (2014-09-12 21:18:31 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 21:24:01 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181934

Powered by Google App Engine
This is Rietveld 408576698