Commit Graph

20068 Commits

Author SHA1 Message Date
Bobby Holley
c4f9821cde Bug 778085 - Tests. r=ejpbruel
--HG--
extra : rebase_source : a63199371f5f5e5bc9271d68224a8dc39aa08754
2012-08-10 13:55:56 +02:00
Bobby Holley
387c544c5a Bug 778085 - Add a wrapWithProto function to the shell. r=ejpbruel
This allows us to test this stuff in script.

--HG--
extra : rebase_source : 4eac660e2619594f5c5e2f55f4c5506a2f13c037
2012-08-10 13:55:56 +02:00
Bobby Holley
3ad4456011 Bug 778085 - Add simple withPrototype versions of DirectWrapper and CrossCompartmentWrapper. r=ejpbruel
These are helpful for testing, and will also be useful in XPConnect. Note that the Wrapper
and Proxy hierarchy will soon be merged.

--HG--
extra : rebase_source : c9c846871a0bba4c9574eb5274dfe22f24d183b0
2012-08-10 13:55:55 +02:00
Bobby Holley
c623bc5cfa Bug 778085 - Add prototype suppport in Proxy::foo implementations. r=ejpbruel
--HG--
extra : rebase_source : edea12c8d6cdd879439a9de24faa3d7abb19bfc3
2012-08-10 13:55:55 +02:00
Bobby Holley
5fdccba78b Bug 778085 - Add AutoVectorRooter.append(AutoVectorRooter). r=luke
--HG--
extra : rebase_source : 4dbc18944c31e82d7950f6ac2624fb614a4fdc03
2012-08-10 13:55:55 +02:00
Bobby Holley
08d74ebe03 Bug 778085 - Add optional getPrototypeOf trap. r=ejpbruel
--HG--
extra : rebase_source : 58c46c0df9082c8534d16d64144750e4c9ed7587
2012-08-10 13:55:55 +02:00
Bobby Holley
3461a53566 Bug 778085 - Use the Handle API in a few more places in Proxy. r=efaust
--HG--
extra : rebase_source : 28c969ca61def36a14df6ee06681b17a44e2f993
2012-08-10 13:55:55 +02:00
Bobby Holley
3e719a7948 Bug 776328 - Only create holders for WNs. r=mrbkap 2012-08-10 10:19:51 +02:00
Benjamin Peterson
049284c87e Bug 781009 - Make CompileOptions constructor explicit. r=jimb 2012-08-09 18:21:22 -07:00
Benjamin Peterson
79aab7e41f Bug 781403 - Remove weird, old performance tests. r=dmandelin 2012-08-09 18:21:20 -07:00
Luke Wagner
4fb59c3e37 Bug 780288 - Fix bugs in js shell Help native (r=billm)
--HG--
extra : rebase_source : 7f9acb83ff14186933b3eaa19e7b577d1d510bc7
2012-08-09 16:09:46 -07:00
Pavel Zaichenkov
aea8bc1557 Bug 745251 - Implement --jitflags argument for jstests.py. r=terrence 2012-08-05 17:12:08 +04:00
Bill McCloskey
b257c7ff2f Bug 770713 - Fix PC adjustment in JSOP_RETSUB (r=bhackett) 2012-08-09 11:38:47 -07:00
Bill McCloskey
b3e1af2078 Bug 777693 - Initialize values before rooting in JSD (r=terrence) 2012-08-09 11:38:36 -07:00
Bill McCloskey
07812cd0d6 Bug 780027 - Initialize AutoIdVector before use (r=terrence) 2012-08-09 11:38:30 -07:00
Terrence Cole
7bd6fe0afa Bug 781445 - Remove a python 2.7 only function from tasks_unix.py; r=benjamin 2012-08-09 10:52:40 -07:00
Terrence Cole
a81284ed33 Bug 780309 - Move atom methods into js namespace; r=luke
This is a simple cleanup of jsatom.h.

--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 8f656ab55c593a76ce91222c4306a4206708a77f
2012-08-08 14:02:30 -07:00
Nicolas B. Pierron
fcaf45a02d Bug 780274 - Remove & Invalidate pending compilation when sweeping. r=bhackett 2012-08-09 20:22:43 +02:00
Bill McCloskey
e1540c799c Bug 780653 - Make CellIter work during incremental sweeping (r=jonco) 2012-08-09 11:16:33 -07:00
Nicholas Nethercote
d05b248e0f Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Boris Zbarsky
8cded52f17 Bug 780542. Make construction via a function proxy with an object in the constructor slot actually construct instead of just calling. r=ejpbruel 2012-08-08 23:47:04 -04:00
Luke Wagner
726e6a6f65 Bug 778919 - remove CheckStrictParameters (r=ejpbruel)
--HG--
extra : rebase_source : 7c7f74083de788ab19a5af9dfa60f60e281ac702
2012-07-30 14:21:58 -07:00
Luke Wagner
0b90cd7539 Bug 778919 - CheckStrictBinding for formals like all other bindings (r=ejpbruel)
--HG--
extra : rebase_source : 4572c02598a02832f0e847b46445532eb281c615
2012-07-30 13:41:19 -07:00
Luke Wagner
6b85fd7329 Bug 778919 - move DefineArg and BindDestructuringArg to be next to functionArguments (r=ejpbruel)
--HG--
extra : rebase_source : c0748f27a1e0193b6081d261d99dc44688a47ea4
2012-07-30 13:40:29 -07:00
Luke Wagner
c2fca1a0bd Bug 772328 - simplify ParseNode::resolve (r=ejpbruel)
--HG--
extra : rebase_source : 0e5e432233f01a46f398d0356f45032495c036fd
2012-08-07 16:06:59 -07:00
Luke Wagner
e8ac77b8f5 Bug 772328 - function statements should restate, not shadow, formal parameters (r=ejpbruel)
--HG--
extra : rebase_source : a6425a0e317ffd1437f0f6230d03f3487edc8389
2012-07-24 13:44:23 -07:00
Luke Wagner
a706d68d60 Bug 772328 - add and use IsArgOp and IsLocalOp (r=ejpbruel)
--HG--
extra : rebase_source : ce6464d39bd7f8e273d6ec7df1f4a447a22f98b1
2012-07-26 16:08:33 -07:00
Luke Wagner
d27c08fad8 Bug 772328 - simplify MakeDefIntoUse (r=ejpbruel)
--HG--
extra : rebase_source : 127c266fac60b34820ff0373fd26ceb9306b0853
2012-07-26 16:08:31 -07:00
Benjamin Peterson
0195f43641 Bug 781289 - Remove unecessary check that let variable name matches are atoms. r=luke 2012-08-08 11:52:09 -07:00
Benjamin Peterson
754a2a4a8f Bug 781071 - Account for the enclosing scope being NULL. r=luke 2012-08-08 11:52:07 -07:00
Brian Hackett
f96051cd2d Fix typo, bug 769911. r=luke 2012-08-08 12:42:47 -06:00
Andrew McCreight
8a8a3e7167 Bug 761620 - Throw an exception for unpreservable weak map keys. r=billm 2012-08-08 11:05:58 -07:00
Terrence Cole
6c2dc1c4e5 Bug 780765 - Do not create DependentStrings that can be InlineStrings; r=luke
These would create a nasty hazard for a moving GC and it makes little sense to
make them dependent anyway because there is enough room already to store the
depended string inline.
2012-08-07 10:51:45 -07:00
Mike Hommey
32a6095cde Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Eric Faust
3e8a5ebf81 Bug 781040 - Fault in methods and accessors with JSJitinfos on ResolveProperty. (r=bz,benjamin) 2012-08-07 22:26:19 -07:00
Eric Faust
d716d6a9f9 Bug 773546 - Part 1: Punch an API hole to retrieve stored JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Eric Faust
17695b5079 Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
a00c8cb2bd Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
b451a97a53 Bug 747287 - Part 1: Generate JSJitInfos and specialized accessors for Paris bindings. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
a57b8f95a2 Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Jan Beich
9cc81dcf5d Bug 780432 - Add experimental --enable-pulseaudio configure option. r=kinetik,khuey
--HG--
extra : rebase_source : 9bf00787997d4ed465427e6570c5d937c1cb9ff4
2012-08-08 10:26:04 +12:00
Daniel Holbert
adaf4a56ba Bug 780965: Use C-style instead of C++-style comments in JS headers included by .c files. r=jorendorff 2012-08-07 14:32:24 -07:00
Benjamin Peterson
f24a289fc2 Bug 780405 - Set the funbox kids in LeaveFunction, so generator expression boxes don't lose them. r=jorendorff 2012-08-07 13:41:31 -07:00
Siddharth Agarwal
1ef1226122 Bug 585011 - Invoke cl.py as a pymake native command. r=ted
--HG--
extra : rebase_source : c8e2bfe4e17c39c27e33cfade0e3a6984d104c2f
2012-08-08 00:49:55 +05:30
Joey Armstrong
f2e2e4f425 bug 771287: xpidl unit test failure 2012-08-07 14:42:30 -04:00
Rafael Ávila de Espíndola
96f2c582d4 Bug 779288 - Set CCACHE_CPP2 on linux too. r=khuey.
move the definition out of a OS X only block.
2012-08-07 14:25:26 -04:00
Marshall Culpepper
1df5cd4841 Bug 780739: Add -Wno-psabi to suppress B2G va_list mangling warnings. r=ted
--HG--
extra : rebase_source : 478202943d2a754f4d76f78cf7ddb2f60c2feb75
2012-08-07 12:26:44 -05:00
Luke Wagner
bfd1b26a81 Bug 780712 - CrossCompartmentWrapper needs to handle regexp_toShared (r=billm)
--HG--
extra : rebase_source : 5b96cf124a0227c8a147a2c1b2306358473a8bf0
2012-08-07 09:50:52 -07:00
Benjamin Peterson
b97eb065c8 Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst 2012-08-07 10:39:47 -07:00
Benjamin Peterson
6cf0a7f6d8 Bug 779724 - Replace JSOPTION_ONLY_CNG_SOURCE with an enum on CompileOptions. r=jorendorff 2012-08-07 10:39:45 -07:00