New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 700343 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Calling GetDisplayNotifications makes xpc native alerts unclickable

Project Member Reported by miguelg@chromium.org, Mar 10 2017

Issue description

Since the async flow has not landed yet
XPC alerts are not retrieved by GetDisplayedNotifications which means that if
you display an alert then call GetDisplayedNotifications the displayed alert
will no longer respond to click events.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/865a357dda206267aafd20d23382b452cec8c084

commit 865a357dda206267aafd20d23382b452cec8c084
Author: miguelg <miguelg@chromium.org>
Date: Fri Mar 10 11:42:01 2017

Do not delete notification ids unknown by the display service

This is a temporary set of reverts so they can go into M58.

Revert "clean up LayoutTestNotificationManager overrides"
This reverts commit 0e9764ee9211235cb379f45df8bf983af2b0b0aa.
Revert "Test the platform notification context synchronize operation"
This reverts commit f3f824cd5032eac3c694bd9b7a5c05a2e45ebc5c.
Revert "Fix a couple of notification TODOs"
This reverts commit e50bfa204461eba626ab5891799669f9bf8231be.

BUG= 571056 , 700343 

Review-Url: https://codereview.chromium.org/2739943006
Cr-Commit-Position: refs/heads/master@{#456041}

[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/browser/notifications/notification_database.cc
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/browser/notifications/platform_notification_context_impl.cc
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/browser/notifications/platform_notification_context_unittest.cc
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/shell/browser/layout_test/layout_test_notification_manager.cc
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/shell/browser/layout_test/layout_test_notification_manager.h
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/shell/browser/layout_test/layout_test_permission_manager.cc
[modify] https://crrev.com/865a357dda206267aafd20d23382b452cec8c084/content/test/BUILD.gn

Labels: Merge-Request-58
Project Member

Comment 3 by sheriffbot@chromium.org, Mar 11 2017

Labels: -Merge-Request-58 Merge-Review-58 Hotlist-Merge-Review
This bug requires manual review: Reverts referenced in bugdroid comments after merge request.
Please contact the milestone owner if you have questions.
Owners: amineer@(clank), cmasso@(bling), bhthompson@(cros), govind@(desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Some context, the only relevant file touching production code is https://codereview.chromium.org/2739943006/patch/20001/30002 everything else were just some refactors done in order to test this properly.

The code it affects will not be shipping in production in M58 but there are many  people with flag manually on and without this change they could face a situation where alerts become unresponsive.

Comment 5 by gov...@chromium.org, Mar 13 2017

Thank you  miguelg@. How is this change looking in Canary?

Comment 6 by gov...@chromium.org, Mar 13 2017

Cc: abdulsyed@chromium.org
Friendly ping - Can you please comment how this change looks in Canary? We are pushing to Beta on Thursday will need to merge before 5PM Tomorrow. 
Oh sorry about missing this. The change is working great in canary.

repro steps:
  https://tests.peter.sh/notification-generator/
  Tick on "Req. interaction" then click "Display the notification"
Without clicking the resulting alert click "Get Displayed notifications"

Before the patch the showing alert would not be clickable any more. Now it is.
Labels: -Merge-Review-58 Merge-Approved-58
Thanks! please go ahead and merge for M58. Branch: 3029
Project Member

Comment 10 by bugdroid1@chromium.org, Mar 15 2017

Labels: -merge-approved-58 merge-merged-3029
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b3c1d9d6170108539e5ba8662692e0478366daac

commit b3c1d9d6170108539e5ba8662692e0478366daac
Author: Miguel Garcia <miguelg@chromium.org>
Date: Wed Mar 15 21:51:42 2017

Do not delete notification ids unknown by the display service

This is a temporary set of reverts so they can go into M58.

Revert "clean up LayoutTestNotificationManager overrides"
This reverts commit 0e9764ee9211235cb379f45df8bf983af2b0b0aa.
Revert "Test the platform notification context synchronize operation"
This reverts commit f3f824cd5032eac3c694bd9b7a5c05a2e45ebc5c.
Revert "Fix a couple of notification TODOs"
This reverts commit e50bfa204461eba626ab5891799669f9bf8231be.

BUG= 571056 , 700343 

Review-Url: https://codereview.chromium.org/2739943006
Cr-Commit-Position: refs/heads/master@{#456041}
(cherry picked from commit 865a357dda206267aafd20d23382b452cec8c084)

Review-Url: https://codereview.chromium.org/2748133006 .
Cr-Commit-Position: refs/branch-heads/3029@{#218}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}

[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/browser/notifications/notification_database.cc
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/browser/notifications/platform_notification_context_impl.cc
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/browser/notifications/platform_notification_context_unittest.cc
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/shell/browser/layout_test/layout_test_notification_manager.cc
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/shell/browser/layout_test/layout_test_notification_manager.h
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/shell/browser/layout_test/layout_test_permission_manager.cc
[modify] https://crrev.com/b3c1d9d6170108539e5ba8662692e0478366daac/content/test/BUILD.gn

Status: Fixed (was: Assigned)
Labels: -M58 M-58

Sign in to add a comment