This PR tries to fix exceptions from Firefox which doesn't fill the attribute items properly and the access to the property items is undefined. The previous check clipboardData.items !== null was true and was causing invalid access to the items array.
This PR tries to fix exceptions from Firefox which doesn't fill the attribute items properly and the access to the property
items
is undefined. The previous checkclipboardData.items !== null
was true and was causing invalid access to the items array.