Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
authorJohann Hofmann <jhofmann@mozilla.com>
Tue, 26 Feb 2019 22:37:22 +0000
changeset 11164 aead7bb44798d8340047c7e5e160b6f12284fbc3
parent 11163 439dd0b4479dcf609467e5a929ffb8f58cf20273
child 11165 d38e5d9e6a2e4c7f7d67e2d90f81a76369ce05ae
push id119
push userflodolo@mozilla.com
push dateThu, 28 Feb 2019 13:45:37 +0000
reviewersEhsan
bugs1429432
Bug 1429432 - Require Secure Context for Notifications. r=Ehsan Differential Revision: https://phabricator.services.mozilla.com/D21001 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 279a75b5a6d42a41176750f113594139060d8924 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 373e61d5d56f98a293423d7662a4de7a1534ef68 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: c2fca1944d8c54d01a5e2d7e13d965e4a6597307
dom/chrome/dom/dom.properties
--- a/dom/chrome/dom/dom.properties
+++ b/dom/chrome/dom/dom.properties
@@ -311,16 +311,17 @@ GenericFileName=file
 LargeAllocationSuccess=This page was loaded in a new process due to a Large-Allocation header.
 # LOCALIZATION NOTE: Do not translate "Large-Allocation", as it is a literal header name. Do not translate GET.
 LargeAllocationNonGetRequest=A Large-Allocation header was ignored due to the load being triggered by a non-GET request.
 # LOCALIZATION NOTE: Do not translate "Large-Allocation", as it is a literal header name. Do not translate `window.opener`.
 LargeAllocationNotOnlyToplevelInTabGroup=A Large-Allocation header was ignored due to the presence of windows which have a reference to this browsing context through the frame hierarchy or window.opener.
 # LOCALIZATION NOTE: Do not translate "Large-Allocation", as it is a literal header name
 LargeAllocationNonE10S=A Large-Allocation header was ignored due to the document not being loaded out of process.
 GeolocationInsecureRequestIsForbidden=A Geolocation request can only be fulfilled in a secure context.
+NotificationsInsecureRequestIsForbidden=The Notification permission may only be requested in a secure context.
 # LOCALIZATION NOTE: Do not translate "Large-Allocation", as it is a literal header name.
 LargeAllocationNonWin32=This page would be loaded in a new process due to a Large-Allocation header, however Large-Allocation process creation is disabled on non-Win32 platforms.
 # LOCALIZATION NOTE: Do not translate xml:base.
 XMLBaseAttributeWarning=Use of xml:base attribute is deprecated and will be removed soon. Please remove any use of it.
 # LOCALIZATION NOTE: Do not translate "content", "Window", and "window.top"
 WindowContentUntrustedWarning=The ‘content’ attribute of Window objects is deprecated.  Please use ‘window.top’ instead.
 # LOCALIZATION NOTE: The first %S is the tag name of the element that starts the loop, the second %S is the element's ID.
 SVGRefLoopWarning=The SVG <%S> with ID “%S” has a reference loop.