Revision: 22225
Author: [email protected]
Date: Mon Jul 7 07:23:41 2014 UTC
Log: Wrap captureStackTrace in a try-catch when constructing an error.
[email protected]
Review URL: https://codereview.chromium.org/370993003
http://code.google.com/p/v8/source/detail?r=22225
Modified:
/branches/bleeding_edge/src/messages.js
=======================================
--- /branches/bleeding_edge/src/messages.js Wed Jul 2 14:18:10 2014 UTC
+++ /branches/bleeding_edge/src/messages.js Mon Jul 7 07:23:41 2014 UTC
@@ -1189,7 +1189,7 @@
if (!IS_UNDEFINED(m)) {
%AddProperty(this, 'message', ToString(m), DONT_ENUM);
}
- captureStackTrace(this, f);
+ try { captureStackTrace(this, f); } catch (e) { }
} else {
return new f(m);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.