| Index: chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
|
| diff --git a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
|
| index 3d5530f370b8a49be36ce32088be3291baf87acf..5b57d4fbaa62c4853c54ec53b48d480919c0e110 100644
|
| --- a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
|
| +++ b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
|
| @@ -409,6 +409,19 @@ IN_PROC_BROWSER_TEST_F(PlatformNotificationServiceBrowserTest,
|
| notification.origin_url().spec());
|
| }
|
|
|
| +IN_PROC_BROWSER_TEST_F(PlatformNotificationServiceBrowserTest,
|
| + PersistentNotificationServiceWorkerScope) {
|
| + RequestAndAcceptPermission();
|
| +
|
| + // Creates a simple notification.
|
| + std::string script_result;
|
| + ASSERT_TRUE(RunScript("DisplayPersistentNotification()", &script_result));
|
| +
|
| + const Notification& notification = ui_manager()->GetNotificationAt(0);
|
| +
|
| + EXPECT_EQ(TestPageUrl().spec(), notification.service_worker_scope().spec());
|
| +}
|
| +
|
| // TODO(felt): This DCHECKs when bubbles are enabled, when the file_url is
|
| // persisted. crbug.com/502057
|
| IN_PROC_BROWSER_TEST_F(PlatformNotificationServiceBrowserTest,
|
|
|