[Cleanup] Use WebContentsConsoleObserver in //content/browser/portal
Update remaining tests under //content/browser/portal to use WebContentsConsoleObserver instead of ConsoleObserverDelegate. This allows us to observe console messages added without overriding the existing delegate of the WebContents. Bug: 1034150 Change-Id: I7618db78b2d55c9919e91ab4c2c7ff7f9589e827 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316449Reviewed-by:Jeremy Roman <jbroman@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#791923}
Showing
Please register or sign in to comment