Closed Bug 1261586 Opened 8 years ago Closed 8 years ago

Facebook.com pasting image data doesn't work in Firefox

Categories

(Core :: DOM: Core & HTML, defect)

45 Branch
x86_64
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 906420
Tracking Status
firefox48 --- affected

People

(Reporter: flaki, Unassigned)

References

()

Details

(Keywords: DevAdvocacy, Whiteboard: btpp-fixlater[DevRel:P2][platform-rel-Facebook])

Facebook.com in messaging views allows the pasting of arbitrary image data from the clipboard (like PrintScreen button captures), and sends them to the recipient as an image upon pasting (Ctrl-V works, as does right-click + Paste).

Facebook does only seem to offer this functionality to Chrome (it even works in Edge!) - but not in Firefox (tested in dev. edition). Firefox surely supports the API, though, as other sites (like Twitter's tweet editor) do support image data pasting in Firefox, too.
Much like https://bugzilla.mozilla.org/show_bug.cgi?id=1200697#c3, it's possible we're missing some platform support here.

ni? Hallvord to poke at that, he's most familiar with issues related to clipboard APIs.
Flags: needinfo?(hsteen)
Indeed, that comment applies here too. They could use a hack to work around our lack of sufficient API support (but I'd really like to see us ship the missing parts instead..)
Flags: needinfo?(hsteen)
I was able to reproduce this in Firefox 45. As reported it works fine in Chrome but not in Firefox.

STR:
1) Find a cat picture and copy to clipboard
2) Navigate to: https://www.facebook.com/messages/
3) Find a contact and click on the 'Write a Reply' text field
4) Paste picture from clipboard into text field

Expected Behavior:
Image upload begins

Actual Behavior:
Nothing
Blocks: 891247
Component: Desktop → DOM
Product: Tech Evangelism → Core
Version: Firefox 48 → 45 Branch
I'm tempted to make this a dupe of bug 891247 but let's leave it open in case there's work to be done on their side after we fix bug 891247.

("fixlater" means "sooner than backlog but now a super-urgent regression or crasher")
No longer blocks: 891247
Depends on: 891247
Whiteboard: btpp-fixlater
Whiteboard: btpp-fixlater → btpp-fixlater[DevRel:P2]
Flags: platform-rel?
platform-rel: --- → ?
platform-rel: ? → +
Whiteboard: btpp-fixlater[DevRel:P2] → btpp-fixlater[DevRel:P2] [platform-rel-Facebook]
platform-rel: + → ?
Whiteboard: btpp-fixlater[DevRel:P2] [platform-rel-Facebook] → btpp-fixlater[DevRel:P2][platform-rel-Facebook]
I guess this one is no longer relevant since the messaging moved to the messaging app..
This now works for me on desktop in nightly [50.0a1 (2016-07-14)] on Windows 10.
platform-rel: ? → +
Duping (during P-R triage)
Status: NEW → RESOLVED
Closed: 8 years ago
platform-rel: + → ---
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.