New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632900 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 535463
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Blob URL incorrectly linked in console

Reported by acmesqua...@gmail.com, Jul 29 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Steps to reproduce the problem:
const redDot = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==';

console.log(redDot);
fetch(redDot).then(res=>res.blob()).then(URL.createObjectURL).then(console.log);

What is the expected behavior?
Both the dataURI and objectURL produce working links.

What went wrong?
Only the dataURI works correctly.
The objectURL fails to include the scheme (it begins linking at "https://"), producing an invalid link.

Did this work before? No 

Chrome version: 54.0.2810.2  Channel: dev
OS Version: 
Flash Version:
 
Labels: -OS-Linux OS-All
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks.
Cc: kozyatinskiy@chromium.org
 Issue 609417  has been merged into this issue.
Mergedinto: 535463
Status: Duplicate (was: Assigned)

Sign in to add a comment