Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index 67b93e02f770ab6f5e5c8fbb047b145a73e94aa3..0891c1ee649eba04e6dea7c9e640a7292e828e22 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -877,6 +877,12 @@ String UseCounter::deprecationMessage(Feature feature) |
return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__unsuspendRedrawAll)."; |
// Powerful features on insecure origins (https://goo.gl/rStTGz) |
+ case DeviceMotionInsecureOrigin: |
+ return "The devicemotion event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; |
+ |
+ case DeviceOrientationInsecureOrigin: |
+ return "The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; |
+ |
case GeolocationInsecureOrigin: |
return "getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; |