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

32312 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 049679e9aa Merge fx-team to m-c. 2012-11-02 15:45:53 -04:00
Panos Astithas 337aa842bf Implement Debugger.removeAllDebuggees for efficient debugger shutdown (bug 740551); r=jimb,jorendorff 2012-11-02 18:30:23 +02:00
Bill McCloskey 31bd861fa8 Bug 807535 - Avoid toggling Ion write barrier too often (r=sstangl) 2012-11-01 08:08:21 -07:00
Axel Hecht 029c5c9d55 bug 797745, use l10n-base and relativesrcdir instead of config.mk for l10n-merge, r=ted
--HG--
extra : rebase_source : 0d280e5cfabe7efdbe112309da6ef87d3848c441
2012-11-01 13:25:53 +01:00
Nicolas B. Pierron ba9899d3fc Bug 807035 - Skip guard insertion if there is no proto. r=dvander 2012-10-31 18:55:33 -07:00
Eric Faust cb08b981d4 Check to make sure compilations haven't been invalidated (bug 799803, r=pierron). 2012-10-31 18:41:56 -07:00
David Anderson 72bd0337eb Respect object's extensibility in addprop ICs (bug 805747, r=djvj). 2012-10-31 16:23:53 -07:00
Sean Stangl 5c455346de Bug 800617 - Fix some ARM-specific uber-nits. r=mjrosenb 2012-10-31 15:41:20 -07:00
Rafael Ávila de Espíndola 7330a180a0 Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
Kyle Huey 0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Bill McCloskey d5bc363b29 Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Jan de Mooij 6f6860c9af Bug 802809 - Assert PRESET LDefinitions are not followed by instructions with fixed uses. r=dvander 2012-10-31 16:27:00 +01:00
Jan de Mooij 723c0d0266 Bug 801831 - Don't mark EnterJIT thunk if it's NULL. r=dvander 2012-10-31 14:04:18 +01:00
Tom Schuster dc7288d8a6 Bug 805222 - Change some usages of GetFunctionId to GetFunctionDisplayId for better JS stacktrace. r=bholley,robcee 2012-10-31 13:34:42 +01:00
Peter Van der Beken 649ff82d77 Test for bug 798264. 2012-10-12 12:48:25 +02:00
Bill McCloskey 85004a8d19 Bug 739681 - Allow DumpHeapComplete to print unreachable objects (r=mccr8) 2012-11-02 12:24:19 -07:00
Geoff Brown f0a2aa9f36 Bug 799863 - Fix paths so check-one-remote can find mozdevice; r=wlach 2012-11-02 13:19:54 -06:00
Ed Morley 982b0d39e4 Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html 2012-11-02 14:12:51 +00:00
Robert O'Callahan 0fecd165f2 Bug 807237. Add 'data' parameter to JS_StealArrayBufferContents. r=sfink
--HG--
extra : rebase_source : 5c9fe8f9b09ac63f3e130e7ff3418301f868cb8d
2012-11-02 23:42:59 +13:00
Robert O'Callahan 629f20cb90 Bug 807212. Call TypedArray methods instead of accessing slots directly. r=sfink
--HG--
extra : rebase_source : 05af21bea8caf6d80bb3f97762d559f21e0c4157
2012-11-02 23:42:58 +13:00
Robert O'Callahan 10682d00c0 Bug 807223 - Implement JS_ArrayBufferViewBuffer. r=sfink
This is really sfink's patch, but we wrote basically the same code and the
review looks better this way.

