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

Issue 2265363002: [Presentation API] make PresentationReceiver API consistent with latest spec (Closed)

Created:
4 years, 4 months ago by zhaobin
Modified:
4 years, 3 months ago
CC:
blink-reviews, chromium-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

make PresentationReceiver API consistent with latest spec https://w3c.github.io/presentation-api/#idl-def-presentationreceiver Note: this API was never implemented and has no known functional usages, so this is a no-op as far as Web compatibility is concerned; we should send an intent to ship when the implementation is further along. BUG=525660 Committed: https://crrev.com/df37acd456aec9ed78d809c5adeab0f8874a9c9d Cr-Commit-Position: refs/heads/master@{#415841}

Patch Set 1 #

Total comments: 14

Patch Set 2 : resolve code review comments from haraken #

Total comments: 13

Patch Set 3 : resolve code review comments #

Total comments: 10

Patch Set 4 : resolve code review comments from mlamouri #

Patch Set 5 : fix layout test failures in fast/dom/Windows #

Patch Set 6 : fix layout test global-interface-listing.html #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -59 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/presentation/presentation-receiver.html View 1 chunk +2 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/EventTargetModulesFactory.in View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiver.h View 1 2 3 4 1 chunk +15 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp View 1 2 3 4 2 chunks +6 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 35 (19 generated)
zhaobin
mfoltz@chromium.org: Please review changes in imcheng@chromium.org: Please review changes in mlamouri@chromium.org: Please review changes in
4 years, 4 months ago (2016-08-22 21:51:34 UTC) #2
haraken
https://codereview.chromium.org/2265363002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp (right): https://codereview.chromium.org/2265363002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp#newcode1 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 4 months ago (2016-08-23 00:03:48 UTC) #4
zhaobin
https://codereview.chromium.org/2265363002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp (right): https://codereview.chromium.org/2265363002/diff/1/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp#newcode1 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 4 months ago (2016-08-23 00:45:52 UTC) #5
haraken
https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h (right): https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h#newcode9 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h:9: #include "core/frame/DOMWindowProperty.h" It's unused. https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h#newcode37 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h:37: Member<LocalFrame> m_frame; There's ...
4 years, 4 months ago (2016-08-23 02:19:33 UTC) #6
mlamouri (slow - plz ping)
https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html File third_party/WebKit/LayoutTests/presentation/presentation-receiver.html (right): https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html#newcode15 third_party/WebKit/LayoutTests/presentation/presentation-receiver.html:15: assert_equals(typeof(navigator.presentation.receiver.connectionList), "object"); Shouldn't you test the connectionList object? https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h ...
4 years, 4 months ago (2016-08-23 13:04:50 UTC) #7
mark a. foltz
Nits: - Please update the issue description with [Presentation API] for consistency with other patches. ...
4 years, 4 months ago (2016-08-23 19:08:49 UTC) #8
zhaobin
https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html File third_party/WebKit/LayoutTests/presentation/presentation-receiver.html (right): https://codereview.chromium.org/2265363002/diff/20001/third_party/WebKit/LayoutTests/presentation/presentation-receiver.html#newcode15 third_party/WebKit/LayoutTests/presentation/presentation-receiver.html:15: assert_equals(typeof(navigator.presentation.receiver.connectionList), "object"); On 2016/08/23 13:04:50, mlamouri (slow) wrote: > ...
4 years, 4 months ago (2016-08-23 20:43:54 UTC) #10
haraken
LGTM https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp (right): https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp#newcode13 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp:13: #include "modules/EventTargetModules.h" Most of these #includes are unused. ...
4 years, 4 months ago (2016-08-24 01:09:33 UTC) #11
mlamouri (slow - plz ping)
https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h (right): https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h#newcode21 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h:21: , public ContextLifecycleObserver { I think DOMWindowProperty would make ...
4 years, 4 months ago (2016-08-24 16:48:59 UTC) #12
zhaobin
https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp File third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp (right): https://codereview.chromium.org/2265363002/diff/40001/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp#newcode13 third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp:13: #include "modules/EventTargetModules.h" On 2016/08/24 01:09:33, haraken wrote: > > ...
4 years, 4 months ago (2016-08-24 17:34:12 UTC) #13
mark a. foltz
lgtm
4 years, 3 months ago (2016-08-25 18:06:34 UTC) #14
mlamouri (slow - plz ping)
lgtm
4 years, 3 months ago (2016-08-26 17:05:32 UTC) #15
zhaobin
Fix layout test failures
4 years, 3 months ago (2016-08-30 21:59:05 UTC) #28
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/2265363002/100001
4 years, 3 months ago (2016-08-31 22:33:25 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-01 01:45:32 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 01:48:22 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/df37acd456aec9ed78d809c5adeab0f8874a9c9d
Cr-Commit-Position: refs/heads/master@{#415841}

Powered by Google App Engine
This is Rietveld 408576698