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

Issue 2533073002: [Presentation API] Throw NotAllowedError instead of AbortError when user closes MR dialog (Closed)

Created:
4 years ago by zhaobin
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews, feature-media-reviews_chromium.org, haraken, media-router+watch_chromium.org, vadimgo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] Throw NotAllowedError instead of AbortError when user closes MR dialog To fix web platform test: http://w3c-test.org/presentation-api/controlling-ua/startNewPresentation_displaynotallowed-manual.html According to spec, reject promise with "NotAllowedError" if user denies permission to use a display (Step 12: https://w3c.github.io/presentation-api/#dfn-start-a-presentation-connection) BUG=669273 Committed: https://crrev.com/942907a6114aadcf231cb66bd72fdaa16eacc583 Cr-Commit-Position: refs/heads/master@{#435399}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/media/router/MediaRouterIntegrationTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/media_router/media_router_integration_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationError.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (14 generated)
zhaobin
4 years ago (2016-11-28 22:08:05 UTC) #2
whywhat
I'm pretty sure the Cast SDK's requestSession counts on AbortError to be thrown to distinguish ...
4 years ago (2016-11-29 01:35:57 UTC) #4
whywhat
lgtm
4 years ago (2016-11-29 01:43:05 UTC) #5
whywhat
4 years ago (2016-11-29 01:43:30 UTC) #6
zhaobin
On 2016/11/29 01:35:57, whywhat_OOO_till_Mon_Nov_28 wrote: > I'm pretty sure the Cast SDK's requestSession counts on ...
4 years ago (2016-11-29 02:20:22 UTC) #7
whywhat
On 2016/11/29 at 02:20:22, zhaobin wrote: > On 2016/11/29 01:35:57, whywhat_OOO_till_Mon_Nov_28 wrote: > > I'm ...
4 years ago (2016-11-29 15:40:14 UTC) #8
mark a. foltz
lgtm
4 years ago (2016-11-29 21:40:33 UTC) #9
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/2533073002/1
4 years ago (2016-11-30 20:20:20 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 20:25:51 UTC) #22
commit-bot: I haz the power
4 years ago (2016-11-30 20:31:21 UTC) #24
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/942907a6114aadcf231cb66bd72fdaa16eacc583
Cr-Commit-Position: refs/heads/master@{#435399}

Powered by Google App Engine
This is Rietveld 408576698