Page MenuHomePhabricator

Find out whether any browser supported by MediaWiki needs TraceKit's "rethrow to window.onerror" logic for stack traces
Closed, DeclinedPublic

Description

[[ https://github.com/getsentry/raven-js/blob/master/vendor/TraceKit/tracekit.js#L38 | TraceKit.report() ]] contains logic that re-throws the exception and catches it via window.onerror; supposedly, this improves error reporting in some IE version, but they don't mention which. This logic might be problematic for ResourceLoader integration; find out whether it's actually needed for any IE version supported by MediaWiki.

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
DeclinedNone
DeclinedTgr
Resolved jlinehan
DeclinedNone
DeclinedNone
ResolvedTgr
Resolved Gilles
ResolvedTgr
ResolvedTgr
Resolved csteipp
ResolvedTgr
DeclinedTgr
DeclinedTgr
ResolvedTgr
ResolvedTgr
ResolvedTgr
ResolvedTgr
Resolved jcrespo
ResolvedAklapper
ResolvedTgr
ResolvedTgr

Event Timeline

Tgr claimed this task.
Tgr raised the priority of this task from to High.
Tgr updated the task description. (Show Details)
Tgr added subscribers: Aklapper, Legoktm, Tgr, Krinkle.
Tgr lowered the priority of this task from High to Lowest.Apr 3 2015, 6:26 AM

Raven actually surpresses this behavior since it catches again the exception that TraceKit tries to rethrow. So no practical significance.