New issue
Advanced search Search tips

Issue 807436 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 800986



Sign in to add a comment

Fetching a blob URL with a fragment from a unique origin fails.

Project Member Reported by mek@chromium.org, Jan 30 2018

Issue description

The same-origin check when fetching a blob URL tries to look up the origin for the URL including fragment. The map stores URLs without fragments though, so this fails. Should be easy to fix.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 5 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d66e22f2b0cbfb56d1eb6fdadbe0151b254a432f

commit d66e22f2b0cbfb56d1eb6fdadbe0151b254a432f
Author: Marijn Kruisselbrink <mek@chromium.org>
Date: Thu Apr 05 18:17:52 2018

[FileAPI] Ignore URL fragment when looking up origin of blob: URLs.

Bug:  807436 
Change-Id: Ic908a9764c1f9432ee14783561f720597c2c2b42
Reviewed-on: https://chromium-review.googlesource.com/996453
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548488}
[modify] https://crrev.com/d66e22f2b0cbfb56d1eb6fdadbe0151b254a432f/third_party/WebKit/LayoutTests/external/wpt/FileAPI/url/sandboxed-iframe-expected.txt
[modify] https://crrev.com/d66e22f2b0cbfb56d1eb6fdadbe0151b254a432f/third_party/WebKit/Source/core/fileapi/PublicURLManager.cpp

Comment 2 by mek@chromium.org, Apr 5 2018

Status: Fixed (was: Available)
Components: Blink>Storage>FileAPI
Components: -Blink>FileAPI

Sign in to add a comment