Commit Graph

40 Commits

Author SHA1 Message Date
Boris Zbarsky
538e69f63d Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
c685ec72ad Bug 857648 part 3. Switch from using JS::DescribeStack to JS::CaptureCurrentStack for producing JSStackFrames. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
aee6256f21 Bug 857648 part 2. Split JSStackFrame into a generic class and a JS-specific class. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
1f19de6028 Bug 857648 part 1. Remove unnecessary code that tries to filter out non-JS stack frames from a known-JS-only stack. r=khuey 2014-07-04 01:25:15 -04:00
Jan de Mooij
29b2d13e94 Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence 2014-07-12 09:43:06 +02:00
Carsten "Tomcat" Book
2b96ad9a31 Backed out changeset 97708994eae6 (bug 857648) 2014-07-04 08:23:37 +02:00
Carsten "Tomcat" Book
362be5f5ca Backed out changeset b617c11c9476 (bug 857648) 2014-07-04 08:23:35 +02:00
Carsten "Tomcat" Book
0860f3621e Backed out changeset 04b06ee60ebf (bug 857648) 2014-07-04 08:23:34 +02:00
Carsten "Tomcat" Book
4c088305f3 Backed out changeset e4dd7f8cf275 (bug 857648) 2014-07-04 08:23:32 +02:00
Boris Zbarsky
b4fdd35537 Bug 857648 part 4. Add a formattedStack attribute on nsIStackFrame. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
dd908642fb Bug 857648 part 3. Switch from using JS::DescribeStack to JS::CaptureCurrentStack for producing JSStackFrames. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
d38c157620 Bug 857648 part 2. Split JSStackFrame into a generic class and a JS-specific class. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
f00b467362 Bug 857648 part 1. Remove unnecessary code that tries to filter out non-JS stack frames from a known-JS-only stack. r=khuey 2014-07-04 01:25:15 -04:00
Bob Owen
0ac4ef8e6d Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-07-02 11:26:49 +01:00
Benoit Jacob
1a1cc411ff Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Bobby Holley
e76375b0e6 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Boris Zbarsky
c6a5fb4be3 Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley 2014-04-16 15:13:41 -04:00
Ryan VanderMeulen
dfb622525e Backed out 3 changesets (bug 996474, bug 996831) for B2G bustage on a CLOSED TREE.
Backed out changeset 8f98a4c2257f (bug 996831)
Backed out changeset 7acce569bd84 (bug 996831)
Backed out changeset 1845b09c7578 (bug 996474)
2014-04-16 19:31:41 -04:00
Boris Zbarsky
7aa72892e5 Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley 2014-04-16 15:13:41 -04:00
Boris Zbarsky
34e0756678 Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Boris Zbarsky
7038a736e9 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
172c0446fa Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley 2014-04-08 18:27:19 -04:00
Luke Wagner
95b94fb1eb Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Boris Zbarsky
30b2700eab Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley 2014-01-29 22:33:03 -08:00
Andrea Marchesini
8054b36c42 Bug 620935 - Make console object available in Web Workers, r=ehsan, r=bz 2014-01-26 12:35:17 +00:00
Andrea Marchesini
982b9946ab Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Boris Zbarsky
f34e63fcba Bug 932837 followup. Don't use AutoJSContext in JSStackFrame, since we use that code on workers too. r=bholley pending, but landing now to fix the CLOSED TREE. 2014-01-08 01:00:57 -05:00
Boris Zbarsky
319c00dd7b Bug 932837 part 4. Allocate the caller JSStackFrames lazily. r=khuey 2014-01-07 19:53:18 -05:00
Boris Zbarsky
a3c5efa374 Bug 932837 part 3. Make JSStackFrame get information from the JS stack lazily. r=khuey 2014-01-07 19:53:18 -05:00
Boris Zbarsky
b90683e91c Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence 2014-01-07 19:53:17 -05:00
Boris Zbarsky
949752a3ce Bug 932837 part 1. Make FrameDescription compute the line number lazily. r=jandem 2014-01-07 19:53:17 -05:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Olli Pettay
05466579d2 Bug 932886 - Stop doing slow getService bits in dom::GetCurrentJSStack, r=bz 2013-11-01 14:55:35 +02:00
Tom Schuster
ce701cf26f Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Deian Stefan
1f5d2eef71 Bug 919209 - Throw re-reports exception onto context. r=bholley 2013-10-09 14:43:15 -07:00
Kyle Huey
f5e6b2cef0 Bug 914014: Use WrapObject to wrap nsIExceptions rather than manual XPConnect gunk. r=bz 2013-09-23 11:35:09 +08:00
Jon Coppeard
dffe7f475b Bug 917798 - Handlify JS exception APIs r=terrence r=bz 2013-09-19 08:54:01 +01:00
Kyle Huey
7bf860132d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Kyle Huey
6a6c67829f Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00