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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 case SVGSVGElementUnsuspendRedrawAll: | 883 case SVGSVGElementUnsuspendRedrawAll: |
884 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no
t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_
_svg__SVGSVGElement__unsuspendRedrawAll)."; | 884 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no
t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_
_svg__SVGSVGElement__unsuspendRedrawAll)."; |
885 | 885 |
886 // Powerful features on insecure origins (https://goo.gl/rStTGz) | 886 // Powerful features on insecure origins (https://goo.gl/rStTGz) |
887 case DeviceMotionInsecureOrigin: | 887 case DeviceMotionInsecureOrigin: |
888 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."; | 888 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."; |
889 | 889 |
890 case DeviceOrientationInsecureOrigin: | 890 case DeviceOrientationInsecureOrigin: |
891 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."; | 891 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."; |
892 | 892 |
| 893 case DeviceOrientationAbsoluteInsecureOrigin: |
| 894 return "The deviceorientationabsolute event is deprecated on insecure or
igins, 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 fo
r more details."; |
| 895 |
893 case GeolocationInsecureOrigin: | 896 case GeolocationInsecureOrigin: |
894 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."; | 897 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."; |
895 | 898 |
896 case GetUserMediaInsecureOrigin: | 899 case GetUserMediaInsecureOrigin: |
897 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."; | 900 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."; |
898 | 901 |
899 case EncryptedMediaInsecureOrigin: | 902 case EncryptedMediaInsecureOrigin: |
900 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."; | 903 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."; |
901 | 904 |
902 case ElementCreateShadowRootMultiple: | 905 case ElementCreateShadowRootMultiple: |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 981 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
979 { | 982 { |
980 // FIXME: We may want to handle stylesheets that have multiple owners | 983 // FIXME: We may want to handle stylesheets that have multiple owners |
981 // https://crbug.com/242125 | 984 // https://crbug.com/242125 |
982 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 985 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
983 return getFrom(sheetContents->singleOwnerDocument()); | 986 return getFrom(sheetContents->singleOwnerDocument()); |
984 return 0; | 987 return 0; |
985 } | 988 } |
986 | 989 |
987 } // namespace blink | 990 } // namespace blink |
OLD | NEW |