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

Issue 896043004: Tests for WaitUntilObserver and focus/openining windows. (Closed)

Created:
5 years, 10 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 10 months ago
CC:
blink-reviews, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@sw_client_focus_cleanup
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Tests for WaitUntilObserver and focus/openining windows. Those are LayoutTests opening and focusing windows while simulating notificationclicks. These tests are only meant to test how WaitUntilObserver handles the permission, they do not really test the feature. The CL is also doing a slight fix to the implementation to allow focusing or creating window on the notificationclick handler stack. BUG=437151 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190137

Patch Set 1 #

Total comments: 6

Patch Set 2 : cleanup up #

Total comments: 2

Patch Set 3 : review comments #

Total comments: 9

Patch Set 4 : cleanups and review comments #

Total comments: 9

Patch Set 5 : review comments #

Messages

Total messages: 18 (5 generated)
mlamouri (slow - plz ping)
5 years, 10 months ago (2015-02-05 18:49:15 UTC) #2
dominicc (has gone to gerrit)
Some comments inline; I have not looked at the tests yet. https://codereview.chromium.org/896043004/diff/1/Source/modules/serviceworkers/WaitUntilObserver.cpp File Source/modules/serviceworkers/WaitUntilObserver.cpp (right): ...
5 years, 10 months ago (2015-02-05 18:58:13 UTC) #3
mlamouri (slow - plz ping)
Review comments applied. PTAL. https://codereview.chromium.org/896043004/diff/1/Source/modules/serviceworkers/WaitUntilObserver.cpp File Source/modules/serviceworkers/WaitUntilObserver.cpp (right): https://codereview.chromium.org/896043004/diff/1/Source/modules/serviceworkers/WaitUntilObserver.cpp#newcode29 Source/modules/serviceworkers/WaitUntilObserver.cpp:29: fprintf(stderr, "%s%d\n", "windowInteractionTimeout = ", ...
5 years, 10 months ago (2015-02-05 20:23:13 UTC) #4
mlamouri (slow - plz ping)
+michaeln@, if you can have a look at that, it would be great. dominicc@ will ...
5 years, 10 months ago (2015-02-06 12:06:09 UTC) #6
dominicc (has gone to gerrit)
Some comments inline. https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html File LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html (right): https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html#newcode1 LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html:1: <!DOCTYPE html> Should these tests be ...
5 years, 10 months ago (2015-02-09 07:00:58 UTC) #7
dominicc (has gone to gerrit)
https://codereview.chromium.org/896043004/diff/40001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h File Source/modules/serviceworkers/ServiceWorkerGlobalScope.h (right): https://codereview.chromium.org/896043004/diff/40001/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h#newcode98 Source/modules/serviceworkers/ServiceWorkerGlobalScope.h:98: static const unsigned kWindowInteractionTimeout = 10; These could move ...
5 years, 10 months ago (2015-02-09 07:03:10 UTC) #8
Michael van Ouwerkerk
https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html File LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html (right): https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html#newcode1 LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html:1: <!DOCTYPE html> On 2015/02/09 07:00:58, dominicc wrote: > Should ...
5 years, 10 months ago (2015-02-09 10:44:24 UTC) #10
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html File LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html (right): https://codereview.chromium.org/896043004/diff/40001/LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html#newcode1 LayoutTests/http/tests/serviceworker/notificationclick-can-focus.html:1: <!DOCTYPE html> On 2015/02/09 at 10:44:24, ...
5 years, 10 months ago (2015-02-11 10:42:06 UTC) #11
mlamouri (slow - plz ping)
review ping? :)
5 years, 10 months ago (2015-02-12 23:04:31 UTC) #12
dominicc (has gone to gerrit)
Sorry--holiday in Japan Wednesday put me behind. Couple of comments inline. This LGTM once those ...
5 years, 10 months ago (2015-02-13 03:45:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896043004/80001
5 years, 10 months ago (2015-02-13 09:11:08 UTC) #16
mlamouri (slow - plz ping)
https://codereview.chromium.org/896043004/diff/60001/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js File LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js (right): https://codereview.chromium.org/896043004/diff/60001/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js#newcode10 LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js:10: var promise = new Promise(function(resolver) { On 2015/02/13 at ...
5 years, 10 months ago (2015-02-13 10:18:09 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 11:45:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190137

Powered by Google App Engine
This is Rietveld 408576698