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

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:
*Peter Beverloo, *Mike West
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, falken, horo+watch_chromium.org, jam, jochen+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, mkwst+moarreviews-renderer_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-notifications_chromium.org, nhiroki, Peter Beverloo, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : Rebase on pending changes #

Patch Set 3 : Another rebase #

Patch Set 4 : Now the test actually works #

Total comments: 6

Patch Set 5 : Refactored data reflection tests + nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -65 lines) Patch
M components/html_viewer/web_test_delegate_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/html_viewer/web_test_delegate_impl.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 3 4 4 chunks +15 lines, -0 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.cc View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M content/shell/common/layout_test/layout_test_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/notifications/resources/notification-data-reflection-test.js View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-data-reflection.html View 1 2 3 4 2 chunks +8 lines, -65 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notificationclose-event-data-reflection.html View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (12 generated)
Nina
Hi Peter, Could you give this patch a look? Thanks!
4 years, 10 months ago (2016-02-02 16:53:49 UTC) #3
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
Nina
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 West
the layout_test IPC changes LGTM, thanks.
4 years, 10 months ago (2016-02-04 18:15:25 UTC) #9
Peter Beverloo
lgtm
4 years, 10 months ago (2016-02-08 19:07:07 UTC) #13
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
commit-bot: I haz the power
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
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-09 10:24:43 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 10 months ago (2016-02-09 10:30:11 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 10:31:25 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/24bd34b788d560f63aeef59942baac5eb4e58912
Cr-Commit-Position: refs/heads/master@{#374348}

Powered by Google App Engine
This is Rietveld 408576698