| 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 ddfa64361b8e9261a811ba43531717c3d0c76cc0..2d365a86f2d581f762ceb9d76ae5d26e87f9af5c 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,
|
|
|