--HG--
extra : rebase_source : 90d52ff6c9b7050abde98fa582984c88fa909f0c
2012-10-30 21:26:32 -07:00
Bobby Holley 6559feed97 Bug 805807 - Rearchitect filtering policies so that check() doesn't throw on denial. r=mrbkap
This is another one of those annoying situaitons in XPConnect right now where we
can't ask a question without potentially throwing if the answer is no. There's
also a bunch of unused cruft in here (like the Perm*Access stuff), so this stuff
was ripe for a spring cleaning. Unfortunately, I wasn't able to divide this patch
up nicely. Sorry for the big diff. :-(

In a nutshell, this patch changes things so that Policy::check() just becomes
a predicate that says whether the access is allowed or not. There's the remote
possibility that one of the underlying JSAPI calls in a ::check() implementation
might throw, so callers to ::check() should check JS_IsExceptionPending
afterwards (this doesn't catch OOM, but we can just continue along until the
next OOM-triggering operation and throw there).

Aside from exceptional cases, callers should call Policy::deny if they want to
report the failure. Policy::deny returns success value that should be returned
to the wrapper's consumer.
2012-11-02 13:27:59 +01:00
Bobby Holley f485a6c791 Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
There's really no reason to use the wishy-washy static COW Deny() here.

Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Vicamo Yang a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Andrew McCreight 6d19137a54 Bug 806433 - Make mReleaseRunnable a ref ptr. r=smaug 2012-10-30 20:01:31 -07:00
Tony Young 870d76ed15 Bug 806643 - Negate doubles by flipping signed bit. r=sstangl 2012-10-30 14:59:06 -07:00
Rafael Ávila de Espíndola 66233c13f2 Bug 803707 - Don't assume pointers are 64 bits. r=Waldo.
Use reinterpret_cast.
2012-10-30 17:38:13 -04:00
Jonas Sicking 00c5245c10 Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir 2012-10-30 22:24:41 +01:00
William Lachance 158ce952a1 Bug 799863 (1/3) - Make sure remote xpcshell tests can find mozdevice;r=gbrown
---
 config/makefiles/xpcshell.mk        |    1 +
 js/src/config/makefiles/xpcshell.mk |    1 +
 testing/testsuite-targets.mk        |    1 +
 3 files changed, 3 insertions(+)
2012-10-16 16:28:49 -04:00
Boris Zbarsky a14a96d2cf Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Nicolas B. Pierron e4f99bbb02 Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-30 13:51:43 -07:00
Terrence Cole a80f8cc0af Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Ehsan Akhgari b5b5481a56 Backed out 2 changesets (bug 805883, bug 787703) because of Windows PGO bustage on non-profiling builds
Backed out changeset 792a91b91020 (bug 805883)
Backed out changeset e1c7f5195704 (bug 787703)

--HG--
extra : rebase_source : 725029fbf5e34ae198bd9f4cde53593e8f373392
2012-10-30 16:17:29 -04:00
Bobby Holley cfc92feb20 Bug 804630 - Tests for exposing prototype properties on a derived object. r=mrbkap 2012-10-30 18:29:11 +01:00
Kyle Huey 9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey c52440cc57 Bug 798491: Followup bustage fix. 2012-10-30 08:42:47 -07:00
Kyle Huey 50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Phil Ringnalda 63dd764b66 Back out 4770ab40cdb6 (bug 804064) for bustage 2012-10-29 22:59:21 -07:00
Nicolas B. Pierron 98f2dbaadf Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-29 22:31:20 -07:00
Bill McCloskey fa7b3aa811 Bug 806644 - Back out 782072 (r=terrence)
--HG--
extra : rebase_source : ac0be1c64b09a18d9617ccae0a6e015f0b14b797
2012-10-29 17:34:59 -07:00
Nicolas B. Pierron 344f3f5f31 Bug 792631 - Add IC for missing properties. r=dvander 2012-10-29 15:17:06 -07:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Daniel Holbert 9850a666d9 Bug 806442: Remove unused variable "slot" from Compiler::markUndefinedLocal. r=billm 2012-10-29 13:40:20 -07:00
Hannes Verschore 87a6dd92fb Bug #807380: Report to the compiler the function is constructing when entering at a branch, r=dvander 2012-11-02 11:45:25 +01:00
Shu-yu Guo f70dbc0250 Bug 807525 - Have embedjs.py append newlines when not present. (r=till) 2012-11-01 23:40:38 -07:00
David Anderson 6b1639d999 Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). 2012-11-01 21:35:25 -07:00
Luke Wagner 555fb4ae35 Bug 805294 - Don't use the RegExpShared cache to track all live RegExpShareds (r=billm) 2012-11-01 21:27:07 -07:00
Nicholas Nethercote 0a726cdb19 Bug 806283 - Split up and add native iterators to "object/misc" memory reports. r=jorendorff.
--HG--
extra : rebase_source : 867e178d0c921de9e144fb274e1c0d77c8845b81
2012-11-01 16:51:04 -07:00
Hannes Verschore d83c5899ef Bug 806793: disable hoisting shape guards after bailing because of a shape guard, r=jandem 2012-11-02 00:36:50 +01:00
Peter Van der Beken 669602b5e0 Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Jan de Mooij 9706084776 Bug 800179 - Initialize CallArgsList::active_ in the constructor. r=luke
--HG--
extra : rebase_source : a540b9484db012813d5fd0f960bdb2d83baeeeaf
2012-10-29 19:00:53 +01:00
Bobby Holley 4ff3e34794 Bug 803068 - Remove toBaseProxyHandler and toWrapper. r=ejpbruel
--HG--
extra : rebase_source : 1224e016033c57ec9fbf970fc5eabb2904386529
2012-10-29 16:52:54 +01:00
Bobby Holley 5dafb39b7f Bug 803068 - Merge DirectWrapper and Wrapper. r=ejpbruel
--HG--
extra : rebase_source : a2b98a9585c6f7761747cfaf55684e6eeed91344
2012-10-29 16:52:53 +01:00
Bobby Holley 3a1ceae4b0 Bug 803068 - Remove IndirectProxyHandler. r=ejpbruel
--HG--
extra : rebase_source : 08570e140f6e16d73adca23b51b63222231dc0f4
2012-10-29 16:52:53 +01:00
Bobby Holley 2b2898aa5f Bug 803068 - Remove IndirectWrapper. r=ejpbruel
We also take the opportunity to update the now-obsolete comment about the
wrapper hierarchy.

--HG--
extra : rebase_source : b756bf143d202daae4b5abcf99f7fb381e040641
2012-10-29 16:52:53 +01:00
Bobby Holley b7dc1c910f Bug 803068 - Make ScriptedIndirectProxyHandler inherit BaseProxyHandler directly. r=ejpbruel
There are no actual dependencies on IndirectProxyHandler, despite the fact that
it roughly mimics its behavior.

