diff --git a/dom/notification/test/mochitest/test_notification_permissions.html b/dom/notification/test/mochitest/test_notification_permissions.html index e37b9828672a..0492a51c8e4b 100644 --- a/dom/notification/test/mochitest/test_notification_permissions.html +++ b/dom/notification/test/mochitest/test_notification_permissions.html @@ -22,6 +22,8 @@ add_task(async function test_notifications_permission() { set: [ // Set pref to exercise relevant code path for regression test. ["permissions.delegation.enable", true], + // Automatically dismiss the permission request when it appears. + ["dom.webnotifications.requireuserinteraction", true], ], });