DescriptionEnsure existence of queried elements.
Added util.querySelector(), which throws error if the query doesn't find an element.
Using it and assert(), ensure the existence of elements which are queried in initialization process of FileManager.
Some trivial fixes for type-check errors are also included.
BUG=406995
TEST=run browser_tests
Committed: https://crrev.com/a81e67c4da7b516aba7ed8202a51a948521a3cdf
Cr-Commit-Position: refs/heads/master@{#300646}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add and use queryRequiredElement. #
Total comments: 12
Patch Set 3 : Make some parameters non-nullable. #Messages
Total messages: 13 (3 generated)
|