Paste event e.clipboardData.types not working with Firefox #27616
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
This code fails with Firefox (e is a paste event):
h.DataTransfer data = e.clipboardData; if (data.types.contains('text/html')) { ... }
Error:
TypeError: t1.contains$1 is not a function
This looks like a bug in dart2js (
getInterceptor
does not recognizeDOMStringList
).Using Firefox 49.0 and Dart 1.20.1.
The text was updated successfully, but these errors were encountered: