Hi Peter, Could you give this patch a look? Thanks!
4 years, 10 months ago
(2016-02-02 16:53:49 UTC)
#3
Hi Peter,
Could you give this patch a look?
Thanks!
Peter Beverloo
https://codereview.chromium.org/1656823002/diff/40002/content/shell/browser/layout_test/layout_test_notification_manager.cc File content/shell/browser/layout_test/layout_test_notification_manager.cc (right): https://codereview.chromium.org/1656823002/diff/40002/content/shell/browser/layout_test/layout_test_notification_manager.cc#newcode144 content/shell/browser/layout_test/layout_test_notification_manager.cc:144: page_iterator->second->NotificationClosed(); No need to check for in-page notifications here ...
4 years, 10 months ago
(2016-02-02 23:50:10 UTC)
#4
Description was changed from ========== [WIP] Add layout tests for ServiceWorker's notificationclose event. BUG= TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html ...
4 years, 10 months ago
(2016-02-03 15:00:46 UTC)
#5
Description was changed from
==========
[WIP] Add layout tests for ServiceWorker's notificationclose event.
BUG=
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
to
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
Mike, would you mind reviewing the IPC changes? Peter, please see my updated patch. Thanks. ...
4 years, 10 months ago
(2016-02-03 15:04:23 UTC)
#8
Mike, would you mind reviewing the IPC changes?
Peter, please see my updated patch.
Thanks.
https://codereview.chromium.org/1656823002/diff/40002/content/shell/browser/l...
File content/shell/browser/layout_test/layout_test_notification_manager.cc
(right):
https://codereview.chromium.org/1656823002/diff/40002/content/shell/browser/l...
content/shell/browser/layout_test/layout_test_notification_manager.cc:144:
page_iterator->second->NotificationClosed();
On 2016/02/02 23:50:10, Peter Beverloo wrote:
> No need to check for in-page notifications here - those code paths are already
> exercised by programmatically closing the notification.
Removed.
https://codereview.chromium.org/1656823002/diff/40002/third_party/WebKit/Layo...
File
third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js
(right):
https://codereview.chromium.org/1656823002/diff/40002/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js:109:
notification: notificationCopy});
On 2016/02/02 23:50:10, Peter Beverloo wrote:
> micro nit: space before }
Done.
https://codereview.chromium.org/1656823002/diff/40002/third_party/WebKit/Layo...
File
third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
(left):
https://codereview.chromium.org/1656823002/diff/40002/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html:57:
testRunner.simulateWebNotificationClick(scope, -1 /* action_index */);
On 2016/02/02 23:50:10, Peter Beverloo wrote:
> Can we perhaps generalize the data reflection test in a function, and run it
> twice? (Potentially extracting the actual testRunner call as a closure or so.)
>
> This is effectively duplicating 70 LOC for one method call and one string of
> difference.
I refactored the logic into a different file and extracted the differences in an
object parameter. Please give it a look.
Mike West
the layout_test IPC changes LGTM, thanks.
4 years, 10 months ago
(2016-02-04 18:15:25 UTC)
#9
the layout_test IPC changes LGTM, thanks.
Peter Beverloo
Description was changed from ========== Add layout tests for ServiceWorker's notificationclose event. This patch implements ...
4 years, 10 months ago
(2016-02-08 18:22:00 UTC)
#10
Description was changed from
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
to
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
Peter Beverloo
Description was changed from ========== Add layout tests for ServiceWorker's notificationclose event. This patch implements ...
4 years, 10 months ago
(2016-02-08 18:22:14 UTC)
#11
Description was changed from
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
to
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky (for //components/html_viewer/)
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
Peter Beverloo
The CQ bit was checked by peter@chromium.org
4 years, 10 months ago
(2016-02-08 19:07:06 UTC)
#12
4 years, 10 months ago
(2016-02-08 19:07:07 UTC)
#13
lgtm
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656823002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656823002/70001
4 years, 10 months ago
(2016-02-08 19:09:56 UTC)
#14
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/19901)
4 years, 10 months ago
(2016-02-08 21:57:45 UTC)
#16
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656823002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656823002/70001
4 years, 10 months ago
(2016-02-09 10:24:43 UTC)
#18
Description was changed from ========== Add layout tests for ServiceWorker's notificationclose event. This patch implements ...
4 years, 10 months ago
(2016-02-09 10:30:10 UTC)
#19
Message was sent while issue was closed.
Description was changed from
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky (for //components/html_viewer/)
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
to
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky (for //components/html_viewer/)
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 10 months ago
(2016-02-09 10:30:11 UTC)
#20
Message was sent while issue was closed.
Committed patchset #5 (id:70001)
commit-bot: I haz the power
Description was changed from ========== Add layout tests for ServiceWorker's notificationclose event. This patch implements ...
4 years, 10 months ago
(2016-02-09 10:31:24 UTC)
#21
Message was sent while issue was closed.
Description was changed from
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky (for //components/html_viewer/)
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
==========
to
==========
Add layout tests for ServiceWorker's notificationclose event.
This patch implements a follow up test to
https://codereview.chromium.org/1619703002/
BUG=579150
TBR=sky (for //components/html_viewer/)
TEST=http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html
Committed: https://crrev.com/24bd34b788d560f63aeef59942baac5eb4e58912
Cr-Commit-Position: refs/heads/master@{#374348}
==========
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/24bd34b788d560f63aeef59942baac5eb4e58912 Cr-Commit-Position: refs/heads/master@{#374348}
4 years, 10 months ago
(2016-02-09 10:31:25 UTC)
#22
Issue 1656823002: Add layout tests for ServiceWorker's notificationclose event.
(Closed)
Created 4 years, 10 months ago by Nina
Modified 4 years, 10 months ago
Reviewers: Mike West, Peter Beverloo
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 6