Chromium Code Reviews
DescriptionRemove spurious call to captureStackTrace.
Just creating an Error object is sufficient on FF,
Chrome, Safari, and Edge. Note that captureStackTrace
was not supported by other browsers so those browsers
were going down the even slower path of throwing an
exception.
BUG=
R=vsm@google.com
Committed: https://github.com/dart-lang/sdk/commit/f3c33b047d5dee4d57c867f7a28500c18570c28a
Patch Set 1 #Patch Set 2 : Optimize StackTrace.current Eliminate redundant call to captureStackTrace and compute the stack tra… #Messages
Total messages: 5 (2 generated)
|