dom/base/nsJSUtils.cpp
3967231c7021738d27fd7097724ea1e02e72aecc
created 2017-05-24 18:28 +0000
pushed 2017-05-25 00:45 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1366773 - Move buffer argument from JS::StartIncrementalEncoding to JS::FinishIncrementalEncoding. r=mrbkap,shu
4d4a187ac1150f57bced2a8f73399d09ff01eefa
created 2017-04-21 16:57 +0000
pushed 2017-04-22 00:30 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 900784 part 1.0 - Add nsJSUtils functions for encoding and decoding the bytecode. r=mrbkap
7dee6ff041fe99439e28aefa39c7ded8d3f530a3
created 2017-03-23 10:55 +0000
pushed 2017-03-23 23:15 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1349618 - Guard ExecutionContext::mSamplerRAII with the MOZ_GECKO_PROFILER macro. r=njn
4e48165f8c8ef0388aebfc3356bcfcea4898896f
created 2017-03-22 13:42 +0000
pushed 2017-03-23 00:10 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1331662 part 2 - Replace nsJSUtils::EvaluateString calls by ExecutionContext scopes. r=bz
b6a142776feedad9e7a00f66aab85310435c4348
created 2017-03-22 13:42 +0000
pushed 2017-03-23 00:10 +0000
Nicolas B. Pierron Nicolas B. Pierron - Bug 1331662 part 1 - Reimplement EvaluateString using the ExecutionContext class. r=bz
0f5505bf10d26af2841ac99767677405334f7e59
created 2016-10-13 12:10 -0400
pushed 2016-10-14 09:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1306472. Back out bug 1268047, because the spec it tried to implement backs the web. r=smaug
ae5048d88722c268e16bdfb88142af199bd71ac9
created 2016-08-26 11:09 +0100
pushed 2016-08-26 23:20 +0000
Jon Coppeard Jon Coppeard - Bug 1295978 - Eagerly instantiate module dependencies r=bkelly
10eaa43fad01e1e7328828b154e0b14074f97b3e
created 2016-08-11 14:39 +0200
pushed 2016-08-12 20:45 +0000
Jan de Mooij Jan de Mooij - Bug 1292892 part 6 - Remove nsContentUtils::RootingCx. r=bz
717184f2678e716b237a331128182869da72f943
created 2016-07-19 09:19 +0200
pushed 2016-07-20 09:21 +0000
Jan de Mooij Jan de Mooij - Bug 1286159 - Clean up FinishOffThread* APIs for off-thread parsing. r=jonco
958a6ec2d7c0996925b23a0d0d85109609e31b66
created 2016-07-07 20:08 -0400
pushed 2016-07-08 09:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley
09b99113f95471769212a99b7fddb7651d7d2664
created 2016-06-09 12:42 +0200
pushed 2016-06-10 13:39 +0000
Andrea Marchesini Andrea Marchesini - Bug 1278816 - Move Performance API into dom/performance, r=smaug
aaebaccae0a2c9595c3009f08cdb4c84ad82d4b4
created 2016-06-07 20:30 +0200
pushed 2016-06-08 09:58 +0000
Jan de Mooij Jan de Mooij - Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
33274da6962d2e3edb18c874a662f7db09f9e878
created 2016-06-02 10:34 -0400
pushed 2016-06-03 10:00 +0000
Boris Zbarsky Boris Zbarsky - Bug 1276276 part 5. Change AutoCxPusher to not worry about nsIScriptContext, since its JSContext never has one anymore. r=smaug
9c3411213ac7e9fec81f44c97655dfa4ea814eb9
created 2016-05-27 20:26 -0400
pushed 2016-05-30 13:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey
ce020eaf0e1e350ada9aea1c0922cd2d475f3cf6
created 2016-05-27 09:53 -0400
pushed 2016-05-30 13:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1275999 part 5. Get rid of GetDefaultScopeFromJSContext. r=bholley
44a8024b450ff138569767474e58d30823bf4eb9
created 2016-05-09 22:25 -0400
pushed 2016-05-10 10:06 +0000
Boris Zbarsky Boris Zbarsky - Bug 1268047 part 3. Remove the now-unused coerce-to-string option from nsJSUtils::EvaluateOptions. r=peterv
fb8c2718089ea97c4bbb8b2a57e1e471c0d7a945
created 2016-05-07 12:46 +0100
pushed 2016-05-09 09:18 +0000
Jon Coppeard Jon Coppeard - Bug 1240072 - Add nsJSUtils methods for creating and instantiating modules r=sicking
a45a6cde6558c0ed0797a29818eec13c4e0e2196
created 2016-03-23 11:44 -0400
pushed 2016-03-24 15:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2b83147ead2695427cd346eb80cf8c33a2210ba7
created 2016-03-09 11:20 +0100
pushed 2016-03-15 09:43 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 1251308; r=luke
82e7e34cedc5698a219cc9275deafd7bdc2be9e1
created 2016-03-11 23:59 -0500
pushed 2016-03-12 20:24 +0000
Boris Zbarsky Boris Zbarsky - Bug 1255201. Improve the stack handling in nsXPCComponents_Utils::ReportError for the DOMException case to include the stack from the DOMException. r=bholley
f0afcff63e38ae44fe4d44592c45cc4f8db5d013
created 2016-03-10 01:50 -0800
pushed 2016-03-11 15:51 +0000
Kyle Huey Kyle Huey - Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz
e22b3043887ed36bf2c634c2924a7c8d39d226b1
created 2016-01-30 09:05 -0800
pushed 2016-01-31 01:09 +0000
Kyle Huey Kyle Huey - Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
4f02780c73e3a60ce44d423bcf004aa77bf4195b
created 2016-01-15 18:26 -0600
pushed 2016-01-17 19:40 +0000
Luke Wagner Luke Wagner - Bug 1239601 - improve the UniquePtr situation (r=jandem)
21c99c452631f95877858fbbeb56a284fd0d6d7b
created 2015-11-03 09:28 -0800
pushed 2015-11-04 11:00 +0000
Bobby Holley Bobby Holley - Bug 1220682 - Clear exceptions on single-arg init. r=bz
e69ce64116c958526612f7e12e0a7051816f0a5f
created 2015-09-01 17:56 -0700
pushed 2015-09-02 11:53 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1200484 (part 4) - Expose the column number in nsJSUtils::GetCallingLocation(). r=mrbkap.
382365abacdec3ca2558667f37ef0aab7a7c929f
created 2015-06-15 00:44 -0700
pushed 2015-08-25 00:37 +0000
Ted Clancy Ted Clancy - Bug 1172609 - Part 6: Add nsJSUtils::ResetTimeZone() function. r=ehsan
ed167ab170037e97ffc2e51325436ad458a87d56
created 2015-07-09 02:41 -0400
pushed 2015-07-09 15:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley
026ce2bd75de74adf09794e32d40ad0467b6621f
created 2015-06-15 20:11 -0400
pushed 2015-06-16 14:11 +0000
Boris Zbarsky Boris Zbarsky - Bug 1174486 part 4. Stop reporting exceptions in nsJSUtils::EvaluateString and have its consumers use AutoJSAPIs that take ownership of error reporting instead. r=bholley
77406f36aa868bd2f18586eca2da9856ac8fc34b
created 2015-06-15 20:10 -0400
pushed 2015-06-16 14:11 +0000
Boris Zbarsky Boris Zbarsky - Bug 1174486 part 3. Eliminate the unused codepath on which EvaluateOptions::reportUncaught is false. r=bholley
8717afeef3c68e6631b68239ac795dc392f6e446
created 2015-05-29 19:11 +0300
pushed 2015-05-29 20:58 +0000
Olli Pettay Olli Pettay - Bug 1149891, backout bug 1081038 because it made us run mutation observer callbacks against the spec, part 2, r=bholley
bd079aadd3feeee3f9b9f73c5e0bc4bd6a870722
created 2015-05-03 15:32 -0400
pushed 2015-05-04 11:42 +0000
Andrew McCreight Andrew McCreight - Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
398df560c211dbdbb3874c0993dff60755c3108e
created 2015-02-19 14:16 -0500
pushed 2015-02-20 14:15 +0000
Dave Huseby Dave Huseby - Bug 1115375 - [JSAPI] Add nsAutoJSString::Init that doesn't require a JSContext. r=bholley
d8541085a5d5db35923abaf900aded4b1e1a3a3e
created 2015-01-06 15:50 -0500
pushed 2015-01-07 03:24 +0000
Bobby Holley Bobby Holley - Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug
a3a485cf8fda0c97d77882614adbf9bd591fe235
created 2015-01-06 15:24 -0500
pushed 2015-01-07 03:24 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out changeset 9035e4de3c03 (bug 1117851) for suspicion of causing Linux32 dromaeo DOM regressions (bug 1118257).
9035e4de3c038aadba2a78a3927be5a48fab69ab
created 2015-01-05 13:53 -0800
pushed 2015-01-06 15:53 +0000
Bobby Holley Bobby Holley - Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug
296c052ea50b91f52231f5f8a689e8b0feeadb83
created 2014-11-26 14:25 -0500
pushed 2014-11-27 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace
2ccb583117552dec895df1af5b31418e3ae2354e
created 2014-11-18 23:27 -0500
pushed 2014-11-19 12:36 +0000
Boris Zbarsky Boris Zbarsky - Bug 1100579 part 1. Remove the overloads of JS::Evaluate that don't take an rval mutable handle, and control the behavior via the JS::CompileOptions instead. r=waldo,bholley
e6fdb771bce0482f65b7058d35706fb6e8df4350
created 2014-11-18 11:01 -0500
pushed 2014-11-19 02:08 +0000
Boris Zbarsky Boris Zbarsky - Bug 1100580 part 2. Get rid of EvaluateOptions::needResult, since we can use JS::CompileOptions::noScriptRval (with the opposite meaning, but same default behavior) for this purpose. r=bholley
c46d86623e15265b09054a385211de53d37973b4
created 2014-11-18 11:01 -0500
pushed 2014-11-19 02:08 +0000
Boris Zbarsky Boris Zbarsky - Bug 1100580 part 1. Drop support for having an off-thread compilation token and wanting a script rval from nsJSUtils::EvaluateString, since we never need that in practice. r=bholley
044d2a98a497a39f7df5b502043c4eacb440a8b1
created 2014-11-14 16:46 +0100
pushed 2014-11-14 22:48 +0000
Gabor Krizsanits Gabor Krizsanits - Bug 1081038 - part2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley
dc7656eaaa5edfae52839b43e4436730479999a9
created 2014-11-13 11:48 +0100
pushed 2014-11-13 15:21 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 9243c59c3e56 (bug 1081038)
9243c59c3e567f71e84945f49d12b2e216521890
created 2014-11-13 09:50 +0100
pushed 2014-11-13 15:21 +0000
Gabor Krizsanits Gabor Krizsanits - Bug 1081038 - part 2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley
c9b063da756283ed0ccb0d75e5daa26b0769ceb3
created 2014-11-12 17:04 -0500
pushed 2014-11-13 01:03 +0000
Boris Zbarsky Boris Zbarsky - Bug 1095660 part 5. Change nsJSUtils::EvaluateString to take an explicit scope chain. r=bholley
c884f8186efcf3d984c59dbc6b3c787e061031fc
created 2014-10-30 17:40 -0400
pushed 2014-10-31 20:14 +0000
Boris Zbarsky Boris Zbarsky - Bug 1088228 part 2. Create an nsJSUtils API for building the scope chain for a given Element. r=peterv
a37fedd51b7d388a8401467c3fbb020cd8c2b2a1
created 2014-10-30 16:24 -0700
pushed 2014-10-31 13:09 +0000
Wes Kocher Wes Kocher - Backed out 6 changesets (bug 1088228) for static analysis bustage
920d50e84a17f9198e05b559314751da78b1bcf5
created 2014-10-30 17:40 -0400
pushed 2014-10-31 13:09 +0000
Boris Zbarsky Boris Zbarsky - Bug 1088228 part 2. Create an nsJSUtils API for building the scope chain for a given Element. r=peterv
5a80bffd16edf6a212e3415577f0cd9ab839c8c5
created 2014-10-25 00:50 -0400
pushed 2014-10-26 16:40 +0000
Boris Zbarsky Boris Zbarsky - Bug 1083648 part 3. Change nsJSUtils::CompileFunction to take an explicit scope chain vector, not just a single scope object, and pass in the right objects in CompileEventHandlerInternal. r=bholley
ca047d5fafbaa39595026bb73e011e69610736aa
created 2014-10-12 19:37 +0200
pushed 2014-10-13 04:19 +0000
Tom Schuster Tom Schuster - Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
ed7e4dde009b2e29ed05b05f32592edba5016b19
created 2014-09-29 15:34 +0200
pushed 2014-09-29 18:57 +0000
Bobby Holley Bobby Holley - Bug 1070842 - Move nsJSUtils::CompileFunction (and consequently event handler compilation and XBL compilation) off of nsJSUtils::ReportPendingException. r=bz
18ffee30e06a9c90ce52123749f59b25bbddd7c7
created 2014-08-21 17:13 -0700
pushed 2014-08-22 23:47 +0000
Bobby Holley Bobby Holley - Bug 981218 - Stop using default compartment objects in nsJSUtils.cpp. r=bobowen
25fff355894f5c443be8e13ecb8428836b563ac2
created 2014-08-19 12:02 -0700
pushed 2014-08-20 13:28 +0000
Bobby Holley Bobby Holley - Bug 796938 - Remove GetDynamicScriptContext API. r=smaug
abc88c4f9bb7739eb77df547b0b4bfb58623f93d
created 2014-08-19 12:02 -0700
pushed 2014-08-20 13:28 +0000
Bobby Holley Bobby Holley - Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug
621470d025e717313e6e0645258cd0330694c779
created 2014-08-18 10:57 -0700
pushed 2014-08-19 12:40 +0000
Bobby Holley Bobby Holley - Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm
69d0a773505e1f8a7d3bc75ddb09c1af920f87e0
created 2014-08-13 15:39 -0700
pushed 2014-08-14 07:35 +0000
Seth Fowler Seth Fowler - Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
830b491a8fa36f617a79247eeb4773fd0a718639
created 2014-06-25 15:35 -0700
pushed 2014-07-01 23:43 +0000
Steve Fink Steve Fink - Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
b83af60025b875f93b83cde0237d78f432937a04
created 2014-05-23 17:12 -0400
pushed 2014-06-01 03:37 +0000
Victor Porof Victor Porof - Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
3855870ea3afb59aba20f086800fcb3e610ace9d
created 2014-04-25 10:11 -0400
pushed 2014-04-25 19:54 +0000
Ben Kelly Ben Kelly - Bug 987556 Part 4 Use JS::SourceBufferHolder in nsJSUtils::EvaluateString(). r=bz
833ff3a90b83d66dd56a1def7807e21e338fe0ab
created 2014-04-01 11:34 +0100
pushed 2014-04-01 20:44 +0000
Jon Coppeard Jon Coppeard - Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
70108e99c116f6f2e7eee8b3f2c4e5254ea426d3
created 2014-03-26 10:59 -0300
pushed 2014-03-27 00:57 +0000
Bobby Holley Bobby Holley - Bug 979481 - Don't depend on the default global for the SafeJSContext in nsJSUtils::ReportPendingException. r=bz
9f41c59d6a59f8f0241c14b9b63d00902a54d958
created 2014-03-17 16:17 +0000
pushed 2014-03-18 05:39 +0000
Jon Coppeard Jon Coppeard - Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz
less more (0) -100 -60 tip