--HG--
extra : rebase_source : 556c4d0eb0ac41547e2de7f033fe4097da4ca77b
2012-10-29 16:52:53 +01:00
Bobby Holley 2ba1fc0810 Bug 803068 - Restore BaseProxyHandler call/construct traps. r=ejpbruel
I don't ever remember them being moved, but this seems wrong. As long as we
continue to support function proxies, there's no reason that the call logic
should be limited only proxies with targets. In particular, this issue breaks
the SpecialPowers wrapper after making ScriptedIndirectProxyHandler inherit
BaseProxyHandler.

--HG--
extra : rebase_source : 61f51f2c97eb6cf5850ffa6699a396a436567065
2012-10-29 16:52:53 +01:00
Bobby Holley b871af67e5 Bug 803068 - Manually grab the BaseProxyHandler derived traps in SandboxProxyHandler. r=ejpbruel
Let's just bite the bullet and do this here. It will let us get rid of
IndirectProxyHandler, which has really overcomplicated our proxy hierarchy.

--HG--
extra : rebase_source : 7e81529936bc256d672e40537eb6abca6374e52c
2012-10-29 16:52:53 +01:00
Bobby Holley 9176d2ad9c Bug 797206 - Remove GetPrincipalFromContext. r=bz 2012-10-29 15:55:36 +01:00
Peter Van der Beken 2d58c35ce6 Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Peter Van der Beken c2c9421a38 Fix for bug 804992 (Enable objects with new DOM bindings to be parent of other DOM objects). r=bz.
--HG--
extra : rebase_source : f07cade82dad0216d94e68dd0c0f495977abeb31
2012-09-12 22:29:30 +02:00
Peter Van der Beken 0e30cf87b1 Fix for bug 804732 (Remove mCachedDOMPrototypes). r=bz.
--HG--
extra : rebase_source : dc9ffe5f37dbc0542cbb47384b2d25472c70d801
2012-10-23 22:11:58 +02:00
Jan de Mooij 2af800a79b Bug 804636 part 4 - Remove TypeOracle::incslot and inc/dec handling in TypeDynamicResult. r=dvander 2012-10-29 11:26:09 +01:00
Nicholas Nethercote b78a6d0425 Bug 805915 (part 5) - Add more detail to shape memory reports. r=luke.
--HG--
extra : rebase_source : f1a05ea15b78e5f33d6398accca3333ab29fa1c6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote b602643bc5 Bug 805915 (part 4) - Add more detail to string memory reports. r=luke.
--HG--
extra : rebase_source : 010e28f10917ae4cc9d0d11abace9bcdabf0aba8
2012-10-29 08:51:21 +11:00
Nicholas Nethercote 41829b0280 Bug 805915 (part 3) - Fix misleading behaviour of JSString::isShort(). r=luke.
--HG--
extra : rebase_source : 433f852fafc580cd4d51241dd3d90fd387719f3d
2012-10-29 08:51:21 +11:00
Nicholas Nethercote fe068d7611 Bug 805915 (part 2) - Add more detail to object memory reports. r=luke.
--HG--
extra : rebase_source : e54ece88753280ccac284f6265fd92310dc1bec6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote 9c33f3f643 Bug 805915 (part 1) - Rename the "cross-compartment-wrappers" memory report. r=luke.
--HG--
extra : rebase_source : a9689bde17b043bc8bec55c0307c0bbf94768232
2012-10-29 08:51:21 +11:00
Ryan VanderMeulen 443e3884bc Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Jan de Mooij aaf010e972 Bug 804636 part 3 - Remove JM+TI loop test analysis. r=bhackett 2012-10-27 20:56:19 +02:00
Jan de Mooij 3a4ae5ae42 Bug 804636 part 1 - Decompose LOCAL/ARG inc/dec ops. r=bhackett 2012-10-27 14:16:17 +02:00
Kannan Vijayan 0feee0d1c3 Bug 800568 - Remove spurious use of potentially-nonexistant pushedTypes in callGetter IC code. (r=nbp) 2012-10-26 21:01:15 -04:00
Benjamin Peterson 6f256d0cfc backout bug 778948 eace14fccc47 for horrible sunspider regression r=me 2012-10-26 17:59:35 -07:00
Gregor Wagner 062f4e3632 Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. followup. r=orange 2012-10-26 17:40:39 -07:00
Benjamin Peterson fdcce4984a Bug 778948 - Move jsinterp to vm/Interpreter. r=luke
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2012-10-26 16:51:05 -07:00
Gregor Wagner 78d36347e1 Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. r=billm 2012-10-26 16:06:19 -07:00
Sean Stangl 00fdccabc0 Bug 803884 - Fold MControlInstructions. r=mjrosenb 2012-10-26 14:25:54 -07:00
Ryan VanderMeulen c65d3dd4a6 Merge m-c to inbound. 2012-10-26 16:06:04 -04:00
Daniel Holbert eb92e39eba Bug 805883: Add (void) cast to "use" an otherwise-unused variable, as far as GCC build-warning is concerned, in gc/Root.h. r=jorendorff 2012-10-26 11:41:14 -07:00
Bill McCloskey f2fa20df59 Bug 803907 - Simplify GC root iteration (r=terrence) 2012-10-26 11:53:31 -07:00
Bill McCloskey 04081196d0 Bug 803907 - Remove some unused GC functions (r=terrence) 2012-10-26 11:53:25 -07:00
Bill McCloskey 9d53f808b3 Bug 803907 - Remove some GC debugging functions (r=terrence) 2012-10-26 11:53:20 -07:00
Bill McCloskey cae7c78fa1 Bug 803907 - Remove JS MapRoots (r=terrence) 2012-10-26 11:51:35 -07:00
Bill McCloskey d44fdd4f00 Bug 692267 - Remove js/src/gc/Heap.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:18:50 -07:00
Bill McCloskey a6cd2f8c4f Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Nicholas Nethercote ea1d28a21f Bug 804891 - Reduce LIFO_ALLOC_PRIMARY_CHUNK_SIZE from 128 KiB to 32 KiB. r=wmccloskey.
--HG--
extra : rebase_source : 41cbe9a405e2febe84ce1db3bf1dba9a19f53748
2012-10-25 17:55:31 -07:00
Ryan VanderMeulen 1664ce8a89 Backout 589b6766b99a (bug 786146) due to test bustage on a CLOSED TREE. 2012-10-25 20:05:13 -04:00
Andrew Quartey 3f4e29b9f0 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Nikhil Marathe 03b0de5c8a Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Brian Hackett 66d954cf70 Eagerly generate a single copy of Ion stubs and wrappers, bug 786146. r=dvander 2012-10-25 15:37:17 -07:00
Jason Orendorff 30b4906cc9 Bug 787703. r=terrence 2012-10-25 17:43:25 -04:00
Brian Hackett 9d1cc28b15 Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 13:46:49 -07:00
Anant Narayanan aba30683c2 Backout 4aef9921a9d6, build failed 2012-10-25 12:28:05 -07:00
Brian Hackett 0e9147405c Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 12:00:00 -07:00
Bobby Holley 11a3279da2 Bug 797821 - Null check to fix intermittent orange. r=me 2012-10-25 18:36:45 +02:00
Ehsan Akhgari 8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley 2afd934910 Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley 35f4a1d02f Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley e5281ffe10 Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley fecbbb3ade Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley 678c7b3e05 Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley 2cf0594417 Bug 797821 - Decide whether we need to trace DOM stuff based on more relevant information than JSCLASS_XPCONNECT_GLOBAL. r=mrbkap
This will let us rip out that flag.
2012-10-25 17:01:08 +02:00
Bobby Holley 5d518d9c54 Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley 0cdf333aaa Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley 7ec5eb0580 Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley f0c6fb319b Bug 797821 - Remove xpc_NewSystemInheritingJSObject and cached mJSPrototypeObject. r=mrbkap
xpc_NewSystemInheritingJSObject is totally unnecessary now that the system bit
has been removed (\o/). Furthermore, the mJSPrototypeObject optimization is
really dumb. it complicates tracing significantly, and we don't actually use it
in any critical places: XPCWrappedNative and slim wrapper creation use a different
prototype, so this is used only for the creation of tearoff reflectors (seldom/
never used), XPCWrappedNativeProto objects, and the nohelper prototype on the
scope (once per scope).

We could actually just pass NULL to JS_NewObject and let it deal. However, this
would actually trigger a dynamic lookup for the prototype object of the
associated JSClass, which isn't what we want. So we just explicitly pass in
Object.prototype.
2012-10-25 17:01:08 +02:00
Bobby Holley c2707a9093 Bug 797821 - Remove unused aNative parameter to XPCWrappedNativeScope creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley 467b5d350e Bug 797821 - Stop storing mScriptObjectPrincipal. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley 6e408995a1 Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley 2c3ca83d1f Bug 797821 - Allow compartment privates to be lazily created when using them just for storing about:memory URIs. r=mrbkap
This will allow us to stop making nsXULPrototypeDocument and nsXBLDocumentInfo
globals XPConnect globals.
2012-10-25 17:01:07 +02:00
Bobby Holley 115b01b88b Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley 9fa3c57db6 Bug 797821 - Loosen the CompartmentPrivate contract so that having one does not imply being in the compartment set. r=mrbkap
The compartment set goes away in later patches anyway. This is to allow us to
create compartment privates for things like XUL prototype document globals
without having to put them in the set and trace expandos and such.
2012-10-25 17:01:07 +02:00
Bobby Holley c563a12b76 Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap 2012-10-25 17:01:07 +02:00
Bobby Holley 64e6dab665 Bug 797821 - Remove CreateNewGlobal. r=mrbkap
It doesn't do anything useful at this point.
2012-10-25 17:01:07 +02:00
Bobby Holley 669dc56dfe Bug 797821 - Remove the dependency of XPCWrappedNativeScope instantiation on XPCCallContext and expose the raw constructor. r=mrbkap 2012-10-25 17:01:07 +02:00
Benjamin Peterson 64f17f75f7 Bug 804857 - Start with a small compression buffer. r=njn 2012-10-24 16:15:48 -07:00
Benjamin Peterson 8444e1bdb4 Bug 804857 - Allocate memory in the compression thread and have its clients check for error. r=njn 2012-10-24 16:15:48 -07:00
Benjamin Peterson 04b113155e Bug 804558 - Make JSScript::loadSource GC-safe. r=terrence 2012-10-24 13:51:28 -07:00
Bobby Holley ededf3d730 Bug 801576 - Android bustage fix. r=me 2012-10-24 14:18:39 +02:00
Bobby Holley 5a6219b643 Bug 801576 - Add tests for the same-origin policy. r=mrbkap 2012-10-24 12:04:19 +02:00
Bobby Holley f2880fe1d1 Bug 801576 - Forbid cross-origin access to the History object. r=mrbkap 2012-10-24 12:04:18 +02:00
Ryan VanderMeulen 72c7e10300 Merge m-c to inbound. 2012-10-23 22:41:34 -04:00
Ryan VanderMeulen 7d0be33071 Merge the last PGO-green inbound changeset to m-c. 2012-10-23 22:28:33 -04:00
Kannan Vijayan 84f5850fcd Bug 795801 - IC StrictPropertyOp setters in IonMonkey. (r=dvander) 2012-10-23 22:18:11 -04:00
Olli Pettay c370341643 Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley 2012-10-24 01:26:36 +03:00
Benjamin Peterson e50fd62051 No bug: Make constructor explicit. rs=Waldo 2012-10-23 15:37:58 -07:00
Benjamin Peterson a7f69029d0 Bug 804404 - Set source hook in XPC initialization. r=bz 2012-10-23 18:09:00 -04:00
Brian Hackett 1b2a480e61 Keep the interpreter stack synced for GC scanning, bug 781657. r=billm 2012-10-23 09:20:56 -07:00
Brian Hackett 247bf2747b Propagate callee 'this' types more often, bug 788822. r=jandem 2012-10-23 09:05:27 -07:00
Brian Hackett 32f9505d3f Don't get confused by unreachable opcodes before loop headers when picking chunk boundaries, bug 781859. r=jandem 2012-10-23 07:45:34 -07:00
Jonathan Kew def7614df5 backout 4c79da81e6fc (bug 800785) on suspicion of burning the Linux PGO builds 2012-10-23 11:57:45 +01:00
Chuck Lee 6a13b77a08 Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug 2012-10-22 18:18:26 +08:00
Chuck Lee c686d1e157 Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug 2012-10-22 17:17:18 +08:00
Makoto Kato 56cde82f4d Bug 800785 - unnecessary PGO for js shell. r=ted 2012-10-23 16:42:19 +09:00
Till Schneidereit 9d41299d4c Bug 784400 - adapt GlobalObject::hasIntrinsicFunction to changes in self-hosting initialization. r=luke
--HG--
extra : rebase_source : 6afbfcc0264e44bf7a740635e47ee1ea6ce23655
2012-10-21 20:48:06 -07:00
Gregory Szorc 0112dac4ee Bug 800614 - Require Python 2.6 to build the tree; r=ted 2012-10-22 12:24:40 -07:00
Nick Hurley 3b308213ec Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Andres Hernandez 8fbf84fbd1 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-19 15:52:21 -06:00
Boris Zbarsky b598ec354c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky 7a7136cc71 Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky 7b364a60a1 Bug 801723. WebIDL binding objects may not have classinfo even if they're nsISupports. r=peterv 2012-10-22 13:08:51 -04:00
Rafael Ávila de Espíndola 3084d97cdf Bug 803707 - Don't assume pointers are 64 bits. r=benjamin. 2012-10-22 09:07:04 -04:00
Bobby Holley 10241f928c Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.

