DescriptionFix MediaGalleriesPlatformAppBrowserTest tests with PlzNavigate.
r217066 added a dummy app window to keep the app alive during the test. This gives errors in the chrome apps JS because the file doesn't actually exist, so the chrome apps JS objects aren't injected. This works without PlzNavigate because the JS objects are injected based on the provisional load URL, which is valid (this is before the renderer finds out the file doesn't exist). With PlzNavigate, the frame is instead navigated to an error page URL, which we don't inject chrome apps bindings in.
Fix this by increasing the apps timeout value in C++ in the test harness.
This fixes
MediaGalleriesPlatformAppBrowserTest.MediaGalleriesRead
MediaGalleriesPlatformAppBrowserTest.Scan
MediaGalleriesPlatformAppBrowserTest.ToURL
with PlzNavigate.
BUG=504347
Committed: https://crrev.com/9f396cd685f05bf2d4d9f86c7e3d0e0ed85790f8
Cr-Commit-Position: refs/heads/master@{#429477}
Patch Set 1 : a #
Messages
Total messages: 16 (11 generated)
|