DescriptionAdd 'NavigationHandle::QueueConsoleMessage'.
NavigationThrottles like AncestorThrottle[1] and ClearSiteDataThrottle[2]
need to dump messages to the console in order to inform developers of the
success or failure of the web-facing features they implement. Rather than
forcing each to come up with a message queuing system, we can abstract
that into a simple mechanism hanging off of 'NavigationHandle' itself.
This patch adds that mechanism, but only uses it in tests; real usage
won't land until the aforementioned throttles land.
[1]: https://codereview.chromium.org/1617043002/
[2]: https://codereview.chromium.org/2025683003
BUG=555418, 607897
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Patch Set 1 #Patch Set 2 : extensions_unittests #
Total comments: 4
Patch Set 3 : -public #
Total comments: 3
Messages
Total messages: 8 (2 generated)
|