Chromium Code Reviews
DescriptionDo not create CRWWebUIManager for non-WebUI URLs.
This will prevent web controller from loading WebUI for chrome:// URLs
that neither have WebUI nor NativeContent.
CL should fix the issue with loading WebUI for chrome://crash and
chrome://newtab (New Architecture only).
There are no new tests because this case is covered by various existing
tests, so simple |DCHECK(HTML.length);| in |loadHTML:forURL:| is
sufficient.
BUG=None
Review-Url: https://codereview.chromium.org/2888773003
Cr-Commit-Position: refs/heads/master@{#472547}
Committed: https://chromium.googlesource.com/chromium/src/+/b3bc86ce3f500cb9db8e4eb01af089cf0654bf2b
Patch Set 1 #Patch Set 2 : Self review #
Total comments: 2
Patch Set 3 : Fixed tests; Updated comments; #
Total comments: 4
Patch Set 4 : Updated comments #
Dependent Patchsets: Messages
Total messages: 21 (13 generated)
|
|||||||||||||||||||||||||||||||||||||