fix(browser): Capture stacktrace on `DOMExceptions`, if possible (#4160)
fix(browser): Capture stacktrace on `DOMExceptions`, if possible (#4160)

Inspired by https://github.com/getsentry/sentry-javascript/pull/4156 - h/t @nowylie.

According to the spec[1], all `DOMExceptions` should also be `Error`s (and therefore potentially have a stacktrace), though this isn't universally followed. In the cases in which it is, we should be capturing that stack.

Fixes https://github.com/getsentry/sentry-javascript/issues/4085
Fixes https://github.com/getsentry/sentry-javascript/issues/3119

[1] https://webidl.spec.whatwg.org/#es-DOMException-specialness
getsentry/raven-js,getsentry/raven-js,getsentry/raven-js,getsentry/raven-js