Skip to content

Conversation

ejn
Copy link
Contributor

@ejn ejn commented Jan 16, 2015

In Firefox an exception "Window.getComputedStyle does not implement interface Element" was being raised when the MouseWheel event was outside the map, due to the traverse up the tree winding up at the document object (which naturally doesn't implement the Element interface!).

This error was swallowed in the try-catch block and so did not bubble up to the user, but trying to use Firebug and stop on all errors then it becomes noticeable.

No changes required in the test-suite (which passes!).

In Firefox an error "does not implement interface Element" was
being raised when the MouseWheel event was outside the map, due
to the traverse up the tree winding up at the document element.

This error was caught in the try-catch block and so did not
bubble up to the user, but trying to use Firebug and stop on
all errors then it caused some irritation.
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.

1 participant