3 years, 11 months ago
(2017-01-17 20:41:58 UTC)
#1
Patchset #1 (id:1) has been deleted
takumif
Patchset #1 (id:20001) has been deleted
3 years, 11 months ago
(2017-01-17 20:42:03 UTC)
#2
Patchset #1 (id:20001) has been deleted
takumif
Patchset #1 (id:40001) has been deleted
3 years, 11 months ago
(2017-01-17 20:42:08 UTC)
#3
Patchset #1 (id:40001) has been deleted
takumif
Description was changed from ========== [Presentation API] Allow PresentationConnection state change to "connecting" BUG= ========== ...
3 years, 11 months ago
(2017-01-17 20:46:32 UTC)
#4
Description was changed from
==========
[Presentation API] Allow PresentationConnection state change to "connecting"
BUG=
==========
to
==========
[Presentation API] Allow PresentationConnection state change to "connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
takumif
Description was changed from ========== [Presentation API] Allow PresentationConnection state change to "connecting" As per ...
3 years, 11 months ago
(2017-01-17 20:46:56 UTC)
#5
Description was changed from
==========
[Presentation API] Allow PresentationConnection state change to "connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
to
==========
[Presentation API] Allow PresentationConnection state change to "Connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
mfoltz@: please take a look. zhaobin@: FYI, as this is related to a bug (677540) ...
3 years, 11 months ago
(2017-01-17 20:51:29 UTC)
#7
mfoltz@: please take a look.
zhaobin@: FYI, as this is related to a bug (677540) you've been working on.
Thanks!
mark a. foltz
On 2017/01/17 at 20:51:29, takumif wrote: > mfoltz@: please take a look. > zhaobin@: FYI, ...
3 years, 11 months ago
(2017-01-17 21:06:13 UTC)
#8
On 2017/01/17 at 20:51:29, takumif wrote:
> mfoltz@: please take a look.
> zhaobin@: FYI, as this is related to a bug (677540) you've been working on.
>
> Thanks!
It should be possible to write or update a layout test to verify that the
observed state is connecting, e.g.
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/presentat...
Can you do that?
takumif
On 2017/01/17 21:06:13, mark a. foltz wrote: > On 2017/01/17 at 20:51:29, takumif wrote: > ...
3 years, 11 months ago
(2017-01-18 19:29:08 UTC)
#9
On 2017/01/17 21:06:13, mark a. foltz wrote:
> On 2017/01/17 at 20:51:29, takumif wrote:
> > mfoltz@: please take a look.
> > zhaobin@: FYI, as this is related to a bug (677540) you've been working on.
> >
> > Thanks!
>
> It should be possible to write or update a layout test to verify that the
> observed state is connecting, e.g.
>
>
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/presentat...
>
> Can you do that?
Added!
LGTM with comments addressed. Will the browser test be updated in your other patch? https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html ...
3 years, 11 months ago
(2017-01-20 18:48:23 UTC)
#16
lgtm, please cc avayvod@ if you are going to change browser test. https://codereview.chromium.org/2643473002/diff/120001/third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html File third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html ...
3 years, 11 months ago
(2017-01-20 19:27:50 UTC)
#17
lgtm, please cc avayvod@ if you are going to change browser test.
https://codereview.chromium.org/2643473002/diff/120001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html
(right):
https://codereview.chromium.org/2643473002/diff/120001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html:43:
assert_true(connection.state === 'connecting' ||
On 2017/01/18 20:53:22, takumif wrote:
> On 2017/01/18 20:30:17, mark a. foltz wrote:
> > Shouldn't state always be 'connecting' in the resolver for reconnect()?
>
> I wasn't sure because there was a browser test [1] that seemed to be expecting
> 'connecting' or 'connected' in its resolver, but according to the spec it
should
> always be 'connecting.' I'll go change that browser test as well.
>
> [1]
>
https://cs.chromium.org/chromium/src/chrome/test/media_router/resources/commo...
Adding 'connected' state to fix crbug.com/664629
We should be able to remove the check after
https://codereview.chromium.org/2547143002. The test fails flankily though, it
might be better to do that in a seperate patch and cc avayvod@.
takumif
Patchset #5 (id:160001) has been deleted
3 years, 11 months ago
(2017-01-23 19:52:52 UTC)
#18
Patchset #5 (id:160001) has been deleted
takumif
Description was changed from ========== [Presentation API] Allow PresentationConnection state change to "Connecting" As per ...
3 years, 11 months ago
(2017-01-23 19:55:28 UTC)
#19
Description was changed from
==========
[Presentation API] Allow PresentationConnection state change to "Connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
to
==========
[Presentation API] Allow PresentationConnection state change to "Connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
This CL also replaces the use of the var keyword with const/let in
third_party/WebKit/LayoutTests/presentation/.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
takumif
Thanks for reviewing. Regarding the browser test that currently accepts both 'connecting' and 'connected' states ...
3 years, 11 months ago
(2017-01-23 19:58:13 UTC)
#20
Thanks for reviewing. Regarding the browser test that currently accepts both
'connecting' and 'connected' states in the resolver of
PresentationRequest.start(), I'll change it in a patch of its own if it's not
flaky anymore.
https://codereview.chromium.org/2643473002/diff/120001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html
(right):
https://codereview.chromium.org/2643473002/diff/120001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html:43:
assert_true(connection.state === 'connecting' ||
On 2017/01/20 19:27:50, zhaobin wrote:
> On 2017/01/18 20:53:22, takumif wrote:
> > On 2017/01/18 20:30:17, mark a. foltz wrote:
> > > Shouldn't state always be 'connecting' in the resolver for reconnect()?
> >
> > I wasn't sure because there was a browser test [1] that seemed to be
expecting
> > 'connecting' or 'connected' in its resolver, but according to the spec it
> should
> > always be 'connecting.' I'll go change that browser test as well.
> >
> > [1]
> >
>
https://cs.chromium.org/chromium/src/chrome/test/media_router/resources/commo...
>
> Adding 'connected' state to fix crbug.com/664629
>
> We should be able to remove the check after
> https://codereview.chromium.org/2547143002. The test fails flankily though, it
> might be better to do that in a seperate patch and cc avayvod@.
Is the browser test still flaky after https://codereview.chromium.org/2547143002
? If not, I'll go change the browser test in another patch.
https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html
(right):
https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html:11:
function waitForClick(callback) {
On 2017/01/20 18:48:22, mark a. foltz wrote:
> waitForClick() is already defined in presentation-service-mock.js.
Removed.
https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/presentation/presentation-close-reconnect.html:29:
var connection = null;
On 2017/01/20 18:48:22, mark a. foltz wrote:
> I would prefer to use const/let in these tests, but check other tests and
remain
> consistent. We can update them all at once later.
Changed all the files in this directory to use const/let.
https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js
(right):
https://codereview.chromium.org/2643473002/diff/140001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js:13:
let [ presentation, bindings ] = mojo.modules;
On 2017/01/20 18:48:22, mark a. foltz wrote:
> nit: Can you leave this as presentationService, so it's not ambiguous with
> navigator.presentation?
Done.
takumif
The CQ bit was checked by takumif@chromium.org to run a CQ dry run
3 years, 11 months ago
(2017-01-23 19:58:22 UTC)
#21
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/198991)
3 years, 11 months ago
(2017-01-23 20:10:00 UTC)
#24
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/199033) linux_android_rel_ng on ...
3 years, 11 months ago
(2017-01-23 20:26:49 UTC)
#28
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1485466453390820, "parent_rev": "27df167d082e2049382618e582f773b973c6e305", "commit_rev": "a8f908ca6ab0abe86af75c688099d8c9dee1685c"}
3 years, 10 months ago
(2017-01-26 21:47:53 UTC)
#42
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1485466453390820,
"parent_rev": "27df167d082e2049382618e582f773b973c6e305", "commit_rev":
"a8f908ca6ab0abe86af75c688099d8c9dee1685c"}
commit-bot: I haz the power
Description was changed from ========== [Presentation API] Allow PresentationConnection state change to "Connecting" As per ...
3 years, 10 months ago
(2017-01-26 21:48:29 UTC)
#43
Message was sent while issue was closed.
Description was changed from
==========
[Presentation API] Allow PresentationConnection state change to "Connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
This CL also replaces the use of the var keyword with const/let in
third_party/WebKit/LayoutTests/presentation/.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
==========
to
==========
[Presentation API] Allow PresentationConnection state change to "Connecting"
As per the Presentation API spec [1], when we reconnect to a closed
PresentationConnection, its status changes from Closed to Connecting. This CL
removes a NOTREACHED() called at state change to Connecting.
This CL also replaces the use of the var keyword with const/let in
third_party/WebKit/LayoutTests/presentation/.
[1] https://w3c.github.io/presentation-api/#reconnecting-to-a-presentation
BUG=677540
Review-Url: https://codereview.chromium.org/2643473002
Cr-Commit-Position: refs/heads/master@{#446458}
Committed:
https://chromium.googlesource.com/chromium/src/+/a8f908ca6ab0abe86af75c688099...
==========
commit-bot: I haz the power
Committed patchset #5 (id:180001) as https://chromium.googlesource.com/chromium/src/+/a8f908ca6ab0abe86af75c688099d8c9dee1685c
3 years, 10 months ago
(2017-01-26 21:48:30 UTC)
#44
Issue 2643473002: [Presentation API] Allow PresentationConnection state change to "Connecting"
(Closed)
Created 3 years, 11 months ago by takumif
Modified 3 years, 10 months ago
Reviewers: mark a. foltz, zhaobin
Base URL:
Comments: 14