Commit Graph

19794 Commits

Author SHA1 Message Date
Luke Wagner
ac1d2b2b9f Bug 776191 - Add missing case of 'with' deoptimization, r=dvander 2012-07-23 13:39:18 -07:00
Gary Kwong
75fe905ce4 Backed out changeset 4ee96b33d289, r=wrongAuthor 2012-07-23 14:00:36 -07:00
Gary Kwong
9c56bfaed4 Bug 776191 - Add missing case of 'with' deoptimization, r=dvander 2012-07-23 13:39:18 -07:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Steve Fink
1571904e6e Bug 776635 - Allow use of JSRootedObject using only external headers. r=billm
Currently, JS::Rooted<JSObject*> requires the full definition of JSObject to be available (due to RootMethods<JSObject*>::kind() calling JSObject::rootKind()). This patch switches to using a RootKind<T> template that is explicitly specialized in jspubtd.h for externally-visible pointer types, but still falls back on T::rootKind() for other pointer types so that we don't need to explicitly specialize on eg all subclasses of JSString or JSObject.

--HG--
extra : rebase_source : 138a859babc1aac60e61fe6f08089d8dbb4995d2
2012-07-18 14:32:39 -07:00
Steve Fink
c08c7c1e3b Bug 776632 - Implement testing function getBuildConfiguration. r=luke
The fuzzers currently infer the build configuration based on the presence or absence of various flags, and gkw noted that this will not work with JSGC_ROOT_ANALYSIS, so I thought it'd be nice to add something more direct. This is a stub set for now.

