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

Issue 1417913002: Notifications: Improve SW notification property layout test (Closed)

Created:
5 years, 2 months ago by johnme
Modified:
5 years, 2 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, blink-reviews, peter+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notifications: Improve SW notification property layout test This generalizes serviceworker-notificationclick-event-reflection.html to also check that the properties are correctly reflected by ServiceWorkerRegistration.getNotifications(). Hence the test is renamed to serviceworker-notification-properties.html This will be useful for testing notification actions, since the getNotifications test operates on real Notification objects rather than cloned ones, so it'll be possible to test immutability etc. BUG=513671 Committed: https://crrev.com/55ad68223578c93a82538f50c67ab23680c9d72b Cr-Commit-Position: refs/heads/master@{#355309}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Factor out assert_object_is_superset #

Total comments: 6

Patch Set 3 : Addressed review nits #

Messages

Total messages: 11 (3 generated)
johnme
5 years, 2 months ago (2015-10-21 13:25:47 UTC) #2
Peter Beverloo
https://codereview.chromium.org/1417913002/diff/1/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html File third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html (right): https://codereview.chromium.org/1417913002/diff/1/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html#newcode69 third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html:69: // set on the (cloned) Notification object are as ...
5 years, 2 months ago (2015-10-21 13:29:00 UTC) #3
johnme
Addressed review comments - thanks :) https://codereview.chromium.org/1417913002/diff/1/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html File third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html (right): https://codereview.chromium.org/1417913002/diff/1/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html#newcode69 third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html:69: // set on ...
5 years, 2 months ago (2015-10-21 14:21:18 UTC) #4
Peter Beverloo
lgtm https://codereview.chromium.org/1417913002/diff/20001/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html File third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html (right): https://codereview.chromium.org/1417913002/diff/20001/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html#newcode18 third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html:18: description = description || ''; nit: remove this ...
5 years, 2 months ago (2015-10-21 14:26:35 UTC) #5
johnme
Addressed review nits - thanks :) https://codereview.chromium.org/1417913002/diff/20001/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html File third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html (right): https://codereview.chromium.org/1417913002/diff/20001/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html#newcode18 third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html:18: description = description ...
5 years, 2 months ago (2015-10-21 15:55:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417913002/40001
5 years, 2 months ago (2015-10-21 15:55:55 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-21 16:33:24 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 16:34:42 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/55ad68223578c93a82538f50c67ab23680c9d72b
Cr-Commit-Position: refs/heads/master@{#355309}

Powered by Google App Engine
This is Rietveld 408576698