Update unittests to use '%23' instead of '#' in data URIs

This is a (very) partial reland of
https://chromium-review.googlesource.com/c/chromium/src/+/738395,
restoring only the changes to applicable unittests. This should be safe
since '%23' always has been a correct encoding of '#' and so should work
with the data URI code as it is today. It will also make any future
re-land of the core original CL easier.

Some unittests from the original CL were excluded, as the changes made
to them relied on the underlying behavior change.

TBR: pfeldman@chromium.org, thakis@chromium.org, ellyjones@chromium.org
Bug: 123004
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I816fd90d744a1e12e2d9a8d6d0298834b55f2e57
Reviewed-on: https://chromium-review.googlesource.com/1062190
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559928}
12 files changed