-
rbpotter authored
Remove use of CallJavascriptFunctionUnsafe from net_internals_ui.cc. Update BrowserBridge to class based syntax and use sendWithPromise as needed. handler occurs like in production code, so cannot easily be stubbed out with a TestBrowserProxy. Therefore, moved test observers to the class being tested. Note: Unlike many WebUI tests, these tests assume a round trip to the Change-Id: Id2453205e1bdc912b5e20aeba12f1082ed09629d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2634129 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:
dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#845033}
bf08b433