[Extensions Bindings] Fix GetPackageDirectoryEntry
GetPackageDirectoryEntry has a ModuleSystem::NativesEnabledScope that wasn't quite long enough. We need to ensure that the scope allows the function to generate the callback (fileEntryBindingUtil.getBindDirectoryEntryCallback) to run with natives, since it may require modules in the background page. Expand the natives enabled scope by just enough to make this work. Bug: 653596 Test: browser_tests --enable-features=NativeCrxBindings --gtest_filter=*GetPackageDirectoryEntryApp* Change-Id: I209c4e8f92d0b10955d1ecafe489b68a2b18af88 Reviewed-on: https://chromium-review.googlesource.com/898399Reviewed-by:Jeremy Roman <jbroman@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#534060}
Showing
Please register or sign in to comment