|
Warn developers about deprecated features only once per page-load.
As a first step towards removing deprecated features from Blink, we should warn
developers that they're using APIs that won't be sticking around forever. This
patch introduces PageConsole::reportDeprecation in order to streamline this
process, and make it trivial to find deprecated features in the codebase.
BUG= 233522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148726
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+87 lines, -17 lines) |
Patch |
 |
M |
LayoutTests/http/tests/security/contentSecurityPolicy/prefixed-header-deprecation-warning-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/inspector/console/only-one-deprecation-warning.html
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/inspector/console/only-one-deprecation-warning-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/ConsoleMessage.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/ConsoleTypes.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/ContentSecurityPolicy.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/ContentSecurityPolicy.cpp
|
View
|
1
|
3 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/PageConsole.h
|
View
|
1
2
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/PageConsole.cpp
|
View
|
1
2
|
2 chunks |
+39 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/devtools/front_end/ConsoleModel.js
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/devtools/protocol.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|