[Custom Format] Add same-origin restriction first
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: hsinyi, Assigned: edenchuang)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
IIUC we currently do not block cross-origin custom format read.
| Reporter | ||
Comment 1•1 month ago
|
||
Hi Eden,
Is my understanding right here that we need this one blocking bug 2053725? Thank you.
| Assignee | ||
Comment 2•1 month ago
|
||
(In reply to Hsin-Yi Tsai (she/her) | away [:hsinyi] from comment #0)
IIUC we currently do not block cross-origin custom format read.
We block cross-origin custom format read when the clipboard data is from other Apps(We treat other app's data is cross-origin data).
We do not block cross-origin custom format read when the clipboard data is from other origin in the Firefox. However, cross-origin custom-format paste follows other cross-origin data paste, which means a pop-up context menu with a "Paste" button is shown when pasting.
I am unsure whether we really need more limitations for cross-origin custom-format data than for other cross-origin data.
| Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
Comment 4•29 days ago
|
||
(In reply to Eden Chuang[:edenchuang] from comment #2)
(In reply to Hsin-Yi Tsai (she/her) | away [:hsinyi] from comment #0)
IIUC we currently do not block cross-origin custom format read.
We block cross-origin custom format read when the clipboard data is from other Apps(We treat other app's data is cross-origin data).
We do not block cross-origin custom format read when the clipboard data is from other origin in the Firefox. However, cross-origin custom-format paste follows other cross-origin data paste, which means a pop-up context menu with a "Paste" button is shown when pasting.
I am unsure whether we really need more limitations for cross-origin custom-format data than for other cross-origin data.
Yes, we treat data from other applications as cross-origin data.
So, to me, it makes more sense to handle all "cross-origin" data consistently. :)
Updated•28 days ago
|
Updated•28 days ago
|
Updated•18 days ago
|
Description
•