Aryeh Gregor
6edbec8406
Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz
2012-07-27 16:51:50 +03:00
Mike Habicher
01f8e81e31
Bug 740997 - ICS camera support, r=jst,gal,roc
2012-07-30 17:59:05 -04:00
Andrew McCreight
8df7caa03e
Bug 761422, part 4 - Don't try to be a hero in ReparentWrapperIfFound. r=bholley
2012-07-30 21:02:00 -07:00
Andrew McCreight
e9759cb6ad
Bug 761422, part 3 - get security wrappers before changing maps. r=bholley
2012-07-30 21:01:59 -07:00
Andrew McCreight
40af3f379d
Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley
2012-07-30 21:01:59 -07:00
Andrew McCreight
0f7ac14a7b
Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley
2012-07-30 21:01:59 -07:00
Benjamin Peterson
619c4880fc
Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff
2012-07-30 19:23:46 -07:00
Benjamin Peterson
be5c38af46
Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin
2012-07-30 19:23:44 -07:00
Ryan VanderMeulen
26da6164d3
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Olli Pettay
c72a720f48
Bug 777401 - DictionaryHelpers.* build problems, r=khuey
2012-07-30 23:10:26 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brendan Eich
b9452aad00
Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson).
2012-07-30 13:58:18 -07:00
Bobby Holley
2c48de6a45
Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
...
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:
chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)
When wrapping chromeobj for exampleorg_scope, things will look like this:
COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)
Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.
Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Jason Orendorff
806c6dc8a4
Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange.
2012-07-30 14:52:02 -05:00
Ted Shroyer
4211119139
Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
...
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Landry Breuil
4df91067fc
Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium
2012-07-30 17:57:04 +02:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Brian Hackett
4da0b7720d
Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin
2012-07-30 05:19:09 -06:00
Aryeh Gregor
66d337960d
Bug 777292 - Add default cases to switches on nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Rafael Ávila de Espíndola
b99afdfb17
Bug 778301 - Remove old change for llvm.org/pr11003.
...
--HG--
extra : rebase_source : 41006c35798d0722a43b6c37bc0216a6c6064aa9
2012-07-28 08:04:45 -04:00
Benjamin Peterson
3b7ecb0d35
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-28 15:18:33 -07:00
Ed Morley
35f13f7e90
Backout a5b21cffeebf (bug 743112) for intermittent but severe leaks; a=whatafunwaytospendtheday on a CLOSED TREE
2012-07-28 18:46:27 +01:00
Benjamin Peterson
36d4b2c395
Bug 778268 - Allow definitions with no uses to be removed. r=luke
2012-07-27 21:56:46 -07:00
Benjamin Peterson
064f4d886e
Backout 4cdd23569371 (Bug 777776) for more bustage
2012-07-27 19:35:01 -07:00
Terrence Cole
0377bfd95e
Bug 744675 - Make jstest suite default parallelism match cpu count; r=sfink
...
--HG--
extra : rebase_source : 41dab7c1354f31c27cb019a622b8602e7fc521c5
2012-07-27 17:51:12 -07:00
Benjamin Peterson
cdd5257acd
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-27 17:51:49 -07:00
Bill McCloskey
d84ff9f0bd
Bug 778370 - Track individual sweep phases in GC statistics (r=terrence)
2012-07-27 17:37:21 -07:00
David Mandelin
42385a0327
Bug 778347: fix some MSVC warnings, r=luke
...
--HG--
extra : rebase_source : 859cdd689d4aa794ab8c25d39fb9f9cd7817a92c
2012-07-27 16:32:37 -07:00
Eric Faust
b5fc0ac9c5
Bug 747288 - Reland renaming jitinfo to MJITinfo. (r=bhackett)
2012-07-27 16:20:48 -07:00
David Mandelin
2779a603ff
Backout changeset 8bd9d81db80a which landed without a bug
...
--HG--
extra : rebase_source : 69b0afc5aab63afeea06919db9c2e635e7c6f1dc
2012-07-27 15:49:11 -07:00
Benjamin Peterson
2245f50fb8
Backout b69f5004fde8 (Bug 777776) for bustage
2012-07-27 15:22:13 -07:00
Benjamin Peterson
52f2036252
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-27 14:42:56 -07:00
Steve Fink
82b0cf8278
Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke
2012-07-26 18:27:08 -07:00
Terrence Cole
c29bd1c107
Bug 777992 - Move array slowification barrier closer to update; r=billm
...
--HG--
extra : rebase_source : c7bb1cb451877282e6d8a1bc2b1e971cbbfad2a7
2012-07-27 12:32:16 -07:00
David Mandelin
41d9e9dd7a
Bug 776704: allow shell to build without zlib, r=bpeterson
2012-07-25 16:47:16 -07:00
Bill McCloskey
4d57317ec8
Bug 743112 - Incremental release of C++ objects during GC (r=smaug,jonco)
2012-07-27 11:27:51 -07:00
Bobby Holley
6d3eb5ee8b
Bug 760109 - Tests. rs=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
a7c9c6c0e0
Bug 760109 - Override traps in ChromeObjectWrapper to bounce lookups to the local prototype chain. r=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
27dfe5daed
Bug 760109 - Introduce an explicit ChromeObjectWrapper. r=mrbkap
...
For now it's identical to ChromeObjectWrapperBase. Custom behavior comes in the next patch.
2012-07-27 12:15:46 +02:00
Bobby Holley
bc2fe5e629
Bug 760109 - When COWing objects with standard prototypes, use the prototype in the home compartment instead. r=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
f2d2aebee5
Bug 760109 - Add an API to lookup proto key via standard prototype objects and vice-versa.
2012-07-27 12:15:46 +02:00
Bobby Holley
5a7d569a9a
Bug 760109 - Don't force wrappers to use the wrapped proto if they decide to use something different. r=mrbkap
2012-07-27 12:15:46 +02:00
Eric Faust
976b680d59
No bug - Rename JitInfo mJITInfo. (r=bhackett)
2012-07-26 19:44:52 -07:00
Ehsan Akhgari
ac735a4137
Backout changeset 0589b96414e6 which landed without a bug and broke the builds
2012-07-26 22:56:23 -04:00
Eric Faust
7f96a704b2
No bug - Rename JitInfo mJITInfo. (r=bhackett)
2012-07-26 19:44:52 -07:00
Terrence Cole
0335964257
Bug 777999 - Fix JSRefTest shell progressbar brokeness in windows; r=dmandelin DONTBUILD
...
--HG--
extra : rebase_source : e6170427c1d56de503c71157234ca2b1a52fe9aa
2012-07-26 18:07:17 -07:00
Bill McCloskey
e296fc91da
Bug 777919 - Free LifoAlloc chunks on background thread (r=luke)
2012-07-26 18:05:31 -07:00
Luke Wagner
f417d29a6c
Bug 777643 - re-enable arguments.length fast path in JM (r=bhackett)
2012-07-26 16:08:26 -07:00
Eric Faust
898361218d
Bug 777618 - Remove VALUE_TO_BOOLEAN and POP_BOOLEAN from interpreter. (r=luke)
2012-07-26 15:24:28 -07:00