Pasting blob URL link in new tab does not show blob content
Categories
(Core :: DOM: File, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | verified |
People
(Reporter: ssengupta, Assigned: ssengupta)
Details
Attachments
(3 files)
STR:
- open https://developer.mozilla.org/en-US/docs/Web/API/Blob#Result
- right click the "open the array URL" and click "copy link location"
- open a new tab, right click on the address bar, and choose "paste and go"
Expected:
content is visible
Actual:
no content shows up
This is a followup of Bug 1626573
Assignee | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Able to reporduce at Firefox 75 and Nightly 77 https://bugzilla.mozilla.org/show_bug.cgi?id=1626573#c13.
One "workaround":
- Copy the Blob URL at
<a>
element at STR - Navigate to https://mdn.mozillademos.org
- Open
console
and runwindow.open("blob:https://mdn.mozillademos.org/0326019d-c9b5-4483-b8c2-468c9df4f866")
or the current Blob URL
Comment 2•4 years ago
|
||
Even pasting the Blob URL at the same domain and origin displays the content, without using window.open()
. Cross-origin navigation to a Blob URL appears to be disabled?
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Two cases have been tested:
- Loading a blob URL, which points to a blob of type text
- Loading a blob URL, which points to a blob of type html, which fetches another blob URL
Depends on D71889
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/063e34ebf119 P1 - DocumentLoadListener transmits blob data for triggering principal before cross-process redirect if URI is a blob URL r=baku,necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/19fdc0973d58 P2 - Browser Mochitests added to test if loading a blob URL in a new foreground tab works r=baku
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/063e34ebf119
https://hg.mozilla.org/mozilla-central/rev/19fdc0973d58
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Reproduced the initial issue in release version 76 using Windows 10.
Verified - Fixed in Beta 77.0b7 (build id: 20200515125749) and latest Nightly build 78.0a1 (build id: 20200518214824) on Windows 10 and Ubuntu 18.04.
Description
•