| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 case DeviceMotionInsecureOrigin: | 881 case DeviceMotionInsecureOrigin: |
| 882 return "The devicemotion event is deprecated on insecure origins, and su
pport will be removed in the future. You should consider switching your applicat
ion to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more detail
s."; | 882 return "The devicemotion event is deprecated on insecure origins, and su
pport will be removed in the future. You should consider switching your applicat
ion to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more detail
s."; |
| 883 | 883 |
| 884 case DeviceOrientationInsecureOrigin: | 884 case DeviceOrientationInsecureOrigin: |
| 885 return "The deviceorientation event is deprecated on insecure origins, a
nd support will be removed in the future. You should consider switching your app
lication to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more d
etails."; | 885 return "The deviceorientation event is deprecated on insecure origins, a
nd support will be removed in the future. You should consider switching your app
lication to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more d
etails."; |
| 886 | 886 |
| 887 case GeolocationInsecureOrigin: | 887 case GeolocationInsecureOrigin: |
| 888 return "getCurrentPosition() and watchPosition() are deprecated on insec
ure origins, and support will be removed in the future. You should consider swit
ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt
TGz for more details."; | 888 return "getCurrentPosition() and watchPosition() are deprecated on insec
ure origins, and support will be removed in the future. You should consider swit
ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt
TGz for more details."; |
| 889 | 889 |
| 890 case GetUserMediaInsecureOrigin: | 890 case GetUserMediaInsecureOrigin: |
| 891 return "getUserMedia() is deprecated on insecure origins, and support wi
ll 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."; | 891 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."; |
| 892 | 892 |
| 893 case FullscreenInsecureOrigin: | 893 case FullscreenInsecureOrigin: |
| 894 return "requestFullscreen() is deprecated on insecure origins, and suppo
rt 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."
; | 894 return "requestFullscreen() is deprecated on insecure origins, and suppo
rt 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."
; |
| 895 | 895 |
| 896 case EncryptedMediaInsecureOrigin: | 896 case EncryptedMediaInsecureOrigin: |
| 897 return "requestMediaKeySystemAccess() is deprecated on insecure origins
in the specification. Support will be removed in the future. You should consider
switching your application to a secure origin, such as HTTPS. See https://goo.g
l/rStTGz for more details."; | 897 return "requestMediaKeySystemAccess() is deprecated on insecure origins
in the specification. Support will be removed in the future. You should consider
switching your application to a secure origin, such as HTTPS. See https://goo.g
l/rStTGz for more details."; |
| 898 | 898 |
| 899 case DocumentGetCSSCanvasContext: | 899 case DocumentGetCSSCanvasContext: |
| 900 return "The -webkit-canvas CSS feature is deprecated. Please use a posit
ioned <canvas> element instead."; | 900 return "The -webkit-canvas CSS feature is deprecated. Please use a posit
ioned <canvas> element instead."; |
| 901 | 901 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1001 { | 1001 { |
| 1002 // FIXME: We may want to handle stylesheets that have multiple owners | 1002 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1003 // http://crbug.com/242125 | 1003 // http://crbug.com/242125 |
| 1004 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1004 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1005 return getFrom(sheetContents->singleOwnerDocument()); | 1005 return getFrom(sheetContents->singleOwnerDocument()); |
| 1006 return 0; | 1006 return 0; |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 } // namespace blink | 1009 } // namespace blink |
| OLD | NEW |