MojoWebUIBrowserTest: Allow compressing of test resources.
Previously the code assumed, via the usage of l10n_util::GetStringUTF16, that the underlying resources at chrome/test/data/webui_test_resources.grd are not compressed. Moreover, using l10n_util::GetStringUTF16() is not designed for fetching a file's content and was somewhat misused here. This is one of many CLs, in preparation of compressing all HTML, JS, CSS, SVG files by default (meaning without requiring compress="gzip" to be specified). Bug: 1068407 Change-Id: I77fe0f9966f6e277288838c42260433c34bd403c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146090 Auto-Submit: dpapad <dpapad@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by:Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#758538}
Showing
Please register or sign in to comment