| Index: third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| index 795ccce27d3662c93b02607e1e11754370ea441c..c868fe7d668799c0e83fbf0202c141fe33bf01bb 100644
|
| --- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| @@ -899,7 +899,11 @@ String UseCounter::deprecationMessage(Feature feature)
|
| return "The deviceorientationabsolute 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.";
|
| + // TODO(jww): This message should be made less ambigous after WebView
|
| + // is fixed so geolocation can be removed there. After that, this
|
| + // should be updated to read similarly to GetUserMediaInsecureOrigin's
|
| + // message.
|
| + return "getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
|
|
|
| case GetUserMediaInsecureOrigin:
|
| return "getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
|
|
|