Open
Bug 439189
Opened 17 years ago
Updated 5 years ago
REF:Ability to paste image to a Design Mode area
Categories
(Core :: DOM: Editor, enhancement, P5)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: BijuMailList, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #437966 +++
Provide feature to paste images in a webmails like GMail, Y!Mail etc.
and online-office packages like GoogleDoc.
Test Case 1 Steps:-
1. open MS-Paint
2. Draw something
3. Select all and Copy
4. goto http://www.mozilla.org/editor/midasdemo/
5. paste clipboard content using Ctrl+V (or Shift-Insert)
Result:
Noting happens
Expected:
Image pasted using data: URL or something
http://www.ietf.org/rfc/rfc2397.txt
Test Case 2 Steps:-
1. goto a site with SVG image
like http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-painting-fill-01-t.html
2. Select image and Copy
3. goto http://www.mozilla.org/editor/midasdemo/
4. paste clipboard content using Ctrl+V (or Shift-Insert)
Result:
Text content of SVG get pasted
Expected:
A pop shown asking in which format SVG should be pasted.
* as SVG image
* as JPG image
* as PNG image
* as APNG image
* as a linked SVG image
* as text
@Biju @Jo:
- Where will the image be stored?
- What about the security conserns?
(In reply to comment #2)
> - Where will the image be stored?
in a data url, also webdeveloper will be able to access it using dataTransfer/clipboardData object in onpaste event Bug 407983.
> - What about the security conserns?
What are your concerns? I only see same security concerns as the Clipboard access security issues Bug 407983, and the file property access security issues in Bug 390776
Comment 4•15 years ago
|
||
See also bug 490879 for a related issue.
Comment 5•5 years ago
|
||
Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.
If you have reason to believe, this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•