desktop-pwas: Fix blob URL origins in web app window UI
GURL::GetOrigin() doesn't handle blob:* URLs. Use Origin class instead. Also update web app window UI to use full URL if we are unable to parse the origin out of it instead of showing nothing. Before: https://bugs.chromium.org/p/chromium/issues/attachment?aid=446212&signed_aid=n--6M0MuMy7reB9rCSzlBQ==&inline=1 After: https://bugs.chromium.org/p/chromium/issues/attachment?aid=446381&signed_aid=32H8pSYcBHXM7jZ9LMdxEg==&inline=1 Bug: 1080934 Change-Id: Ifd107797a9e6c40ec6dbbd4891e991db5725484a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198697 Commit-Queue: Alan Cutter <alancutter@chromium.org> Auto-Submit: Alan Cutter <alancutter@chromium.org> Reviewed-by:Evan Stade <estade@chromium.org> Reviewed-by:
Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#768761}
Showing
Please register or sign in to comment