--HG--
extra : rebase_source : 0f1625a3d1c3e8cead17cd58e9f2cb0bc95817bd
2012-07-23 13:37:06 -07:00
Ehsan Akhgari
ed5670e57a Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley 2012-07-23 15:58:41 -04:00
Luke Wagner
6a7eb2d947 Bug 775684 - rm PND_TOPLEVEL (r=ejpbruel)
--HG--
extra : rebase_source : 90fed1498fc1e34d721afa5a3a4ba518ad0cf3c9
2012-07-23 11:09:59 -07:00
Luke Wagner
4bc4a22cd9 Bug 775647 - rm PND_INITIALIZED (r=ejpbruel)
--HG--
extra : rebase_source : 214c973cbe96c290cabe17ca987886991a975c0e
2012-07-23 11:09:57 -07:00
Luke Wagner
f0b88e9a9a Bug 775647 - simplify control flow in BindVarOrConst (r=ejpbruel)
--HG--
extra : rebase_source : f3e2cc1047c38cc26c99cccec7c3f128c74cb708
2012-07-23 11:09:10 -07:00
Bobby Holley
b48990d745 Bug 773962 - Fix windows linkage bustage. r=me 2012-07-23 17:57:39 +02:00
Bobby Holley
16e4b5b871 Bug 772288 - Waive Xray for target objects in Cu.import. r=mrbkap 2012-07-23 16:47:18 +02:00
Matthew Noorenberghe
649ea34449 Bug 772288 - Tests. r=bholley 2012-07-23 16:47:18 +02:00
Bobby Holley
6761975fd3 Bug 773962 - Tests. r=mrbkap 2012-07-23 15:51:19 +02:00
Bobby Holley
75f3cd7c86 Bug 773962 - Introduce Cu.recomputeWrappers. r=mrbkap
It's sort of annoying to add this API just for tests, but there's not another
great way to trigger a compartment-wide transplant with Xray waivers
(since setting document.domain doesn't recompute wrappers to/from chrome, and
Xray waivers will stop being accessible to content entirely in bug 742444).
2012-07-23 15:51:18 +02:00
Bobby Holley
3c7a723a9f Bug 773962 - Fix up waivers after transplanting. r=mrbkap 2012-07-23 15:51:18 +02:00
Bobby Holley
c85756fcc0 Bug 773962 - Refactor Xray waiving logic to allow simple lookups in the waiver map without creating a waiver. r=mrbkap 2012-07-23 15:51:18 +02:00
Bobby Holley
da19035a40 Bug 773962 - Add some asserts in the brain transplant code. r=billm
This catches the crash when the naughtiness happens, rather than later on.
2012-07-23 15:51:18 +02:00
Ed Morley
bc60033ff2 Backout deb1e2c80f84 (bug 770426) for causing bug 776503 on a CLOSED TREE 2012-07-23 14:28:32 +01:00
Ms2ger
b8bcc37434 Bug 761510 - Followup: remove unused variable in opt builds. 2012-07-23 12:41:57 +02:00
Mike Hommey
d3b70db257 Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Mike Hommey
a5d9a8f5e8 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Makoto Kato
a1614eb4d1 Bug 775410 - Remove nsinstall.exe.manifest. r=khuey 2012-07-23 14:40:12 +09:00
Benjamin Peterson
d334d9712c Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson
5354c0f330 Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
Benjamin Peterson
1e144ee5ad Bug 776200 - Reduce compression level as temporary fix for SunSpider regression. r=pierron
--HG--
extra : rebase_source : 7516bb18a5bbceca411d2053a5ff546cf0de27ec
2012-07-22 01:07:29 -07:00
Boris Zbarsky
9bb7bd33eb Bug 775317. Add a test for the JSOPTION_VAROBJFIX behavior of JS_EvaluateScript. r=jorendorff 2012-07-21 22:37:43 -04:00
Boris Zbarsky
db146aed28 Bug 765163 followup. Don't write DictionaryHelpers.h while generating DictionaryHelpers.cpp. r=build-bustage for checkin to CLOSED TREE 2012-07-22 01:17:38 -04:00
Jason Duell
fe2a88a9e3 Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
8aa2454089 Bug 775317. Add a test for the JSOPTION_VAROBJFIX behavior of JS_EvaluateScript. r=jorendorff 2012-07-21 22:37:43 -04:00
Tom Schuster
ead9f97837 Bug 775166 - Remove some ugly optimization in jsarray. r=bhackett 2012-07-21 13:06:37 +02:00
Tom Schuster
d81f8f9714 Bug 646599 - Constant folding should happen before deciding whether to turn obj[A] into obj.A. r=Waldo 2012-07-21 13:05:07 +02:00
Jonas Sicking
690071fc50 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking
ba50571c17 Bug 774585: Fix xpc-sandbox creation code to create the correct principals. r=mrbkap 2012-07-21 00:29:40 -07:00
Gary Kwong
ea913a6043 Bug 633828 - Remove bogus assert. r=luke
--HG--
extra : rebase_source : c397bc741e71169e10993866790b79e5193b6157
2012-07-20 22:53:17 -07:00
Gary Kwong
bab7afd6f5 Bug 632778 - Update tests to use test metalines instead, since they are in jit-test. 2012-07-20 23:03:56 -07:00
Gary Kwong
60274013f2 Add test for bug 770952, take two. 2012-07-20 19:10:15 -07:00
Gary Kwong
54288985db Backed out changeset 62d352e6a480 for breakage. 2012-07-20 19:54:58 -07:00
Gary Kwong
2daf3e2b00 Add test for bug 770952. 2012-07-20 19:10:15 -07:00
Luke Wagner
24a7ebc815 Bug 775807 - Don't disassemble partially-compiled scripts (r=jimb)
--HG--
extra : rebase_source : 5179fd12faea43f227c8369bae4588d5adfebc7c
2012-07-20 17:16:14 -07:00
Terrence Cole
7bd9f009d0 Bug 764962 - Add a verifier mode for GenerationalGC post barriers; r=billm
This adds a store buffer which is enabled with --enable-gcgenerational and new
verifier modes 11 & 12 corresponding to pre-barrier verifier modes 4 & 5 when
enabled.

--HG--
extra : rebase_source : 9333a9e24a448865199c0d6f84f222c081b5611e
2012-06-20 18:48:56 -07:00
Luke Wagner
7ce06b3c12 Bug 775801 - LambdaIsGetElem should optimize based on JSOP_GETALIASEDVAR, not JSOP_NAME (r=dvander) 2012-07-20 16:17:24 -07:00
Luke Wagner
6c18556e02 Backout 970b733bd01d (bug 775801) due to tp5n bustage 2012-07-20 15:35:59 -07:00
Ryan VanderMeulen
7ad11464cb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Luke Wagner
c6ad094b0d Bug 775801 - LambdaIsGetElem should optimize based on JSOP_GETALIASEDVAR, not JSOP_NAME (r=dvander)
--HG--
extra : rebase_source : 5995e62a63b47aa4abf88d8f16a2226bd9a991f1
2012-07-20 13:56:33 -07:00
Benjamin Peterson
79250d6a4c No bug: class -> struct for compiler warning. r=dzbarsky 2012-07-20 15:58:18 -04:00
Olli Pettay
205c93c929 Bug 765947 - Preprocess the config file for generated events, r=khuey 2012-07-20 20:19:40 +03:00
Olli Pettay
2280255d92 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
c992398490 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonas Sicking
ae7e96692e Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir 2012-07-20 00:06:24 -07:00