Ensure 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 Review URL: https://codereview.chromium.org/667933003 Cr-Commit-Position: refs/heads/master@{#300646}
Showing
Please register or sign in to comment