|
Typecheck some of ui/webui/resources/js/ with Closure compiler.
Also adds:
assertNotReached("message");
as a rough equivalent of
NOTREACHED() << "message";
in Chromium and:
ASSERT_NOT_REACHED();
in blink.
R=arv@chromium.org
BUG= 393873
TEST=gyp --depth . ui/webui/resources/js/compiled_resources.gyp ui/webui/resources/js/chromeos/compiled_resources.gyp && ninja -C out/Default/
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287403
Total comments: 27
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+200 lines, -162 lines) |
Patch |
 |
M |
chrome/browser/resources/extensions/extension_error_overlay.js
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/ntp4/tile_page.js
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/browser_options.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/link_controller_test.html
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/closure_compiler/checker.py
|
View
|
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/closure_compiler/externs/chrome_send_externs.js
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
A |
third_party/closure_compiler/externs/pending_compiler_externs.js
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/assert.js
|
View
|
1
2
3
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/chromeos/ui_account_tweaks.js
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/cr.js
|
View
|
1
2
3
4
5
6
7
8
9
|
9 chunks |
+49 lines, -69 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/event_tracker.js
|
View
|
|
2 chunks |
+28 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/i18n_template.js
|
View
|
|
4 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/i18n_template_no_process.js
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/load_time_data.js
|
View
|
|
5 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/local_strings.js
|
View
|
1
|
4 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/parse_html_subset.js
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A + |
ui/webui/resources/js/template_data_externs.js
|
View
|
1
2
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/webui/resources/js/util.js
|
View
|
|
8 chunks |
+15 lines, -19 lines |
0 comments
|
Download
|
Total messages: 34 (0 generated)
|