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

Issue 2432723003: [Presentation API] PresentationRequest should throw SecurityError for mixed contents (Closed)

Created:
4 years, 2 months ago by zhaobin
Modified:
4 years, 1 month ago
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] PresentationRequest should throw SecurityError for mixed contents Make PresentationRequest consistent with latest spec. PresentationRequest::start(), reconnect() and getavailability() should throw SecurityError for mixed contents. https://www.w3.org/TR/presentation-api/#dom-presentationrequest-start BUG=657519 Committed: https://crrev.com/cd89f3ab381a7d9571e01a46a8a89d9318c31a46 Cr-Commit-Position: refs/heads/master@{#427433}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve code review comments from Mark #

Total comments: 8

Patch Set 3 : resolve code review comments from mlamouri #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -12 lines) Patch
M third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp View 1 2 5 chunks +35 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
zhaobin
4 years, 2 months ago (2016-10-19 17:40:40 UTC) #2
mark a. foltz
LGTM. Are there web platform tests that you can use to verify this change? https://codereview.chromium.org/2432723003/diff/1/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp ...
4 years, 2 months ago (2016-10-20 21:56:14 UTC) #3
zhaobin
Hi Mark, Yes, there are several web platform tests for mixed contents. e.g. http://w3c-test.org/presentation-api/controlling-ua/getAvailability_mixedcontent.https.html Verified ...
4 years, 2 months ago (2016-10-21 03:39:02 UTC) #5
mlamouri (slow - plz ping)
zhaobin@, can you write a test for this change? mfoltz@, it sounds a bit odd ...
4 years, 2 months ago (2016-10-21 09:45:44 UTC) #6
zhaobin
Mounir, we have some web platform tests for these code. Would that be sufficient? https://codereview.chromium.org/2432723003/diff/20001/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp ...
4 years, 2 months ago (2016-10-21 18:41:01 UTC) #7
mark a. foltz
On 2016/10/21 at 09:45:44, mlamouri wrote: > zhaobin@, can you write a test for this ...
4 years, 2 months ago (2016-10-21 23:01:52 UTC) #12
mlamouri (slow - plz ping)
lgtm
4 years, 1 month ago (2016-10-25 10:21:02 UTC) #13
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/2432723003/60001
4 years, 1 month ago (2016-10-25 17:48:27 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-10-25 19:06:15 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 19:35:43 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cd89f3ab381a7d9571e01a46a8a89d9318c31a46
Cr-Commit-Position: refs/heads/master@{#427433}

Powered by Google App Engine
This is Rietveld 408576698