[Extensions] Maybe de-flake ExtensionBindingsApiTest.LastError
Attempt to deflake ExtensionBindingsApiTest.LastError. The test was failing with a segmentation fault, which most likely happened when trying to de-reference an ExtensionHost that could be null. Try to fix this by: - ASSERTing the ExtensionHost exists (at least giving us a good error message if it does not) - Waiting for a "ready" message from the extension, which guarantees the background page has been created. Bug: 1035011 Change-Id: I13510ea649f6488f216bf50bd4cf00bb9d521292 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972263Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#726000}
Showing
Please register or sign in to comment