This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23538 - Sort out markup from local source (i.e. word processor) referencing images on disk
Summary: Sort out markup from local source (i.e. word processor) referencing images on...
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Clipboard API and events (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Hallvord R. M. Steen
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-16 21:26 UTC by Hallvord R. M. Steen
Modified: 2014-11-06 00:17 UTC (History)
2 users (show)

See Also:


Attachments

Description Hallvord R. M. Steen 2013-10-16 21:26:49 UTC
Word processors may put markup fragments that reference locally saved image files/embedded objects on the clipboard. Ideally, these files should be exposed in the DataTransferItemList so that scripts can process them and upload them to the backend on paste.

Now, obviously we don't want any random page to be able to write <img src="file:// ..."> to the clipboard, then trigger paste and steal the referenced local file. Ideally, the implementations should be able to deduce that the content is from a local application to be able to do this safely. I don't know if that is possible, certainly not if it's possible cross-platform.
Comment 1 Ben Peters 2014-11-06 00:17:05 UTC
This is an important scenario, but I don't think we need it for V1.