Граф коммитов

29013 Коммитов

Автор SHA1 Сообщение Дата
Gary Kwong 3d4182f4e1 Backed out changeset 4ee96b33d289, r=wrongAuthor 2012-07-23 14:00:36 -07:00
Gary Kwong e0de3d8739 Bug 776191 - Add missing case of 'with' deoptimization, r=dvander 2012-07-23 13:39:18 -07:00
Andrew McCreight e66fb39e3a Bug 773533 - import Element.h into XPConnect the right way. rs=Ms2ger 2012-07-23 15:38:30 -07:00
Steve Fink 5fc63bf34b Bug 776732 - Add more things to getBuildConfiguration(), r=luke 2012-07-23 15:30:21 -07:00
Brian Hackett 4ca65cbc22 Fix rooting hazard in eval cache, no bug. r=billm 2012-07-13 14:03:52 -06:00
Brian Hackett 41acc2836d Add more rooting for --enable-rootanalysis tbpl builds, bug 772303. r=terrence 2012-07-13 10:13:50 -06:00
Jan de Mooij 02c0826c25 Bug 773586 - Initialize PICGenInfo::pc and clean up ICs a bit. r=bhackett 2012-07-13 15:32:25 +02:00
Bobby Holley 95fef51c28 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Joshua Cranmer a1186c1020 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 6f2dea22ee 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 6ed1505aa3 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 9a6ac3a438 Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley 2012-07-23 15:58:41 -04:00
Luke Wagner d08031fe5d Bug 775684 - rm PND_TOPLEVEL (r=ejpbruel)
--HG--
extra : rebase_source : 90fed1498fc1e34d721afa5a3a4ba518ad0cf3c9
2012-07-23 11:09:59 -07:00
Luke Wagner a4d97b7caf Bug 775647 - rm PND_INITIALIZED (r=ejpbruel)
--HG--
extra : rebase_source : 214c973cbe96c290cabe17ca987886991a975c0e
2012-07-23 11:09:57 -07:00
Luke Wagner 2380a1cb6b Bug 775647 - simplify control flow in BindVarOrConst (r=ejpbruel)
--HG--
extra : rebase_source : f3e2cc1047c38cc26c99cccec7c3f128c74cb708
2012-07-23 11:09:10 -07:00
Bobby Holley d3085662ed Bug 773962 - Fix windows linkage bustage. r=me 2012-07-23 17:57:39 +02:00
Bobby Holley 8c8fbbde29 Bug 772288 - Waive Xray for target objects in Cu.import. r=mrbkap 2012-07-23 16:47:18 +02:00
Matthew Noorenberghe 99a07d6d64 Bug 772288 - Tests. r=bholley 2012-07-23 16:47:18 +02:00
Bobby Holley 9a11ba2635 Bug 773962 - Tests. r=mrbkap 2012-07-23 15:51:19 +02:00
Bobby Holley f747c53f93 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 3cf16c36ad Bug 773962 - Fix up waivers after transplanting. r=mrbkap 2012-07-23 15:51:18 +02:00
Bobby Holley 8c1b8fbc4b 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 982b82b516 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 b270bbc902 Backout deb1e2c80f84 (bug 770426) for causing bug 776503 on a CLOSED TREE 2012-07-23 14:28:32 +01:00
Ms2ger fa5bf4cd95 Bug 761510 - Followup: remove unused variable in opt builds. 2012-07-23 12:41:57 +02:00
Mike Hommey bb8a2b201b Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Mike Hommey 7cd0a9092a Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Makoto Kato 8cbbd5d19a Bug 775410 - Remove nsinstall.exe.manifest. r=khuey 2012-07-23 14:40:12 +09:00
Benjamin Peterson 323dca3e0d Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson 99aa02e215 Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
Benjamin Peterson 417eef5aea 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 baaa12ace9 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 20f40425e5 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 380d2ba82c Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky 0bb06f3e45 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 9a36e4253d Bug 775166 - Remove some ugly optimization in jsarray. r=bhackett 2012-07-21 13:06:37 +02:00
Tom Schuster 30e59a8d14 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 23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking 8538371ed0 Bug 774585: Fix xpc-sandbox creation code to create the correct principals. r=mrbkap 2012-07-21 00:29:40 -07:00
Gary Kwong 1711391e21 Bug 633828 - Remove bogus assert. r=luke
--HG--
extra : rebase_source : c397bc741e71169e10993866790b79e5193b6157
2012-07-20 22:53:17 -07:00
Gary Kwong b6cc0050fb 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 8cfca23402 Add test for bug 770952, take two. 2012-07-20 19:10:15 -07:00
Gary Kwong 6f5cbe1fe0 Backed out changeset 62d352e6a480 for breakage. 2012-07-20 19:54:58 -07:00
Gary Kwong 25a529d83b Add test for bug 770952. 2012-07-20 19:10:15 -07:00
Luke Wagner 683c38d890 Bug 775807 - Don't disassemble partially-compiled scripts (r=jimb)
--HG--
extra : rebase_source : 5179fd12faea43f227c8369bae4588d5adfebc7c
2012-07-20 17:16:14 -07:00
Bobby Holley 79ab421362 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Terrence Cole b87dfc1293 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 7260f3fa4e Bug 775801 - LambdaIsGetElem should optimize based on JSOP_GETALIASEDVAR, not JSOP_NAME (r=dvander) 2012-07-20 16:17:24 -07:00
Luke Wagner 0ec984411b Backout 970b733bd01d (bug 775801) due to tp5n bustage 2012-07-20 15:35:59 -07:00
Ryan VanderMeulen be774885eb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Luke Wagner e4618dcab6 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 c573675f63 No bug: class -> struct for compiler warning. r=dzbarsky 2012-07-20 15:58:18 -04:00
Olli Pettay 351f62a1d0 Bug 765947 - Preprocess the config file for generated events, r=khuey 2012-07-20 20:19:40 +03:00
Olli Pettay f4dd92a216 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonas Sicking c10568d0b9 Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir 2012-07-20 00:06:24 -07:00
Mounir Lamouri 1887aa86ce Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking 2012-07-19 20:28:08 -07:00
Benjamin Peterson 39c0df43d5 Bug 761723 - Add test for chrome toSource. r=bz
--HG--
extra : rebase_source : e4e41b30d2bdb73c8f48dd01a1ad8b974604978c
2012-07-20 20:20:09 +02:00
Benjamin Peterson 0a424b0867 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 7986d9113d 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 dfea65352c 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 78a5439268 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 0bc926303e Backout 189816733310 for Android bustage. 2012-07-20 11:07:44 -07:00
Nicholas Nethercote 33012c97dc 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 ec5336df47 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 568aa16b69 Bug 774933 - Forgot to prepare GC before finishing it (r=terrence) 2012-07-19 17:15:32 -07:00
Bill McCloskey e2ca5d0559 Bug 758408 - Fix XML slot handling (r=Waldo) 2012-07-19 16:56:14 -07:00
Mounir Lamouri 84f86ababe 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 dfcda357cb Backed out changeset afc1cf222996 2012-07-19 15:22:32 -07:00
Jason Orendorff cfdc879344 Bug 725907 - for-of improvements, part 4: Add .next() method to iterator objects and make for-of call it. r=bhackett. 2012-07-03 16:34:56 -05:00
Jason Orendorff 1e1b73d49c Bug 725907 - for-of improvements, part 3: Implement .iterator() for arraylike DOM objects. r=bzbarsky. 2012-07-03 16:34:56 -05:00
Jason Orendorff 82b55a13fe Bug 771027 - for-of semantics: convert the result of obj.iterator() to an object. r=bhackett. 2012-07-19 17:03:20 -05:00
Jason Orendorff 739a7738d1 Bug 725907 - for-of improvements, part 2: Make for-of loops just call .iterator() instead of using the magic iteratorObject hook with an extra flag. r=bhackett. 2012-07-03 16:34:56 -05:00
Jason Orendorff 14d700e6a7 Bug 725907 - for-of improvements, part 1: minor C++ refactoring, rename Iterator to PropertyIteratorObject. r=Waldo. 2012-07-03 16:34:40 -05:00
Jason Orendorff 2dbe336919 Bug 770854 - Put frontend code in the frontend namespace. r=njn. 2012-07-09 13:54:28 -05:00
Siddharth Agarwal f3842022cf Bug 774054 - Switch mochitest file $(INSTALL) to install_cmd. r=glandium
--HG--
extra : rebase_source : f01a7f0ab55c32256c641dbfa33024132ad0cc79
2012-07-20 01:07:10 +05:30
Mounir Lamouri 82bd7de2c9 Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Mounir Lamouri 61d9d40b3d Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri adfa6702cc Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-19 10:49:17 -07:00
Justin Lebar 488861592f Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Terrence Cole 84c4cce3bb Bug 772292 - Convert JSObject2WrappedJSMap to a new-style HashTable; r=mrbkap
--HG--
extra : rebase_source : a51ae61fde535ba18e84bec484509099101247ab
2012-07-07 16:11:54 -07:00
Jim Mathies 76c82f3b74 Bug 762519 - Send xpconnect stack dump output and javascript dump output to the win debugger when attached. r=ehsan, mrbkap 2012-07-19 09:58:44 -05:00
Rafael Ávila de Espíndola acf9bca19f Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium. 2012-07-19 09:20:46 -04:00
Makoto Kato bc868ccf9a Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg 2012-07-19 18:53:30 +09:00
Ed Morley c2d155cb67 Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri 49af88332c Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Mounir Lamouri f293eab524 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri 432f61b8f5 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07:00
Ryan VanderMeulen e3deb8235d Backout 61d052e202c8 (bug 647367) due to Windows bustage. 2012-07-18 22:33:41 -04:00
Nicholas Nethercote d99476d9dc Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
extra : rebase_source : 22311241bc356e2c724c28f4199cfa8008d594a9
2012-07-18 17:38:10 -07:00
Nicholas Nethercote f731484e03 Bug 771378 (part 4) - Follow-up to avoid an uninitialized variable. r=sfink.
--HG--
extra : rebase_source : 44f1456136324ae76f27077829faf546024bad11
2012-07-18 15:53:17 -07:00
Benjamin Peterson f480ac0a64 Bug 725702: support for of loops in Reflect.parse r=dherman 2012-07-18 18:14:15 -04:00
Luke Wagner 77c3bf67cc Bug 680562 - Remove CHECK_INTERRUPT_HANDLER (r=jimb) 2012-07-08 03:07:25 -07:00
Luke Wagner 7d3af7da1f Bug 761510 - rm JSFUN_NULL_CLOSURE (r=jimb) 2012-07-17 16:35:58 -07:00
Andrew McCreight de2697fb49 Bug 761831 - Be less ambitious in GetMemberInfo. r=bholley 2012-07-18 13:28:58 -07:00
Rafael Ávila de Espíndola b1d34774bf Bug 775134 - Remove extra ; r=ehsan.
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Ehsan Akhgari 0feb39d4e3 Merge mozilla-central into mozilla-inbound 2012-07-18 09:38:49 -04:00
Bobby Holley f3f5cd945c Bug 774245 - Remove unnecessary memset. r=mccr8 2012-07-18 14:56:54 +02:00
Brian Hackett 00392dc264 Treat known booleans like integers during bitops, bug 774812. r=jandem 2012-07-18 06:43:18 -06:00
Brian Hackett 7010399af9 Use distinct types and scripts for generic inner wrapper functions, bug 638794. r=jandem 2012-07-18 06:35:00 -06:00