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

Issue 1287273002: [Fetch] Add a deprecation warning for Request.context (Closed)

Created:
5 years, 4 months ago by hiroshige
Modified:
5 years, 4 months ago
Reviewers:
falken, kinuko
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[Fetch] Add a deprecation warning for Request.context Request.context is removed from the spec: https://github.com/whatwg/fetch/issues/93 and we will remove it in M-46. This CL adds a deprecation warning to M-46 a little before Request.context is actually removed by https://codereview.chromium.org/1292503002/, and is to be merged into M-45. BUG=515786 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200553

Patch Set 1 #

Patch Set 2 : Add tests. #

Total comments: 4

Patch Set 3 : UseCounter. #

Patch Set 4 : idl file. #

Patch Set 5 : #

Patch Set 6 : Provide a link in messages. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M LayoutTests/http/tests/fetch/chromium/error-messages.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/fetch/Request.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287273002/1
5 years, 4 months ago (2015-08-13 10:35:02 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287273002/20001
5 years, 4 months ago (2015-08-13 10:57:30 UTC) #4
hiroshige
falken@, could you take a look?
5 years, 4 months ago (2015-08-13 10:58:36 UTC) #6
falken
Thanks for making the warning! https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp File Source/modules/fetch/Request.cpp (right): https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp#newcode345 Source/modules/fetch/Request.cpp:345: executionContext()->addConsoleMessage(ConsoleMessage::create(DeprecationMessageSource, WarningMessageLevel, "Request.context is ...
5 years, 4 months ago (2015-08-13 11:37:19 UTC) #7
hiroshige
https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp File Source/modules/fetch/Request.cpp (right): https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp#newcode345 Source/modules/fetch/Request.cpp:345: executionContext()->addConsoleMessage(ConsoleMessage::create(DeprecationMessageSource, WarningMessageLevel, "Request.context is deprecated and will be removed ...
5 years, 4 months ago (2015-08-13 11:39:10 UTC) #8
falken
https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp File Source/modules/fetch/Request.cpp (right): https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp#newcode345 Source/modules/fetch/Request.cpp:345: executionContext()->addConsoleMessage(ConsoleMessage::create(DeprecationMessageSource, WarningMessageLevel, "Request.context is deprecated and will be removed ...
5 years, 4 months ago (2015-08-13 11:45:11 UTC) #9
hiroshige
https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp File Source/modules/fetch/Request.cpp (right): https://codereview.chromium.org/1287273002/diff/20001/Source/modules/fetch/Request.cpp#newcode345 Source/modules/fetch/Request.cpp:345: executionContext()->addConsoleMessage(ConsoleMessage::create(DeprecationMessageSource, WarningMessageLevel, "Request.context is deprecated and will be removed ...
5 years, 4 months ago (2015-08-13 12:01:23 UTC) #10
falken
lgtm thanks
5 years, 4 months ago (2015-08-14 00:27:13 UTC) #11
hiroshige
+kinuko@, could you take a look at as a core/ owner? Also, are the changes ...
5 years, 4 months ago (2015-08-14 11:13:56 UTC) #13
falken
On 2015/08/14 11:13:56, hiroshige (ooo zombie) wrote: > +kinuko@, could you take a look at ...
5 years, 4 months ago (2015-08-14 11:28:28 UTC) #14
hiroshige
On 2015/08/14 11:28:28, falken wrote: > On 2015/08/14 11:13:56, hiroshige (ooo zombie) wrote: > > ...
5 years, 4 months ago (2015-08-14 11:40:36 UTC) #15
falken
sorry another thing: the deprecation warning should probably give a hint to developers about what ...
5 years, 4 months ago (2015-08-14 11:49:00 UTC) #16
hiroshige
On 2015/08/14 11:49:00, falken wrote: > sorry another thing: the deprecation warning should probably give ...
5 years, 4 months ago (2015-08-14 12:04:11 UTC) #17
kinuko
lgtm I think we could try requesting merge.
5 years, 4 months ago (2015-08-14 15:13:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287273002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287273002/100001
5 years, 4 months ago (2015-08-14 15:14:03 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-14 18:06:31 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200553

Powered by Google App Engine
This is Rietveld 408576698