OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/frame/Deprecation.h" | 5 #include "core/frame/Deprecation.h" |
6 | 6 |
7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
8 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
9 #include "core/frame/FrameConsole.h" | 9 #include "core/frame/FrameConsole.h" |
10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
408 "The rtcpMuxPolicy option is being considered for " | 408 "The rtcpMuxPolicy option is being considered for " |
409 "removal and may be removed no earlier than %s. If you depend on it, " | 409 "removal and may be removed no earlier than %s. If you depend on it, " |
410 "please see https://www.chromestatus.com/features/5654810086866944 " | 410 "please see https://www.chromestatus.com/features/5654810086866944 " |
411 "for more details.", | 411 "for more details.", |
412 milestoneString(M60)); | 412 milestoneString(M60)); |
413 | 413 |
414 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: | 414 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: |
415 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 415 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
416 "5725741740195840"); | 416 "5725741740195840"); |
417 | 417 |
418 case UseCounter::kVibrateWithoutUserGesture: | |
419 return willBeRemoved( | |
420 "A call to navigator.vibrate without user tap on the frame or any " | |
421 "embedded frame", | |
422 M60, "5644273861001216"); | |
foolip
2017/06/16 08:00:41
We're now at M61, can this be removed and merged b
| |
423 | |
418 case UseCounter::kChildSrcAllowedWorkerThatScriptSrcBlocked: | 424 case UseCounter::kChildSrcAllowedWorkerThatScriptSrcBlocked: |
419 return replacedWillBeRemoved("The 'child-src' directive", | 425 return replacedWillBeRemoved("The 'child-src' directive", |
420 "the 'script-src' directive for Workers", | 426 "the 'script-src' directive for Workers", |
421 M60, "5922594955984896"); | 427 M60, "5922594955984896"); |
422 | 428 |
423 case UseCounter::kCanRequestURLHTTPContainingNewline: | 429 case UseCounter::kCanRequestURLHTTPContainingNewline: |
424 return String::Format( | 430 return String::Format( |
425 "Resource requests whose URLs contain raw newline characters are " | 431 "Resource requests whose URLs contain raw newline characters are " |
426 "deprecated, and may be blocked in %s. Please remove newlines from " | 432 "deprecated, and may be blocked in %s. Please remove newlines from " |
427 "places like element attribute values in order to continue loading " | 433 "places like element attribute values in order to continue loading " |
(...skipping 10 matching lines...) Expand all Loading... | |
438 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 444 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
439 "5638783282184192"); | 445 "5638783282184192"); |
440 | 446 |
441 // Features that aren't deprecated don't have a deprecation message. | 447 // Features that aren't deprecated don't have a deprecation message. |
442 default: | 448 default: |
443 return String(); | 449 return String(); |
444 } | 450 } |
445 } | 451 } |
446 | 452 |
447 } // namespace blink | 453 } // namespace blink |
OLD | NEW |