Closed Bug 549349 Opened 14 years ago Closed 14 years ago

file drop URIs only accidentally work

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a3
Tracking Status
status1.9.2 --- .2-fixed
status1.9.1 --- .9-fixed

People

(Reporter: Gavin, Assigned: Gavin)

Details

(Keywords: verified1.9.0.19, verified1.9.1, verified1.9.2)

Attachments

(1 file)

The security check we do in dragDropSecurityCheck doesn't explicitly allow drops of file URIs - they just happen to work because in most cases the source document is null. We should fix that to avoid problems in the future.
Attached patch patchSplinter Review
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #429551 - Flags: review?(dtownsend)
Attachment #429551 - Flags: review?(dtownsend) → review+
https://hg.mozilla.org/mozilla-central/rev/66b74d46682e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a2
Target Milestone: mozilla1.9.3a2 → mozilla1.9.3a3
Comment on attachment 429551 [details] [diff] [review]
patch

Wouldn't hurt to get this on branches too.
Attachment #429551 - Flags: approval1.9.2.2?
Attachment #429551 - Flags: approval1.9.1.9?
Attachment #429551 - Flags: approval1.9.0.19?
Comment on attachment 429551 [details] [diff] [review]
patch

a=beltzner for 1.9.2.2, 1.9.1.9. 1.9.0.19
Attachment #429551 - Flags: approval1.9.2.2?
Attachment #429551 - Flags: approval1.9.2.2+
Attachment #429551 - Flags: approval1.9.1.9?
Attachment #429551 - Flags: approval1.9.1.9+
Attachment #429551 - Flags: approval1.9.0.19?
Attachment #429551 - Flags: approval1.9.0.19+
How can qa verify this?  also, are there unit tests?
Patch was fixed in another bug that has been marked verified on verified1.9.0.19, verified1.9.1, verified1.9.2.   resolving here also.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: