Add window.IN_TEST in gallery/js/background.js.
window.IN_TEST is not defined in gallery app. It caused a warning of closure compiler, and IN_TEST flag should be set true also in tests of gallery app. BUG=433728 TEST=GYP_GENERATORS=ninja tools/gyp/gyp --depth . ui/file_manager/gallery/js/compiled_resources.gyp && ninja -C out/Default out/Release/browser_tests --gtest_filter=*GalleryBrowserTest* Review URL: https://codereview.chromium.org/817233002 Cr-Commit-Position: refs/heads/master@{#309402}
Showing
Please register or sign in to comment