Commit Graph

20326 Commits

Author SHA1 Message Date
Bob Clary
4b000d6aa2 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Luke Wagner
3595a4cdb6 Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Siddharth Agarwal
f976c1f6e5 Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted
--HG--
extra : rebase_source : 6a3f3017a3674738bb89e7e7f2e55c35a3cbe231
2012-08-28 00:57:16 +05:30
Rafael Ávila de Espíndola
f1d04b676c Bug 784029 - Revert 783505 when we drop support for gcc 4.2. r=jorendorff. 2012-08-27 15:37:34 -04:00
Nicholas Nethercote
3eb58b0432 Bug 784608 (part 8) - Remove FunctionBox::parent. r=luke.
--HG--
extra : rebase_source : 4cd9ee4acfdbcd262967fbebf536e8713abd5b56
2012-08-23 20:06:40 -07:00
Nicholas Nethercote
86ce71fef2 Bug 784608 (part 7) - Change the form and meaning of ParseContext::innermostWith, and do follow-up simplifications. r=luke.
--HG--
extra : rebase_source : 035c8976f4767235c5f88f0440401c668c7676a8
2012-08-23 16:50:25 -07:00
Nicholas Nethercote
7e452cdec4 Bug 784608 (part 6) - Rename some parsing and emitting variables. r=luke.
--HG--
extra : rebase_source : c21e322bb37172ca45ddac032a851465545fd2b8
2012-08-22 23:16:05 -07:00
Nicholas Nethercote
4bd46dce28 Bug 784608 (part 5) - Rename some FunctionBox method args. r=luke.
--HG--
extra : rebase_source : 19ad67052ec6df71d1a5a1d68a8f21487c7c8d8f
2012-08-22 20:12:44 -07:00
Nicholas Nethercote
0914cdefb7 Bug 784608 (part 4) - Remove FunctionBox::inAnyDynamicScope. r=jimb.
--HG--
extra : rebase_source : 22ce4b1e4e1fe7dffa6a28ce59087926d3ef5b93
2012-08-22 17:50:35 -07:00
Nicholas Nethercote
c9d258f5b1 Bug 784608 (part 3) - Remove FunctionBox::node. r=jimb.
--HG--
extra : rebase_source : 6fdb125d6d7362987f52e3c3e552d002daf544c3
2012-08-22 17:25:55 -07:00
Nicholas Nethercote
5ea69a2892 Bug 784608 (part 2) - Remove FunctionBox::level. r=jimb.
--HG--
extra : rebase_source : 0e887c586df02cf84f16816457a6f22e004b34bf
2012-08-22 17:25:53 -07:00
Nicholas Nethercote
47287a3eb0 Bug 784608 (part 1) - Remove FunctionBox::inLoop. r=jimb.
--HG--
extra : rebase_source : 451f30919691a128c0003b0e763a3e50d6f627bf
2012-08-21 23:55:51 -07:00
Shu-yu Guo
e9f34d6e58 Bug 784873 - Improve ParallelArray jit-test code (r=dvander) 2012-08-26 12:02:42 -07:00
Jason Orendorff
309ca80b4b Bug 778851 - Disable E4X in content by default. 2012-08-26 09:04:33 -05:00
Mike Hommey
44c1eef21d Backout changeset a1ba35958b98 (bug 781529) because of a gcc bug that leads to bug 785679 2012-08-26 10:15:10 +02:00
Brian Hackett
a9a74a44bf Don't automatically assume that uint32array reads will produce doubles, bug 785543. r=luke 2012-08-25 06:11:55 -06:00
Marco Castelluccio
0711c896c5 Bug 783765 - Use libnotify as a dynamic library. r=glandium 2012-08-25 08:54:16 +02:00
Peter Van der Beken
bb71680e0a Bug 753517 part 5. Enable the list IC for new DOM bindings too. r=bz. 2012-08-24 09:32:26 -07:00
Boris Zbarsky
efc50e4b0d Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
Dave Herman
b97f614fbc Bug 632027 - comma expressions in array literals are discarded. r=jorendorff 2012-08-24 16:54:40 -07:00
Ehsan Akhgari
caaabb5bd4 Bug 785500 - Remove the unused CrossScriptSSA::cx member; r=luke 2012-08-24 17:14:18 -04:00
Terrence Cole
36024c3f8a Bug 776583 - Make post barrier verifier pass interpreter tests; r=billm
--HG--
extra : rebase_source : c5c8865774d32513cbed97b98b3084f04a61a7f1
2012-07-16 10:54:56 -07:00
Alex Crichton
b4f64c7ce2 Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff 2012-08-24 09:54:37 -07:00
Andrew McCreight
86e263762f Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Luke Wagner
f9aafd561f Bug 784706 - clear proxiedScopes in DebugScopes::onCompartmentLeaveDebugMode (r=jimb) 2012-08-23 10:58:24 -07:00
Dave Herman
1e17d124a3 Bug 742612 - address additional style nit from review. r=jorendorff 2012-08-24 09:00:50 -07:00
Dave Herman
6f60d4e17b Bug 742612 - Reflect.parse: separate guarded/unguarded catch clauses. r=jorendorff 2012-08-24 08:30:44 -07:00
Luke Wagner
c3caa3a90c Fix backout to account for infallible-JSAutoCompartment change on a CLOSED TREE (no bug, r=bustage) 2012-08-23 22:12:21 -07:00
Matt Brubeck
424ea88da6 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
48fc85f058 Bug 780370 - Remap objects from standard prototypes even if they're explicitly exposed. r=mrbkap 2012-08-23 19:07:14 -07:00
Bobby Holley
b2b8ff55f2 Bug 780370 - Clarify the compartment situation in ChromeObjectWrapper. r=mrbkap
Not sure what I was thinking before. We should always be in the compartment of the wrapper here.
2012-08-23 19:07:13 -07:00
Luke Wagner
e02c91584a Bug 625199 - Actually that NULL check was necessary in js_GetPropertyHelperInline (having a non-null pc does not mean currentScript is non-null because currentScript returns null when cx->fp is in another compartment (r=bustage) CLOSED TREE
--HG--
extra : rebase_source : f35ede2c9fba57aa09775cf80e8ce064d1f90394
2012-08-23 18:42:29 -07:00
Andrew McCreight
fa58a83b2b Bug 785482 - Fix typo in definition of JS_RemoveScriptRootRT. r=terrence 2012-08-24 12:56:10 -07:00
Terrence Cole
340bde0157 Bug 785524 - Remove JS_MakeStringImmutable; it is no longer necessary; r=luke
--HG--
extra : rebase_source : bf9e007733e5f4c6ab3fcc618c3fcff3b2fb69fc
2012-08-24 15:00:38 -07:00
Terrence Cole
5e413f34f8 Bug 785927 - Fix warning for unused IsValueInCompartment; r=bhackett
--HG--
extra : rebase_source : 1f72c64450274fe860de6c22db7292dec83070b6
2012-08-27 10:39:21 -07:00
Andrew McCreight
4d2ed11d00 Bug 749366, part 2 - remove unused SizeOfJSContext. r=njn 2012-08-27 10:43:08 -07:00
Andrew McCreight
671b32897c Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Eric Faust
a448289ba6 Bug 785576 - Mark dense array properties as 'own'. (r=bhackett) 2012-08-27 13:34:52 -04:00
Luke Wagner
f7d12ea122 Bug 771168 - AssertJit should not assume there is a StackFrame (test only,r=me) 2012-08-27 08:55:18 -07:00
Peter Van der Beken
486198a6d8 Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap. 2012-06-06 21:52:26 +02:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
48412c861d Bug 625199 - kill dummy frames (r=mrbkap)
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Luke Wagner
a8468322d3 Bug 625199 - remove unnecessary uses of 'parent' that can now use cx->global (r=mrbkap)
--HG--
extra : rebase_source : a71ff786343a910dbd12ebfa4b2dbde4dc9ff2ae
2012-08-17 11:21:57 -07:00
Bobby Holley
2114d947a1 Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke 2012-08-23 16:44:53 -07:00
Bobby Holley
63dfef11f8 Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Bobby Holley
b27acb570c Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-08-23 16:44:53 -07:00
Kyle Huey
da0880b2aa Bug 766793: Look for .pp files for shared libraries. r=ted a=philor for landing on a CLOSED TREE 2012-08-23 13:32:37 -07:00
Alex Crichton
2a0272916d Bug 785094: Fix negative colspans showing up in the wrong places. r=jorendorff 2012-08-23 12:05:05 -07:00
Bobby Holley
c3b9f1b805 Bug 757046 - Convert enablePrivilege into an insecure test-only construct (preffed off everywhere but in automation). r=bz 2012-08-23 11:45:28 -07:00
Bobby Holley
aee6ec5aaf Bug 784857 - Turn on enablePrivilege for JSReftests. r=mccr8 2012-08-23 11:45:28 -07:00
Luke Wagner
0f96a5287e Bug 784551 - remove JSSecurityCallbacks::findObjectPrincipals (r=mrbkap)
--HG--
extra : rebase_source : 8043b79eb031e4c3e196f6f693fa6a8a16099ecb
2012-08-23 09:51:09 -07:00
Luke Wagner
5909817000 Bug 668558 - remove JSSecurityCallbacks::subsumePrincipals (r=mrbkap)
--HG--
extra : rebase_source : 6cb1ce1b8f2505ca98235e7ad44138ac5f42737a
2012-08-23 09:45:24 -07:00
Alex Crichton
dc4ba0ae86 Bug 785089 - Fix an assertion failure when naming functions on labels. r=jimb 2012-08-23 10:51:23 -07:00
Andrew McCreight
85ee7e2fc8 Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm 2012-08-08 11:05:58 -07:00
Jon Coppeard
1cbfae86d2 Fix bad indentation in fix for 784282 (no bug, DONTBUILD) 2012-08-23 15:20:30 +01:00
Alex Crichton
d022f3d212 Bug 433529 - Part 8: Fix dtrace builds with new displayAtom(). r=peterv 2012-08-23 00:12:16 -07:00
Peter Van der Beken
854457d901 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Eric Faust
23b78d9867 Bug 781855 - Fix incorrectly shadowing 'own' properties in the case of prototypal setters. (r=bhackett) 2012-08-22 22:05:21 -07:00
Nicolas B. Pierron
299459b7d4 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 20:51:01 -07:00
Alex Crichton
0a8d451707 Bug 433529: Part 7 - Name functions whose field in an object literal is a PNK_STRING node. r=jimb 2012-08-22 19:07:40 -07:00
Alex Crichton
72eed0ed94 Bug 433529: Part 6 - Add JS_GetFunctionDisplayId as a jsapi function for a JSFunction's displayAtom. r=jimb 2012-08-22 19:07:40 -07:00
Alex Crichton
ffc8f1a3d8 Bug 433529: Part 5 - Add jit-tests for the displayAtom() attribute of functions. r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
4c4e0e6da1 Bug 433529: Part 4 - Add DebuggerObject_displayName for a function's displayAtom attribute. r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
4041c2589e Bug 433529: Part 3 - Change error stack traces to use displayAtom() instead of atom(). r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
ad9fae9416 Bug 433529: Part 2 - Add a displayAtom to JSFunction to store resolved names. r=jimb 2012-08-22 19:07:38 -07:00
Alex Crichton
6af1c4a887 Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb 2012-08-22 19:07:38 -07:00
Jan Beich
b46c5a2b06 Bug 784741 - Unbreak --enable-debug --disable-methodjit on platforms without YarrJIT support. r=dmandelin 2012-08-22 21:28:47 -04:00
Jan Beich
c50f026bd7 Bug 784741 - Don't implicitly define ENABLE_YARR_JIT with MethodJIT. r=dmandelin 2012-08-22 21:28:47 -04:00
Nicholas Nethercote
f6ce18ae80 No bug. Fix a spelling mistake in a function name and avoid a compile warning. r=terrence. 2012-08-22 17:48:35 -07:00
Norbert Lindenberg
299825de4b Bug 785805 - Segmentation fault when calling %ThrowError for message with three arguments. r=tschneidereit
--HG--
extra : rebase_source : 3dde8d1b305e16bd204289d8acdfc2e6e45dde50
2012-08-28 20:03:00 +02:00
Shu-yu Guo
96d37bd9ee Bug 784345 - Fix behavior of holes in ParallelArrays (r=dmandelin)
--HG--
rename : js/src/jit-test/tests/parallelarray/element-4.js => js/src/jit-test/tests/parallelarray/holes-2.js
2012-08-29 01:24:18 -07:00
Boris Zbarsky
57a6d8a0f3 Bug 783867. Don't blindly assume IsDOMClass objects are nsISupports. r=peterv 2012-08-22 12:18:46 -07:00
Alex Crichton
e47d9a9b39 Bug 568142 - Part 2: Have ParseNode's pn_pos enclose children better. r=jorendorff 2012-08-22 12:03:11 -07:00
Alex Crichton
ffaca98dfe Bug 568142 - Part 1: Add column numbers to error reports. r=jorendorff 2012-08-22 12:03:11 -07:00
Brian Hackett
3a886a65cd Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 12:28:34 -06:00
Luke Wagner
be65bb7776 Bug 784639 - Fix SetNameOperation to not use cx->fp since it is wrong for jit-inlined calls (r=bhackett)
--HG--
extra : rebase_source : 046400a0df483fe5d8e1a7cb96219fb9416d1be8
2012-08-22 10:57:42 -07:00
Alex Crichton
7b521308db Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett 2012-08-22 09:39:03 -07:00
Ehsan Akhgari
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Luke Wagner
944ed67aa3 Bug 784550 - Fix overly-conservative deoptimization of assignment to named lambda (r=jorendorff)
--HG--
extra : rebase_source : ddd625be29c4221843ddc52b9f1c39124c4b1f08
2012-08-21 18:26:22 -07:00
Ed Morley
25981862a2 Backout d62929fa4325 for talos crashes 2012-08-22 14:53:11 +01:00
Brian Hackett
0bfe9633b5 Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 06:27:18 -06:00
Eric Chou
5ea354700f Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Jon Coppeard
de317327ba Bug 779183 - GC: Incremental sweeping of atoms table part 2 - Sweep atoms compartment at the end r=billm 2012-08-22 10:45:37 +01:00
Jon Coppeard
4a5ff44d45 Bug 779183 - GC: Incremental sweeping of atoms table part 1 - Add per-compartment mark/sweep state r=billm 2012-08-22 10:45:37 +01:00
Jon Coppeard
c6c2b84239 Bug 784282 - GC: Assert that cross-compartment pointers are wrapped when marking r=billm 2012-08-22 10:45:37 +01:00
Shu-yu Guo
46ea7218fb Bug 767961 - Only mark properties as definite if we could analyze the entire constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
074d7c035d Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
fc9f81855b Bug 783924 - Part 1: Fix ParallelArray constructor being called with non array-like objects (r=dmandelin) 2012-08-21 12:29:46 -07:00
Brian Hackett
13132898c0 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Bobby Holley
826e13d885 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
Luke Wagner
91c9380e0c Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
Luke Wagner
ae24ad4622 Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff) 2012-08-20 13:45:54 -07:00
Irving Reid
a4c9832edd Bug 782471: Add library name to ctypes Library::Create() error message for easier debugging; r=bholley 2012-08-13 13:23:23 -04:00
Jon Coppeard
693f238524 Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm 2012-08-21 09:58:30 +01:00
Jon Coppeard
0594a6f41e Bug 782993 - Part 1: Always sweep background things at the end r=billm 2012-08-21 09:47:15 +01:00
Jon Coppeard
49cd986642 Bug 779897 - GC: Use arenaListsToSweep to queue arenas for background as well as foreground sweeping r=billm 2012-08-21 09:45:33 +01:00
Shu-yu Guo
524b1a3ebe Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin) 2012-08-20 22:02:18 -07:00
Shu-yu Guo
4703573b8b Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin) 2012-08-20 22:02:11 -07:00
Shu-yu Guo
7b5e9a027f Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin) 2012-08-20 22:02:04 -07:00
Bobby Holley
7e122c271a Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00