Jan de Mooij
c703269e05
Bug 1389776 - Use a proxy wrapper object for CTypes arrays instead of getProperty/setProperty Class hooks. r=jorendorff
2017-08-16 13:18:57 +02:00
Jan de Mooij
87a9dd501c
Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba
2017-07-25 13:22:11 +02:00
Jon Coppeard
0aa81c4072
Bug 1380030 - Simplify and refactor use of isMarked*() methods r=sfink
2017-07-12 18:31:55 +01:00
Jon Coppeard
6bd6e31dbf
Bug 1380030 - Refactor isMarked() methods into separate methods for each color and any r=sfink
2017-07-12 18:31:55 +01:00
Jan de Mooij
e959a1182a
Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie,sfink
2017-07-11 11:31:12 +02:00
Carsten "Tomcat" Book
0603cbc370
Backed out changeset 3a0a2ffe803b (bug 1379461) for hazard failure
2017-07-11 12:59:09 +02:00
Jan de Mooij
a2a13185d4
Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie
2017-07-11 11:31:12 +02:00
Jon Coppeard
29e80998cd
Bug 1377368 - Support allocating foreground finalized proxies in the nursery r=sfink
2017-06-30 17:31:11 -07:00
Jan de Mooij
4afba77787
Bug 1375505 part 1 - Change iterator code to return JSObject* instead of returning bool + outparam. r=evilpie
2017-06-28 21:00:43 -07:00
Jon Coppeard
0d79f62202
Bug 1368446 - Fix gray marking assertion failures by calling ExposeObjectToActiveJS in UncheckedUnwrap r=sfink
2017-06-07 09:51:26 +01:00
Ting-Yu Chou
3d1aeca6cd
Bug 1363956 - Check the flag before calling relatively expensive IsWindowProxy(). r=bz
...
Check the stopAtWindowProxy flag before checking IsWindowProxy(), since the flag
check is cheaper and in performance-sensitive binding code the flag is false.
MozReview-Commit-ID: 8R4tElYBXaI
2017-05-11 11:29:34 +08:00
Jeff Walden
627acf1203
Bug 1351107 - Make jscompartment.h and GlobalObject.h not #include builtin/RegExp.h, to address yet more thorny cyclic dependency issues in subsequent patches. r=arai
2017-04-20 00:23:28 -07:00
Jon Coppeard
1690b0506c
Bug 1345177 - Remove use of RegExpGuard r=sfink
2017-03-27 10:38:29 +01:00
Jon Coppeard
0e4519c04f
Backed out changeset 2c8aea7a6fa9 (bug 1349637) for intermittent assertion failures
2017-03-28 10:34:26 +01:00
Jon Coppeard
f2dc766532
Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards
2017-03-27 11:09:54 +01:00
Jon Coppeard
08352c6c76
Bug 1345177 - Remove use of RegExpGuard r=sfink
2017-03-27 10:38:29 +01:00
Jon Coppeard
33b9b70842
Bug 1349637 - Don't expose wrapper targets r=sfink
2017-03-23 09:59:24 +00:00
Tooru Fujisawa
dc8030d923
Bug 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. r=jandem
2017-02-08 23:04:57 +09:00
Brian Hackett
bb30557e05
Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp.
2017-02-02 12:12:43 -07:00
Tom Schuster
879c0fbb5b
Bug 1320199 - Add a function for throwing permission denied errors. r=arai
2016-11-30 16:06:06 +01:00
Terrence Cole
47460ae3e6
Bug 1298773 - Expose wrappees that may be used through a wrapper r=jonco a=abillings
2016-09-14 14:17:46 -07:00
Tooru Fujisawa
a33ab4d32a
Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink
2016-09-11 18:15:23 +09:00
Terrence Cole
f74e8ad606
Backed out changeset ac1ae4224375 (Bug 1298773) for JP failures on a CLOSED TREE.
2016-09-23 10:58:56 -07:00
Terrence Cole
232118063a
Bug 1298773 - Expose wrappees that may be used through a wrapper; r=jonco
2016-09-14 14:17:46 -07:00
Tom Schuster
88135ce2c1
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Sebastian Hengst
e94cdb56c3
Backed out changeset 6e043a8ce335 (bug 996060) for cgc test failure in testCall.js. r=backout
2016-05-22 00:00:13 +02:00
Nick Fitzgerald
e57b0b4195
Bug 996060 - Part 1: Save a stack on JSContext::setPendingException; r=sfink
...
This commit captures the JS stack in `JSContext::setPendingException` and
exposes a new JSAPI function for getting the stack:
`JS::GetPendingExceptionStack`. This stack is cleared out when the pending
exception is cleared.
2016-05-21 10:15:24 -07:00
Steve Fink
50c2f28940
Bug 1273639 - Fix nonunified spidermonkey builds, r=terrence
2016-05-19 11:27:57 -07:00
Jeff Walden
dc74c68ba5
Bug 1269928 - Fold DirectProxyHandler into Wrapper, which is now its only (non-test) consumer. r=efaust
2016-05-03 17:29:10 -07:00
Shu-yu Guo
9d41955815
Bug 912337 - Prohibit debugger code from re-entering debuggee code. (r=jimb)
2016-02-19 13:46:07 -08:00
Jan de Mooij
24de1247fd
Bug 1125423 part 3 - Use IsWindow/IsWindowProxy functions instead of checking for Class hooks. r=bz
2015-11-06 19:03:52 +01:00
Jan de Mooij
eae167fd59
Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz
2015-11-06 19:03:52 +01:00
Jason Orendorff
c2e41c4309
Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
2015-03-20 14:03:24 -05:00
Wes Kocher
acbbcd2aca
Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
...
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Jason Orendorff
8e474554fe
Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
2015-03-20 14:03:24 -05:00
Jan de Mooij
c6596c5fa8
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706
Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Jan de Mooij
b3f1ff13a2
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Boris Zbarsky
316d6bea29
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
ff09c61895
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Wes Kocher
64ff21e8a1
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky
c3a0cd16a1
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
0d229e715e
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Jim Blandy
f56bed2fe1
Bug 1075591: Make js::gc::TenuredCell::asTenured return a TenuredCell &, not a TenuredCell *. r=terrence
2014-10-02 10:19:11 +01:00
Nicolas B. Pierron
cb753ff627
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Bobby Holley
45ddb1c704
Bug 1065811 - Fix some soon-to-be rooting hazards. r=billm
...
When we starting forwarding isCallable and isConstructor over CPOWs, calls that
could potentially invoke this proxy trap can now GC.
2014-09-25 13:13:27 +02:00
Terrence Cole
020442a721
Bug 1068223 - Clean up the Cell hierarchy; r=jonco
2014-09-17 10:32:37 -07:00
Eric Faust
a75e6b2b4b
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Eric Faust
d68021c5cc
Bug 1031092 followup - Give up on moving jsproxy.h and jswrapper.h; fix bustage on a CLOSED TREE. (r=BurningManWasLastWeekRight?)
2014-09-09 14:31:20 -07:00