Open
Bug 1679438
Opened 4 years ago
Updated 4 years ago
Cannot drag data-URL images in new tab
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
People
(Reporter: giul.mus, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
- Visit https://dopiaza.org/tools/datauri/examples/index.php
- Drag the image of the cat next to the current tab (as if to open it in a new tab)
Actual results:
Nothing happens.
Expected results:
The image should be opened in a new tab, as it is for regular images (eg. if you drag avatars from Bugzilla).
status-firefox83:
--- → affected
status-firefox84:
--- → affected
status-firefox85:
--- → affected
Component: Untriaged → Tabbed Browser
Comment 1•4 years ago
|
||
Got an error from the Browser Console:
NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIScriptSecurityManager.checkLoadURIWithPrincipal] ContentAreaDropListener.jsm:156
_validateURI resource://gre/modules/ContentAreaDropListener.jsm:156
dropLinks resource://gre/modules/ContentAreaDropListener.jsm:320
dropLinks chrome://browser/content/browser.js:3860
on_drop chrome://browser/content/tabbrowser-tabs.js:725
handleEvent chrome://browser/content/tabbrowser-tabs.js:1725
Comment 2•4 years ago
|
||
This goes back to bug 280056. Not sure if there's a legitimate security concern for data: URLs we'd open a new tab for.
Severity: -- → S4
Priority: -- → P5
Comment 3•4 years ago
|
||
I think we can re-enable dropping data: URLs because they no longer inherit security context (bug 724161). Chrome accepts dropping data: URLs to tabs.
Comment 4•4 years ago
|
||
Okay.
You need to log in
before you can comment on or make changes to this bug.
Description
•