Tooru Fujisawa
8f6310e25c
Bug 1708450 - Move call and construct functions into js/public/CallAndConstruct.h. r=nbp
...
Depends on D119619
Differential Revision: https://phabricator.services.mozilla.com/D119620
2021-07-13 11:52:43 +00:00
Simon Giesecke
7c6ccbe4a8
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-05 15:29:49 +00:00
Alexandru Michis
8c28934f09
Backed out changeset c6b72f3c76ba (bug 1676361) for causing bustages in nsSocketTransportService2.cpp
...
CLOSED TREE
2021-03-04 23:26:04 +02:00
Simon Giesecke
e41d350c04
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 17:30:48 +00:00
Noemi Erli
11891059f7
Backed out changeset 06452c4c828c (bug 1676361) for causing bustages CLOSED TREE
2021-03-04 19:13:56 +02:00
Simon Giesecke
6c371fcc1c
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 16:14:44 +00:00
smolnar
9f8b74a18d
Backed out changeset 9062e17fe15c (bug 1676361) on devs request. CLOSED TREE
2021-03-04 16:51:21 +02:00
Simon Giesecke
e1330cc8f0
Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 14:32:15 +00:00
Simon Giesecke
de7bab0f06
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Sylvestre Ledru
6f45c666bc
Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14595
--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Jan de Mooij
594a3aa6d4
Bug 1475177 - Change sendCommand xpcshell function to only accept plain JSFunction callbacks. r=evilpie
2018-07-16 14:02:16 +02:00
Noam Schmitt
9ae09abe58
Bug 1342032 - Remove useless a "using" declaration in TestShellParent.cpp r=bholley
2017-02-23 14:24:48 +01:00
Tooru Fujisawa
1ef63c4562
Bug 1290337 - Part 18: Replace Value parameter to const Value& in ipc. r=smaug
2016-09-11 18:15:24 +09:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Boris Zbarsky
36d4079be7
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Boris Zbarsky
bf4428afdd
Bug 1254860. Switch the AutoEntryScript TestShellCommandParent::RunCallback to taking ownership of error reporting. r=bholley
...
There's no one expecting a pending exception from this method.
2016-03-09 15:29:17 -05:00
Boris Zbarsky
d0363ce0e6
Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley
2016-03-09 15:28:26 -05:00
Jim Blandy
ebd83c9a61
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
...
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Jon Coppeard
12ae93f10e
Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent
2015-01-23 10:23:57 +00:00
Bobby Holley
e3eca2660e
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Bob Owen
6f898cd915
Bug 1047509 - Part 13: Replace AutoCxPusher in TestShellCommandParent::RunCallback. r=bholley
2014-08-08 14:01:25 +01:00
Ehsan Akhgari
5b0272c079
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Josh Aas
23e8d13927
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
2014-05-02 13:44:13 -05:00
Jon Coppeard
dae8d1e277
Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley
2014-04-16 09:47:57 +01:00
Jon Coppeard
735137fc57
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
c3759c40ff
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Bobby Holley
418823ee23
Bug 951847 - Push a cx in TestShellParent. r=gabor
2014-01-01 19:23:55 -08:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
8ce53f9ffd
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Bobby Holley
98a0425f0f
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
055a4a328f
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
David Zbarsky
bd69568121
Bug 885804: Renaming in js/layout/ipc r=roc
2013-07-08 11:48:39 -04:00
David Anderson
71e7bc4fc9
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
2d21f2b922
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Boris Zbarsky
ac87784e7f
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Bobby Holley
cbb2e81909
Bug 868110 - Remove JS_GetGlobalObject from the IPC test-shell. r=luke
...
This one is easy to infer, because we subsequently call JS_CallFunctionValue,
which asserts that cx, obj, and fval are all same-compartment. So assuming
this code doesn't compartment mismatch right now, this should be equivalent.
2013-05-22 15:42:44 -06:00
David Zbarsky
bbad01caed
Bug 867459: Rooting fixes for ipc r=terrence
2013-05-03 17:49:47 -04:00
Jose Cortes
172ead2b07
Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
...
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Luke Wagner
ad90af9ca5
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
David Mandelin
3588ac5aae
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Josh Matthews
9e0c52e51a
Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
2011-06-23 19:31:58 -04:00
Luke Wagner
f1c2cdd326
Bug 684526 - Unify jsval and js::Value (r=jorendorff)
...
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Chris Jones
339106b788
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Gregor Wagner
e132154a8d
compilation fix
2010-09-30 00:47:44 -07:00