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

Issue 2566503002: Adds HTTP check to PresentationRequest creation. (Closed)

Created:
4 years ago by CJ
Modified:
3 years, 11 months ago
Reviewers:
mark a. foltz, zhaobin
CC:
blink-reviews, chromium-reviews, haraken, Stephen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds HTTP check to PresentationRequest creation. BUG=670848 Review-Url: https://codereview.chromium.org/2566503002 Cr-Commit-Position: refs/heads/master@{#444586} Committed: https://chromium.googlesource.com/chromium/src/+/a65f8aef002b29053fcd5ef52d118018c596d1c5

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removes protocolIsAbout check. #

Patch Set 3 : Adds unittest #

Total comments: 2

Patch Set 4 : Updates to accept cast urls #

Patch Set 5 : Updates browser test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/presentation/presentation-api.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
CJ
Let me know what you think.
4 years ago (2016-12-08 21:20:02 UTC) #2
mark a. foltz
Thanks, Looks good. Can you update PresentationRequestTest to verify this? Note, pending patch by zhaobin@ ...
4 years ago (2016-12-09 05:53:38 UTC) #4
mark a. foltz
lgtm
4 years ago (2016-12-09 05:53:45 UTC) #5
zhaobin
Thanks for doing this. Could you please double check it works fine for relative url ...
4 years ago (2016-12-09 18:53:02 UTC) #6
CJ
On 2016/12/09 18:53:02, zhaobin wrote: > Thanks for doing this. Could you please double check ...
4 years ago (2016-12-13 02:12:29 UTC) #7
CJ
https://codereview.chromium.org/2566503002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp File third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp (right): https://codereview.chromium.org/2566503002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp#newcode73 third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp:73: if (!parsedUrl.isValid() || !parsedUrl.protocolIsInHTTPFamily() || On 2016/12/09 18:53:02, zhaobin ...
4 years ago (2016-12-13 02:12:39 UTC) #8
zhaobin
Mark addes a unit test for PresentationRequest (not landed yet https://codereview.chromium.org/2552343009/). You may wait for ...
4 years ago (2016-12-13 19:06:02 UTC) #9
CJ
@mfoltz, please let me know when ur unittests land. https://codereview.chromium.org/2566503002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp File third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp (right): https://codereview.chromium.org/2566503002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp#newcode73 third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp:73: ...
4 years ago (2016-12-13 21:34:23 UTC) #10
zhaobin
lgtm
4 years ago (2016-12-13 21:36:18 UTC) #11
mark a. foltz
The unit tests are landing as part of https://codereview.chromium.org/2552343009.
4 years ago (2016-12-15 22:12:29 UTC) #16
mark a. foltz
On 2016/12/15 at 22:12:29, mark a. foltz wrote: > The unit tests are landing as ...
3 years, 11 months ago (2017-01-17 21:37:15 UTC) #17
CJ
On 2017/01/17 21:37:15, mark a. foltz wrote: > On 2016/12/15 at 22:12:29, mark a. foltz ...
3 years, 11 months ago (2017-01-18 00:42:30 UTC) #18
zhaobin
Could you please verify that presentation layout tests still pass? Instruction for layout tests: https://chromium.googlesource.com/chromium/src/+/master/docs/testing/layout_tests.md ...
3 years, 11 months ago (2017-01-18 18:58:22 UTC) #19
mark a. foltz
https://codereview.chromium.org/2566503002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp File third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp (right): https://codereview.chromium.org/2566503002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp#newcode50 third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp:50: urls.append("cast://deadbeef?param=foo"); On 2017/01/18 at 18:58:22, zhaobin wrote: > Some ...
3 years, 11 months ago (2017-01-18 20:26:01 UTC) #20
CJ
On 2017/01/18 20:26:01, mark a. foltz wrote: > https://codereview.chromium.org/2566503002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp > File third_party/WebKit/Source/modules/presentation/PresentationRequestTest.cpp > (right): > ...
3 years, 11 months ago (2017-01-18 23:38:38 UTC) #21
zhaobin
lgtm
3 years, 11 months ago (2017-01-19 00:51:02 UTC) #24
zhaobin
lgtm
3 years, 11 months ago (2017-01-19 00:51:06 UTC) #25
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/2566503002/80001
3 years, 11 months ago (2017-01-19 01:16:07 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 01:22:31 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a65f8aef002b29053fcd5ef52d11...

Powered by Google App Engine
This is Rietveld 408576698