I’m doing some doc updates that include touching the docs for PromiseRejectionEvent, and have run into a snag – I can’t get example code that uses this to work. It acts as if the event doesn’t exist, even though I’ve set the preference to true in about:config as documented. Instead, I just get a basic “uncaught exception: foo” message on the console even though I’ve called window.addEventListener(‘unhandledrejection’, …).
Anyone ideas what’s up?
Eric Shepherd
Senior Technical Writer
Mozilla
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy