Commit Graph

19781 Commits

Author SHA1 Message Date
Bobby Holley
b883b8e23d Bug 773962 - Tests. r=mrbkap 2012-07-23 15:51:19 +02:00
Bobby Holley
7aff4cee81 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
bb2b0385f8 Bug 773962 - Fix up waivers after transplanting. r=mrbkap 2012-07-23 15:51:18 +02:00
Bobby Holley
3ed1397a75 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
7416947043 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
fb53aeec33 Backout deb1e2c80f84 (bug 770426) for causing bug 776503 on a CLOSED TREE 2012-07-23 14:28:32 +01:00
Ms2ger
a8f6c0da42 Bug 761510 - Followup: remove unused variable in opt builds. 2012-07-23 12:41:57 +02:00
Mike Hommey
112c562b7e Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Mike Hommey
2b582f939d Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Makoto Kato
ce9fde99be Bug 775410 - Remove nsinstall.exe.manifest. r=khuey 2012-07-23 14:40:12 +09:00
Benjamin Peterson
48b39e2d5c Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson
34a152c641 Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
Benjamin Peterson
347bc3508b 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
82de772364 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
2bd828e57a 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
00135ee99f Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
5a986a8212 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
c36e194290 Bug 775166 - Remove some ugly optimization in jsarray. r=bhackett 2012-07-21 13:06:37 +02:00
Tom Schuster
3d069f17f2 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
68ce0e34aa Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking
240b15860e Bug 774585: Fix xpc-sandbox creation code to create the correct principals. r=mrbkap 2012-07-21 00:29:40 -07:00
Gary Kwong
b5ae0d1ff5 Bug 633828 - Remove bogus assert. r=luke
--HG--
extra : rebase_source : c397bc741e71169e10993866790b79e5193b6157
2012-07-20 22:53:17 -07:00
Gary Kwong
0f8656ed35 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
3a1f87a91c Add test for bug 770952, take two. 2012-07-20 19:10:15 -07:00
Gary Kwong
fe1e93394a Backed out changeset 62d352e6a480 for breakage. 2012-07-20 19:54:58 -07:00
Gary Kwong
dcba5b6f49 Add test for bug 770952. 2012-07-20 19:10:15 -07:00
Luke Wagner
32ea9cb6b9 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
5086044b0f 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
6bea3866d1 Bug 775801 - LambdaIsGetElem should optimize based on JSOP_GETALIASEDVAR, not JSOP_NAME (r=dvander) 2012-07-20 16:17:24 -07:00
Luke Wagner
ad00687a85 Backout 970b733bd01d (bug 775801) due to tp5n bustage 2012-07-20 15:35:59 -07:00
Ryan VanderMeulen
2661c4efbe Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Luke Wagner
b7f981a9d5 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
42e6e53063 No bug: class -> struct for compiler warning. r=dzbarsky 2012-07-20 15:58:18 -04:00
Olli Pettay
e326bb73c3 Bug 765947 - Preprocess the config file for generated events, r=khuey 2012-07-20 20:19:40 +03:00
Olli Pettay
d4c22e1e8d Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonas Sicking
b0b6c14ad5 Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir 2012-07-20 00:06:24 -07:00
Mounir Lamouri
15fad48685 Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking 2012-07-19 20:28:08 -07:00
Benjamin Peterson
0d217352e9 Bug 761723 - Add test for chrome toSource. r=bz
--HG--
extra : rebase_source : e4e41b30d2bdb73c8f48dd01a1ad8b974604978c
2012-07-20 20:20:09 +02:00
Benjamin Peterson
fb272e1622 Bug 761723 - Add a runtime hook to retrieve source that wasn't saved. r=luke
--HG--
extra : rebase_source : de2e88f79e1e2a4a75ff5c5b296dbae052e4b076
2012-07-20 20:19:17 +02:00
Benjamin Peterson
0710b8034e Bug 761723 - Add a context option to only save source for compileAndGo and function body scripts. r=jornedorff
--HG--
extra : rebase_source : d4637dfe967c0ea398bb4b08fa6f9955b14ff528
2012-07-20 20:19:02 +02:00
Benjamin Peterson
78a339dd91 Bug 761723 - Add memory reporting for script sources. r=njn
--HG--
extra : rebase_source : 5f2cdb960f29829e9da19bbe137a810f456cc7fc
2012-07-20 20:18:08 +02:00
Benjamin Peterson
d1064385b3 Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Terrence Cole
395f9bd8e0 Backout 189816733310 for Android bustage. 2012-07-20 11:07:44 -07:00
Nicholas Nethercote
1cf6ff22a5 Bug 773533 (part 1) - Skip XBL nodes when looking for orphan DOM nodes. r=mccr8,smaug.
--HG--
extra : rebase_source : 0dd533b41b1ebd73bcd83852c01cd9a64adbc26a
2012-07-18 21:10:36 -07:00
Steve Fink
0701e084e5 Bug 775365 - Fill out the rooting API. r=billm
- add external type JSHandleString
 - add external type JSMutableHandleValue
 - allow converting a MutableHandle -> Handle
 - add MutableHandle::fromMarkedLocation()
 - make a non-const AudoVectorRooter::handleAt() that returns a MutableHandle
2012-07-18 14:31:24 -07:00
Bill McCloskey
6bedbce8db Bug 774933 - Forgot to prepare GC before finishing it (r=terrence) 2012-07-19 17:15:32 -07:00
Bill McCloskey
483224b99d Bug 758408 - Fix XML slot handling (r=Waldo) 2012-07-19 16:56:14 -07:00
Mounir Lamouri
19b289e5df Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Steve Fink
fe7cf7ba30 Backed out changeset afc1cf222996 2012-07-19 15:22:32 -07:00