mozilla/servo — pull request #1304 by Ms2ger (2013-11-23 18:59:29+00:00)
Title: Report exceptions to JS when the DOM implementation fails.

As a bonus, adds some debugging statements.

This is better than the status-quo–uncatchable exceptions–but we should also implement `DOMException` soonish.