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

Issue 2403893002: Add layout test for reply property of notificationclick event (Closed)

Created:
4 years, 2 months ago by awdf
Modified:
4 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, jam, einbinder+watch-test-runner_chromium.org, blink-reviews, darin-cc_chromium.org, jochen+watch_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add layout test for reply property of notificationclick event BUG=599859 Committed: https://crrev.com/f8bdbe8a21ba9a9a62755a5aba12770f97234613 Cr-Commit-Position: refs/heads/master@{#425281}

Patch Set 1 : Add layout test for reply property of notificationclick event #

Total comments: 5

Patch Set 2 : Use NullableString16 from TestRunner::SimulateWebNotificationClick #

Patch Set 3 : Make reply field nullable in .idl files; add test cases for empty and null #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -48 lines) Patch
M components/test_runner/test_runner.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M components/test_runner/test_runner.cc View 1 5 chunks +25 lines, -4 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M content/shell/common/layout_test/layout_test_messages.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/instrumentation-service-worker.js View 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reply-reflection.html View 1 2 4 chunks +20 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationEvent.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 44 (28 generated)
awdf
As proposed in the other review, here's a layout test that calls simulateWebNotificationClickWithReply, which unifies ...
4 years, 2 months ago (2016-10-11 11:51:29 UTC) #13
Peter Beverloo
https://codereview.chromium.org/2403893002/diff/60001/components/test_runner/test_runner.cc File components/test_runner/test_runner.cc (right): https://codereview.chromium.org/2403893002/diff/60001/components/test_runner/test_runner.cc#newcode1368 components/test_runner/test_runner.cc:1368: void TestRunnerBindings::SimulateWebNotificationClickWithReply( Ah, yeah, this is a fine middle ...
4 years, 2 months ago (2016-10-11 14:28:40 UTC) #16
awdf
https://codereview.chromium.org/2403893002/diff/60001/components/test_runner/test_runner.cc File components/test_runner/test_runner.cc (right): https://codereview.chromium.org/2403893002/diff/60001/components/test_runner/test_runner.cc#newcode1368 components/test_runner/test_runner.cc:1368: void TestRunnerBindings::SimulateWebNotificationClickWithReply( On 2016/10/11 14:28:39, Peter Beverloo wrote: > ...
4 years, 2 months ago (2016-10-12 14:59:45 UTC) #21
awdf
4 years, 2 months ago (2016-10-12 14:59:47 UTC) #22
Peter Beverloo
lgtm % two additional tests > Done the empty string case but not sure how ...
4 years, 2 months ago (2016-10-12 16:39:07 UTC) #23
awdf
On 2016/10/12 16:39:07, Peter Beverloo wrote: > lgtm % two additional tests > > > ...
4 years, 2 months ago (2016-10-13 11:57:19 UTC) #24
awdf
I'm up for getting rid of the confusing NotificationEventInit idl in a separate CL - ...
4 years, 2 months ago (2016-10-13 13:17:29 UTC) #25
awdf
I'm up for getting rid of the confusing NotificationEventInit idl in a separate CL - ...
4 years, 2 months ago (2016-10-13 13:17:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2403893002/100001
4 years, 2 months ago (2016-10-13 17:00:46 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/280469)
4 years, 2 months ago (2016-10-13 17:13:19 UTC) #35
awdf
Further to https://codereview.chromium.org/2392343002/ (thanks for your speedy reviews of that yesterday btw!) tkent@chromium.org: Please review ...
4 years, 2 months ago (2016-10-13 17:51:07 UTC) #37
Tom Sepez
lgtm
4 years, 2 months ago (2016-10-13 18:14:43 UTC) #38
tkent
> tkent@chromium.org: Please review changes in > components/test_runner lgtm
4 years, 2 months ago (2016-10-14 00:48:59 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2403893002/100001
4 years, 2 months ago (2016-10-14 09:37:19 UTC) #41
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 2 months ago (2016-10-14 09:43:04 UTC) #42
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 09:45:19 UTC) #44
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f8bdbe8a21ba9a9a62755a5aba12770f97234613
Cr-Commit-Position: refs/heads/master@{#425281}

Powered by Google App Engine
This is Rietveld 408576698