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

29078 Коммитов

Автор SHA1 Сообщение Дата
David Mandelin 23daafcef0 Bug 779393 - Fix compile error in jsiter.cpp involving --enable-more-deterministic, r=bhackett 2012-08-01 11:25:33 -07:00
Benjamin Peterson 61c5acf48f Bug 779400: Split ScriptSource::setSource into setSource and setSourceCopy. r=jorendorff
--HG--
extra : rebase_source : 21b507a980aceb792a75e2711a934d4f9d51f37a
2012-08-01 09:56:39 -07:00
Benjamin Peterson 86fac7d3c7 Bug 779372 - Add missing USE_ZLIB. r=jorendorff
--HG--
extra : rebase_source : 806628d3e75b989548a5d06b13d43a37d326d977
2012-08-01 09:56:37 -07:00
Ed Morley 7f8df4e1b8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay 99f05d8922 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay 420a8918fe Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Eric Faust c60ea1616e Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:31:55 -07:00
Eric Faust 28008c2879 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust 64871ba60c Bug 779015 - Make JS_Is*Array() not throw. (r=bhackett) 2012-07-31 20:08:32 -07:00
Eric Faust 8dd42e5ec4 Bug 749535 - Part 1: Implement JS_UnwrapObjectAs*Array(). (r=bhackett) 2012-07-31 20:05:19 -07:00
Benjamin Peterson 883f8b7041 Bug 779017 - Give every JSScript a ScriptSource. r=jorendorff 2012-07-31 19:18:22 -07:00
Bill McCloskey 0601c9b406 Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug) 2012-07-31 18:39:39 -07:00
Bill McCloskey e151dc258f Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes Bug 778993 - Separate runtime's gcMallocBytes from compartment's gcMallocBytes (r=gwagner) 2012-07-31 18:33:29 -07:00
Benjamin Peterson c731eaf9d3 Bug 779347 - Add AutoFile to automatically handle the closing of FILE *. r=jimb 2012-07-31 17:35:46 -07:00
Benjamin Peterson c40afc7692 Bug 779038 - Add an Evaluate variant which can read files. r=jimb 2012-07-31 15:25:41 -07:00
Till Schneidereit e93421594b Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Jeff Muizelaar 933e8b34d6 Bug 779220. Add JS_InternStringN for callers that know the length of the string. r=luke
This mirrors the existing JS_InternUCStringN.
2012-07-31 12:26:14 -07:00
Luke Wagner 9bdab548c9 Bug 779215 - CallJS(Native|PropertyOp|PropertyOpSetter) should JS_CHECK_RECURSION, r=dmandelin 2012-07-31 11:58:33 -07:00
Jason Orendorff 6431c1c754 Follow-up fix for bug 778921. We want tests to pass even when we have an even number of them. rs=luke via IRC. 2012-07-31 13:51:34 -05:00
Jason Orendorff fc4841ff57 Bug 778921 - Fix "warning: invalid manifest line element "pref(javascript.options.xml.content,true)" running JS tests in the shell with jstests.py. r=luke. 2012-07-31 11:55:45 -05:00
Ed Morley 210126aa08 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
David Zbarsky cde59970f9 Bug 779196 - Fix some initializing pointer as bool warnings r=luke 2012-07-31 10:28:23 -07:00
Till Schneidereit d2bea757a0 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Ed Morley a552c935ce Backout 1ff1bb2115c0 (bug 778383), d6fc07492b92 (bug 777589) for bustage 2012-07-31 17:44:07 +01:00
Benjamin Peterson 92eab1c482 Bug 777834 - Don't call into the tokenizer if it's in an error state. r=jorendorff 2012-07-31 09:26:55 -07:00
Benjamin Peterson 6fe69d5c17 Bug 777834 - Add a a tokenizer flag for error state. r=jorendorff 2012-07-31 09:26:48 -07:00
Luke Wagner f8cc7bf5e0 Bug 777630 - add missing prop ic (r=bhackett) 2012-07-30 11:36:23 -07:00
Terrence Cole a563f124d1 Bug 778383 - Make jstests.py use an options list to pass around extra args; r=dmandelin
--HG--
extra : rebase_source : c5512f19d32ac7760760417a857bd89df3b070d7
2012-07-27 18:40:39 -07:00
Terrence Cole 890f0344e1 Bug 777589 - Fix regress-50447-1.js, don't work around it in the harness; r=sfink
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-02.svg => layout/reftests/svg/viewBox-and-pattern-01.svg
extra : rebase_source : a437bbb952ad1a9cf3b3065bbe684a302ac10845
2012-07-27 18:16:11 -07:00
Aryeh Gregor 0793fb74ed Bug 778681 part 6 - Fix some misuses of bool as nsresult; r=bz 2012-07-27 16:51:50 +03:00
Mike Habicher 9e245cc9a4 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Andrew McCreight 23dd23ff11 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 29adcd066e Bug 761422, part 3 - get security wrappers before changing maps. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight e90b0700ba Bug 761422, part 2 - guard against double reflectors on failure in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Andrew McCreight 1a87ec52f1 Bug 761422, part 1 - Clone before we adjust XPC maps in ReparentWrapperIfFound. r=bholley 2012-07-30 21:01:59 -07:00
Benjamin Peterson d07da680be Bug 777190 - Don't compress files with huge strings; reenable source compression. r=jorendorff 2012-07-30 19:23:46 -07:00
Benjamin Peterson 123faba661 Bug 778560 - Fix typo that prevented JS from ever using zlib. r=dmandelin 2012-07-30 19:23:44 -07:00
Ryan VanderMeulen b8013885dc Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Olli Pettay 74c803718d Bug 777401 - DictionaryHelpers.* build problems, r=khuey 2012-07-30 23:10:26 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brendan Eich 8b4a0accf4 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Bobby Holley 7a038349c8 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 4f84e8ad39 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 3d7f99baf9 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 c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Landry Breuil 31fe3efb2e Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium 2012-07-30 17:57:04 +02:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Brian Hackett aa69831ee5 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 8363478cb0 Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Rafael Ávila de Espíndola 31559e638f Bug 778301 - Remove old change for llvm.org/pr11003.
--HG--
extra : rebase_source : 41006c35798d0722a43b6c37bc0216a6c6064aa9
2012-07-28 08:04:45 -04:00