react-dnd / react-dnd-html5-backend

HTML5 backend for React DnD [Legacy Repo]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dragging plain text in Firefox gives a 'Permission denied to access property "types"' error.

jrobbs opened this issue · comments

Currently using react-dnd-html5-backend version 2.1.2 and when I attempt to drag plain text i get the following error in the console:

Error: Permission denied to access property "types"
Stack trace:
matchNativeItemType@http://localhost:3000/vendor.js:146674:8
handleTopDragStart@http://localhost:3000/vendor.js:146203:23
EventListener.handleEvent*addEventListeners@http://localhost:3000/vendor.js:145968:6
setup@http://localhost:3000/vendor.js:145954:6
handleRefCountChange@http://localhost:3000/vendor.js:150435:8
dispatch@http://localhost:3000/vendor.js:56888:8
addSource@http://localhost:3000/vendor.js:99625:6
registerSource@http://localhost:3000/vendor.js:150034:19
receiveType@http://localhost:3000/vendor.js:99327:31
receiveProps@http://localhost:3000/vendor.js:99317:8
componentDidMount@http://localhost:3000/vendor.js:99299:8
notifyAll@http://localhost:3000/vendor.js:100376:10
close@http://localhost:3000/vendor.js:159318:6
closeAll@http://localhost:3000/vendor.js:50949:12
perform@http://localhost:3000/vendor.js:50896:12
perform@http://localhost:3000/vendor.js:50883:14
perform@http://localhost:3000/vendor.js:20726:13
flushBatchedUpdates@http://localhost:3000/vendor.js:20809:8
close@http://localhost:3000/vendor.js:20684:8
closeAll@http://localhost:3000/vendor.js:50949:12
perform@http://localhost:3000/vendor.js:50896:12
perform@http://localhost:3000/vendor.js:20726:13
flushBatchedUpdates@http://localhost:3000/vendor.js:20809:8
close@http://localhost:3000/vendor.js:20684:8
closeAll@http://localhost:3000/vendor.js:50949:12
perform@http://localhost:3000/vendor.js:50896:12
perform@http://localhost:3000/vendor.js:20726:13
flushBatchedUpdates@http://localhost:3000/vendor.js:20809:8
closeAll@http://localhost:3000/vendor.js:50949:12
perform@http://localhost:3000/vendor.js:50896:12
batchedUpdates@http://localhost:3000/vendor.js:158253:15
batchedUpdates@http://localhost:3000/vendor.js:20734:11
_renderNewRootComponent@http://localhost:3000/vendor.js:101478:6
_renderSubtreeIntoContainer@http://localhost:3000/vendor.js:101559:22
render@http://localhost:3000/vendor.js:101580:13
@http://localhost:3000/app.bundle.js:463952:2
webpack_require@http://localhost:3000/vendor.js:551:12
fn@http://localhost:3000/vendor.js:99:20
@http://localhost:3000/app.bundle.js:7:19
webpack_require@http://localhost:3000/vendor.js:551:12
webpackJsonpCallback@http://localhost:3000/vendor.js:22:20
@http://localhost:3000/app.bundle.js:1:1

After some searching the only reference to this problem I have seen is from this stackoverflow answer.

I'm running into this issue as well. Only Firefox users, including the latest version 60.

Readable stack trace:
https://sentry.io/share/issue/2fa6ae00ad814a6590df50e063bba823/