DescriptionSupport loading html file URLs in Mojo.
Set the mime_type on LocalFetcher's URLResponsePtr.
Infer text/html from related file path extensions.
TODO: Expand support; use net::GetMimeTypeFromExtension.
BUG=513779
TEST=Running "out/Debug/Mandoline file://<local URL>.html works.
R=sky@chromium.org
Committed: https://crrev.com/a28de6accdb7d5af2aa203208fe8d35104b3abd1
Cr-Commit-Position: refs/heads/master@{#341631}
Patch Set 1 #Patch Set 2 : Debugging LocalFetcher issue. #Patch Set 3 : Set LocalFetcher's URLResponsePtr::mime_type. #Patch Set 4 : Cleanup, add other html extensions. #Messages
Total messages: 7 (2 generated)
|