I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.

--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Bobby Holley 02f7765031 Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap 2012-10-22 08:29:55 +02:00
Justin Wood 5a1614d42c Merge backout of Bug 800613 2012-10-22 00:43:31 -04:00
Justin Wood 8f71dde779 Backout bug 800613 (09dc2dc1fc9f) due to l10n breakage 2012-10-22 00:42:56 -04:00
Peter Van der Beken 052fbed287 Fix for bug 803872 (Remove remaining references to the dom.new_bindings pref). r=Ms2ger. 2012-10-21 13:06:55 +02:00
Ms2ger bf2b5f9bda Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Ryan VanderMeulen 7cf590e075 Merge m-c to inbound. 2012-10-20 18:02:38 -04:00
Olli Pettay e2db7fffa5 Bug 802829 - Don't add nsXPCWrappedJS objects to CC graph if they only point to a certainly alive object, r=mccr8 2012-10-20 22:53:25 +03:00
Andrew McCreight 8ef63c75d3 Bug 801957 - use isFull for gcFinalizeCallback. r=billm 2012-10-20 11:26:28 -07:00
Gregory Szorc b8ead98943 Bug 800614 - Require Python 2.6 to build the tree; r=ted
Previous minimum Python was 2.5.

This only affects the build system. Some code (including some testing
code) still needs to run on older versions of Python.
2012-10-19 11:13:37 -07:00
Terrence Cole 655049da80 Bug 801114 - Remove JSD's unused out-of-memory hook; r=billm
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
rename : dom/base/test/test_gsp-qualified.html => dom/base/test/test_gsp-standards.html
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bea54e63e4712ab097b7d7882092968aed82170b
2012-10-19 10:49:48 -07:00
Kannan Vijayan e529312818 Bug 802384 - Bug in GeneratePrototypeGuards in IonCache.cpp. (r=mjrosenb) 2012-10-19 13:34:56 -04:00
Peter Van der Beken 9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
foudfou 04435bb71f Bug 799537 - Sort xpconnect chrome mochitests in tests/chrome. r=bholley 2012-10-19 23:16:07 +02:00
foudfou 1bf98be1e7 Bug 799537 - Move xpconnect chrome mochitests in tests/mochitest to tests/chrome. r=bholley
--HG--
rename : js/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/chrome/test_bug361111.xul
rename : js/xpconnect/tests/mochitest/test_bug760131.html => js/xpconnect/tests/chrome/test_bug760131.html
2012-10-19 22:44:26 +02:00
Nicolas B. Pierron 307976c182 Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem 2012-10-19 17:05:31 -07:00
Nicolas B. Pierron 2c06fd4088 Bug 799818 part 2 - Handle unknown double as input of a table switch. r=djvj,h4writer 2012-10-19 17:05:31 -07:00
Nicolas B. Pierron 9bdcb44c8c Bug 799818 part 1 - Ensure return type before optimizing getelem for strings. r=jandem 2012-10-19 17:05:31 -07:00
Phil Ringnalda 87844c69b0 Back out 0498e3bb74bd:9011919fcf00 (bug 799818) for build bustage
on a CLOSED TREE
2012-10-19 14:55:53 -07:00
Nicolas B. Pierron 009e82fae0 Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem 2012-10-19 14:32:36 -07:00
Nicolas B. Pierron a243dbcb81 Bug 799818 part 2 - Handle unknown double as input of a table switch. r=djvj,h4writer 2012-10-19 14:32:22 -07:00
Nicolas B. Pierron 55ea96ff64 Bug 799818 part 1 - Ensure return type before optimizing getelem for strings. r=jandem 2012-10-19 14:32:22 -07:00
Jan de Mooij 2e5c70a819 Bug 803219 - Fix TI sanity checks in the interpreter. r=terrence 2012-10-19 21:10:01 +02:00
Bobby Holley 2b400bf0e8 Bug 793969 - Define an identity transformation at the Xray layer. r=mrbkap 2012-10-19 21:00:48 +02:00
Jim Blandy 107003f921 Bug 738480: Simplify Debugger::ScriptQuery after CPG. Fix missing compile-and-go scripts. r=luke 2012-10-19 09:53:00 -07:00
Isaac Aggrey f3cb73b9c7 Bug 794510: Part 1 - Build with NO_NSPR_10_SUPPORT by default; r=ehsan,glandium,wtc 2012-10-11 01:00:54 -05:00
Peter Van der Beken e4c543b77c Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Jacek Caban fdcf4df496 Bug 803084 - Port bug 789753 to mingw-w64 builds r=m_kato DONTBUILD
--HG--
extra : rebase_source : 05e1649e02e473a22ceacb55f05afa9a9de2bda2
2012-10-19 13:17:05 +02:00
Makoto Kato fed22904dc Bug 802529 - crash in js::detail::HashTableEntry with methodjit=false. r=luke 2012-10-19 16:37:00 +09:00
Nikhil Marathe 8becb422d9 Bug 802751 - Remove outdated comment. r=luke DONTBUILD
--HG--
extra : rebase_source : 9641e600293c846e4c7a002d32b1b0da1de28cb5
2012-10-18 22:27:31 -04:00
Ryan VanderMeulen caba3228c3 Bug 798123 - Fix build bustage. r=Waldo
CLOSED TREE
2012-10-18 22:21:38 -04:00
Gabriele Svelto 44557fe8f0 Bug 798123 - Replace the array conversion functions in BluetoothUtils.cpp with those in nsTArrayHelpers.h. r=mrbkap 2012-10-18 15:20:54 +02:00
Benjamin Peterson 18527f9e0b Bug 803358 - Remove JSOPTION_RELIMIT. r=luke 2012-10-18 21:06:42 -04:00
Joel Maher 11c4a06d66 Bug 788653 - Make enablePrivilege pref name more dire. r=bholley 2012-10-18 08:03:37 -04:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Josh Matthews 622cda9c90 Backed out changeset 12002e126b39 (bug 769298) 2012-10-18 17:27:23 -04:00
Jim Blandy b7456b619f (no bug) DONTBUILD Fix comment search-and-replaceo in js/src/ion/IonMacroAssembler.h rs=nobody 2012-10-18 14:20:43 -07:00
Andres Hernandez a84d1976b8 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-18 00:24:56 -06:00
Bill McCloskey 96bd1922df Bug 795532 - Add more assertions during transplant (r=bholley) 2012-10-17 14:42:41 -07:00
Ed Morley 11408182a0 Merge mozilla-central to mozilla-inbound 2012-10-18 18:14:23 +01:00
Ed Morley 2dceb90299 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-18 18:12:33 +01:00
Chris AtLee c558fd6e98 Bug 802763: Set objcopy for gonk builds. r=ted DONTBUILD 2012-10-18 10:45:31 -04:00
Mike Hommey 5055bfb2f5 Bug 794472 - Add quoting for some commands to make pymake happier. r=ted 2012-10-18 14:44:12 +02:00
Luke Wagner 59d4cdf89e Bug 801922 - IonMonkey: LDefinition::BOX should only be defined with JS_PUNBOX64 (r=dvander) 2012-10-16 16:56:11 -07:00
Luke Wagner 64a38ea397 Bug 800650 - decouple CompileBackEnd from IonBuilder (r=dvander) 2012-10-16 16:56:11 -07:00
Bobby Holley 94a49ebb50 Bug 802968 - Fix racy test behavior. r=me DONTBUILD
--HG--
extra : rebase_source : 631b1d7d8efc625725b9a733c8e065030ff795e1
2012-10-18 14:41:13 +02:00
Bill McCloskey d3f82bacd5 Bug 714050 - Make JS source compression thread optional (r=luke) 2012-10-16 11:57:11 -07:00
Bill McCloskey 2d2d33f92b Bug 714050 - Make Ion compile threads optional (r=luke) 2012-10-16 11:57:09 -07:00
Bill McCloskey dabce15796 Bug 714050 - Make GC helper thread optional (r=luke) 2012-10-16 11:57:09 -07:00
Bill McCloskey fadcc33157 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
Sean Stangl 07051f705a Bug 801915 - Handle JSOP_IN with IonMonkey. r=jandem 2012-10-17 13:57:16 -07:00
Bobby Holley e799cc3495 Bug 801241 - Properly handle |false| return false from JS_DescribeScriptedCaller. r=bz 2012-10-17 19:44:30 +02:00
Ehsan Akhgari 16f73f960a Merge mozilla-central into mozilla-inbound 2012-10-17 13:03:16 -04:00
Hannes Verschore 71038944c9 Bug 801830: Ionmonkey: correctly compare definitions in MMul 2012-10-17 18:34:39 +02:00
bzbarsky@mit.edu 3b30ad1062 Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Steve Fink 1aa9703a18 Bug 802319 - Various rooting fixes. r=terrence
js/src/tests (jstests) currently passes all tests with rooting analysis on with this patch applied.
2012-10-15 16:23:33 -07:00
Steve Fink a3407e54d1 Bug 802422 - Pay attention to the actual test result. r=terrence 2012-10-12 14:53:45 -07:00
Bobby Holley 7c0ed6fd80 Bug 792280 - Only censor function.caller for non-same-origin calls. r=luke 2012-10-17 17:56:49 +02:00
Justin Lebar be2864ee16 Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Jan Beich b905e6a742 Bug 788955 - Check for malloc_usable_size() and malloc_np.h via autoconf. r=glandium 2012-10-17 16:39:15 +02:00
Jan Beich 760aad6d54 Bug 795742 - Remove a configure check unused in JS code. r=glandium 2012-10-17 16:33:31 +02:00
Benjamin Peterson f8c980d8d8 Bug 801961 - Make ion compile threads start lazily. r=luke 2012-10-17 00:18:21 -04:00
Bill McCloskey 5758e4554d Bug 791174 - Clean up GC tracing code (r=jonco) 2012-10-15 17:02:52 -07:00
Terrence Cole 48105e69e7 Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
Return<T> wraps GC things that are returned from accessor methods.  The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Bobby Holley 889232fd33 Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv 2012-10-16 15:07:54 +02:00
Bobby Holley a3164aaa90 Bug 797304 - Add special handling for nuked parents in orphan fixup. r=peterv 2012-10-16 15:07:54 +02:00
Bobby Holley 1021325c42 Bug 797304 - Be more aggressive when fixing up orphans. r=peterv
To make stronger assumptions, we should dig deeper on the parent chain, and also morph any slim wrappers. This is slightly slower, but not much, since this stuff only gets called for HTML documents, and the parent chains there tend to be short. Moreover, this only gets called during document.open(), where performance doesn't matter so much.
2012-10-16 15:07:54 +02:00
David Zbarsky 09d92493b0 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky 691b27fa27 Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky 7a57538d03 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
Sean Stangl 12141909b3 Bug 801839 - Clean up jsop_getprop(). r=pierron 2012-10-16 15:08:58 -07:00
Sean Stangl c27b2d4d5c Backout 73f735acc3e1. 2012-10-16 13:17:59 -07:00
Sean Stangl 652fe3f4ac Bug 801839 - Clean up jsop_getprop(). r=pierron 2012-10-16 12:07:17 -07:00
Bill McCloskey b352722f4b Bug 798678 - Weakmap key preservation test (r=mccr8) 2012-10-17 18:22:54 -07:00
Bill McCloskey 151b2aba2f Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00
Bill McCloskey aea3aad693 Bug 798678 - Refactor wrapper preservation for weakmaps (r=mccr8) 2012-10-08 18:22:47 -07:00
Jesse Ruderman 5bddb75e4a Bug 742570 followup - fix typos. DONTBUILD. 2012-10-17 17:14:03 -07:00
Jim Blandy 07155b183d (no bug): Fix comment in UpdateDepth in js/src/frontend/BytecodeEmitter.cpp (DONTBUILD) rs=waldo 2012-10-17 15:39:54 -07:00
Brad Lassey b66de766f1 bug 802616 - don't use software floating point math on ARMv6 r=glandium
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Nicolas B. Pierron 8ddd8ecea6 Bug 800878 - EvalInFrame, Check debug mode before iterating the stack. r=luke,decoder 2012-10-17 15:01:09 -07:00
Jeff Walden e2d7ad602b Fix up and un-skip the test for bug 406572, following up on a comment in bug 577325. r=jorendorff
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 8457c42ff9ba9151f240462e06192fa4dc444a75
2012-01-29 03:03:18 -08:00
Bill McCloskey 7ad7a8b043 Backout bug 791174 for orange 2012-10-15 17:00:39 -07:00
Bill McCloskey 463de3b214 Bug 791174 - Clean up GC tracing code (r=jonco) 2012-10-12 11:28:44 -07:00
Benjamin Peterson 35f1927bcd Bug 800407 followup - Fix running in browser environment. r=me
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
extra : rebase_source : 5f42dac25147c4e44cc24a0b254d047e9bac6203
2012-10-15 17:16:12 -04:00
Benjamin Peterson 8110859480 No bug - Add executable bit. rs=terrence 2012-10-15 16:15:52 -04:00
Benjamin Peterson 19a0e65d9d Bug 800407 - Remove incorrect assertion that Function constructor defined functions cannot have inherited strict mode. r=benjamin code=Nikhil Marathe
--HG--
extra : rebase_source : 54cb7adb34ea2b9825d9aadf19f896f68f5dc508
2012-10-15 16:12:41 -04:00
Ehsan Akhgari ee902c51f9 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Ed Morley 057bdb3632 Merge mozilla-central to mozilla-inbound 2012-10-15 16:09:10 +01:00
Kannan Vijayan 46c9ff5428 Bug 800935 - Fix ASSERT error in generateCallGetter. (r=nbp) 2012-10-15 10:56:20 -04:00
Ryan VanderMeulen 409f1f5ca2 Merge inbound to m-c. 2012-10-14 16:39:23 -04:00
Ehsan Akhgari c046eecc51 Bug 801344 - Make sure that JSRuntime::initSelfHosting never returns an uninitialized value; r=till 2012-10-14 11:12:03 -04:00
Ryan VanderMeulen 87b15267d4 Merge the last PGO-green inbound changeset to m-c. 2012-10-13 19:26:29 -04:00
Jan Beich 0541b9caf5 Bug 801295 - mincore() call has incorrect type on tier3 (non-Linux). r=jlebar
--HG--
extra : rebase_source : 3201ac0b491a8cb40f916276e5b34a14d3122dc7
2012-10-13 09:34:00 -04:00
Andrew Quartey 3ca8d029a6 Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Justin Lebar 2721f60472 Bug 798510 - Part 2: Fix bug in JSRuntime::sizeOfExplicitNonHeap() where, if execAlloc_ is null, we don't measure the stack space. rs=njn 2012-10-12 10:26:06 -04:00
Justin Lebar a82900f6ee Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Ed Morley f214df21b4 Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
Ehsan Akhgari 518619c774 Bug 801346 - Remove s_VOID_id from dombindings.cpp; r=bholley 2012-10-15 09:05:09 -04:00
Peter Van der Beken b981fdd138 Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Aryeh Gregor aaf30c8f52 Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu 2012-10-14 10:13:19 +02:00
Aryeh Gregor c24a828b17 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Jim Blandy 2e198f619e Bug 743311: Implement Debugger.prototype.findAllGlobals. r=jorendorff 2012-10-13 16:04:41 -07:00
Jim Blandy b24c65d207 Bug 743311: Implement Debugger.prototype.onNewGlobalObject. r=jorendorff 2012-10-13 16:04:41 -07:00
Jim Blandy 5aac88c22d Bug 743311: Add option to shell 'evaluate' to catch termination, for tests. r=jorendorff 2012-10-13 16:04:41 -07:00
Jim Blandy 0f355c830c Bug 796073: Identify debuggees only by Debugger.Object instances and CCWs that can be unwrapped securely. r=luke
This patch affects behavior that a lot of debugger tests rely on; I've
tried to update the tests without losing coverage of behavior that is still
supported:

