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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 | 417 |
418 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method: | 418 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method: |
419 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 419 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
420 "5725741740195840"); | 420 "5725741740195840"); |
421 | 421 |
422 case UseCounter::ChildSrcAllowedWorkerThatScriptSrcBlocked: | 422 case UseCounter::ChildSrcAllowedWorkerThatScriptSrcBlocked: |
423 return replacedWillBeRemoved("The 'child-src' directive", | 423 return replacedWillBeRemoved("The 'child-src' directive", |
424 "the 'script-src' directive for Workers", | 424 "the 'script-src' directive for Workers", |
425 M60, "5922594955984896"); | 425 M60, "5922594955984896"); |
426 | 426 |
| 427 case UseCounter::CanRequestURLHTTPContainingNewline: |
| 428 return String::format( |
| 429 "Resource requests whose URLs contain raw newline characters are " |
| 430 "deprecated, and may be blocked in %s. Please remove newlines from " |
| 431 "places like element attribute values in order to continue loading " |
| 432 "those resources. See " |
| 433 "https://www.chromestatus.com/features/5735596811091968 for more " |
| 434 "details.", |
| 435 milestoneString(M60)); |
| 436 |
427 // Features that aren't deprecated don't have a deprecation message. | 437 // Features that aren't deprecated don't have a deprecation message. |
428 default: | 438 default: |
429 return String(); | 439 return String(); |
430 } | 440 } |
431 } | 441 } |
432 | 442 |
433 } // namespace blink | 443 } // namespace blink |
OLD | NEW |