Closed Bug 842361 Opened 12 years ago Closed 12 years ago

nsIClipboard's clearClipboard doesn't clear the clipboard on Windows

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jimm, Assigned: jimm)

References

Details

Attachments

(1 file, 1 obsolete file)

We call nsBaseClipboard's ClearClipboard to free the internal transferable, but we don't clear the Windows clip board. This can cause problems when writing tests for things like context menus, which have different state depending on the result of HasDataMatchingFlavors. HasDataMatchingFlavors asks Windows if the clip has the data type.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → jmathies
Attached patch patchSplinter Review
Attachment #715207 - Attachment is obsolete: true
Attachment #715208 - Flags: review?(netzen)
Comment on attachment 715208 [details] [diff] [review] patch Review of attachment 715208 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #715208 - Flags: review?(netzen) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Is there an easy way to test this? If not, I'll let developers verify.
Depends on: 883554
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: