这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@thebuilder
Copy link
Contributor

I've seen a few cases where IE11 throws this error:

Unable to get property 'toLowerCase' of undefined or null reference

See full example on Sentry: https://sentry.io/share/issue/f02ceb35bf504436a21a60c08154341d/

The e.target.nodeName in onInitialPointerMove is undefined, so attempting to read it throws an error.

This pull request adds an extra guard that checks if nodeName exists, before calling toLowerCase().

@robdodson
Copy link
Collaborator

LGTM. Restarting the travis build to see if i can make it happy.

@robdodson robdodson merged commit 7ca7f9c into WICG:master Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants