Boris Zbarsky
5d2ae0a555
Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. r=waldo
2015-03-09 12:50:08 -04:00
Boris Zbarsky
8a4d4838fb
Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. r=waldo
2015-03-09 12:50:05 -04:00
Boris Zbarsky
dcb007a0d8
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Boris Zbarsky
5d69db0b28
Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo
2015-03-09 12:49:50 -04:00
Phil Ringnalda
d5d934be28
Merge f-t to m-c, a=merge
2015-03-07 19:38:53 -08:00
Paolo Amadini
f638425f9d
Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz
2015-03-07 13:30:34 +00:00
Boris Zbarsky
f0ef2a86aa
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Jon Coppeard
186408ba66
Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley
2015-03-06 10:19:07 +00:00
Boris Zbarsky
19d83a360f
Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug
2015-03-06 01:08:06 -05:00
Jason Orendorff
f9c659ca6c
Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : e712f5faf1463a447e52153c556605bb9552e990
2015-02-05 16:36:50 -06:00
Jason Orendorff
29bfe274bb
Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc
Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Jason Orendorff
18470d8d6a
Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak.
...
--HG--
extra : rebase_source : 40887fe2375350b3b183aff2a24e17053b02d349
2015-02-28 09:17:43 -06:00
Jason Orendorff
85abad51f2
Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
...
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
L. David Baron
8de963d8ad
Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
...
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
Boris Zbarsky
05aaddd360
Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley
2015-03-06 16:33:31 -05:00
Boris Zbarsky
6523d4990f
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Jon Coppeard
0edff16cda
Bug 1138874 - Change ReparentWrapper() to avoid multiple JS objects pointing to the same native r=bholley
2015-03-05 13:39:53 +00:00
Andrew McCreight
e54e14a49d
Bug 1139216 - Add BUG_COMPONENT information for js/xpconnect/. r=bholley
2015-03-04 14:07:59 -08:00
Ehsan Akhgari
c5cbd265c3
Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper
2015-03-04 01:31:08 -05:00
Ehsan Akhgari
0857b0109c
Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky
2015-03-04 01:30:47 -05:00
Boris Zbarsky
b3a7aa44f6
Bug 1137591 part 2. Throw if someone does Cu.importGlobalProperties in a Window scope. r=bholley
2015-03-03 21:01:58 -05:00
Boris Zbarsky
84cb117bc7
Bug 1137591 part 1. Get rid of SandboxCreateXMLHttpRequest and just use the normal XHR constructor in sandboxes if someone asks for XHR there. r=bholley
2015-03-03 21:01:58 -05:00
Boris Zbarsky
a5316a236e
Bug 1137578. Remove JS_GetParent usage from mozJSSubscriptLoader. r=bholley
2015-03-03 07:12:01 -05:00
Boris Zbarsky
d9cb8e8309
Bug 1131797 part 3. Store the object we originally come from in a reserved slot on XPConnect functions instead of using the parent pointer. r=bholley
2015-03-03 07:12:01 -05:00
Boris Zbarsky
b90fad0b12
Bug 1131797 part 2. Stop storing the XPCNativeInterface* in XPConnect function objects and just get it from the XPCNativeMember* we're still storing. r=bholley
2015-03-03 07:12:01 -05:00
Boris Zbarsky
ff2c755d8f
Bug 1131797 part 1. Store an index into its XPCNativeInterface mMembers array in each XPCNativeMember. r=bholley
2015-03-03 07:12:00 -05:00
Nicolas B. Pierron
605350eb82
Bug 1010556 - Bump ASAN kTrustedScriptBuffer constant, to account for the new frame size. r=bholley
...
--HG--
extra : amend_source : 5f927a03e42f4739dc17b19d6c39020c5331a5f9
2015-03-02 14:33:14 -08:00
Jon Coppeard
a451fdfd83
Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug
2015-03-02 13:31:15 +00:00
Boris Zbarsky
b4fd367105
Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley
2015-02-27 11:46:58 -05:00
Boris Zbarsky
99220f0b5e
Bug 1137325
. Remove the parent() function from xpcshell. r=mrbkap
2015-02-27 11:46:58 -05:00
Jan de Mooij
db18ff3df9
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Boris Zbarsky
9a9a31209e
Bug 1131803 - Comment fix followup.
2015-02-26 16:33:02 -05:00
Boris Zbarsky
db8c6eb30d
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly.
2015-02-26 15:58:59 -05:00
Boris Zbarsky
f027a773ea
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
0981ef8007
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
84b402dc8a
Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley
2015-02-26 15:58:59 -05:00
Wes Kocher
4917048615
Backed out changeset 4ef990c3d69d (bug 1131803) for potentially busting mochitest-e10s-dt on a CLOSED TREE
2015-02-26 23:20:33 -08:00
Wes Kocher
83a7bcab58
Backed out changeset b590778549ab (bug 1131803)
2015-02-26 23:19:57 -08:00
Wes Kocher
f657cd0135
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
Wes Kocher
b6d7cdb29f
Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE
2015-02-26 23:17:00 -08:00
Wes Kocher
390b01dc2e
Backed out changeset d7d9bbfa72c5 (bug 674779) for m-bc orange on a CLOSED TREE
2015-02-26 17:55:37 -08:00
Boris Zbarsky
d19843290b
Bug 1131803 comment fix followup. DONTBUILD
2015-02-26 16:33:02 -05:00
David Rajchenbach-Teller
8d0fc0855c
Bug 674779 - Add per-compartment CPU accounting. r=jandem, r=blassey, r=bz
2015-02-26 11:53:41 +01:00
Boris Zbarsky
04443966d0
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
8552abcc45
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
14d7853fb4
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
e84e448ba9
Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley
2015-02-26 15:58:59 -05:00