- A prior patch in this series removes uses of addDebuggee to generate
  Debugger.Object instances referring to random objects, using
  makeDebuggeeValue instead.

- The test debug/Debugger-debuggees-07.js is deleted, because it's testing
  for the very behavior we're removing. Other tests are trimmed to remove
  usage that is no longer supported.

- The new test debug/Debugger-debuggees-17.js checks that we reject objects
  that don't designate debuggees. The existing test
  Debugger-debuggees-06.js checks that non-object values are properly
  rejected.

- The new test debug/Debugger-debuggees-18.js checks that globals are
  correctly identified regardless of how we designate them.
2012-10-13 16:04:41 -07:00
Jim Blandy f767de9ba4 Bug 796073: Use Debugger.Object.prototype.makeDebuggeeValue where appropriate, not Debugger.prototype.addDebuggee. r=luke
Many tests use Debugger.prototype.addDebuggee to produce Debugger.Object
instances referring to random objects. Now we have
Debugger.Object.prototype.makeDebuggeeValue to do that, which is more
careful about wrappers. This patch changes all the existing tests that
abuse addDebuggee in this way (well, they didn't have any choice when they
were written) to use makeDebuggeeValue instead, in preparation for
tightening up addDebuggee to only accept global objects.
2012-10-13 16:04:41 -07:00