Commit Graph

19696 Commits

Author SHA1 Message Date
Brian Hackett
eca5f07a6f Treat known booleans like integers during bitops, bug 774812. r=jandem 2012-07-18 06:43:18 -06:00
Brian Hackett
b12fe94570 Use distinct types and scripts for generic inner wrapper functions, bug 638794. r=jandem 2012-07-18 06:35:00 -06:00
Bobby Holley
b4fc3bcfe8 Bug 774245 - Tests. r=mrbkap 2012-07-18 13:51:28 +02:00
Bobby Holley
0a7b5241fb Bug 774245 - Reimplement LookupMethod. r=mrbkap 2012-07-18 13:51:28 +02:00
Bobby Holley
217bf3edb0 Bug 774245 - Add WrapperFactory and XrayWrapper machinery to allow same-compartment Xray wrapping. r=mrbkap 2012-07-18 13:51:28 +02:00
Bobby Holley
0586e200e7 Bug 774245 - Factor out single-level checked unwrapping into a helper function. r=mrbkap 2012-07-18 13:51:28 +02:00
Nicholas Nethercote
a5bc06b42e Bug 771378 (part 3) - Remove MUST_FLOW_THROUGH and related things. r=jwalden.
--HG--
extra : rebase_source : cf7a8638b7ce8a9313561f22686dc16371d14756
2012-07-17 16:40:25 -07:00
Nicholas Nethercote
5b04f7644a Bug 771378 (part 2) - Remove use of MUST_FLOW_THROUGH from jsxml.cpp. r=jwalden.
--HG--
extra : rebase_source : 0ee0800006badf84d5ab415a858354e606f648fb
2012-07-17 16:40:21 -07:00
Nicholas Nethercote
8d60ccac35 Bug 771378 (part 1) - Remove use of MUST_FLOW_THROUGH from BytecodeEmitter.cpp. r=jwalden.
--HG--
extra : rebase_source : c45808569daa61d10bd57fdc5b969e4880cc3ada
2012-07-17 16:36:50 -07:00
Nicholas Nethercote
a8fffc0cb9 Bug 771378 (part 0) - Add ScopedFreePtr to Utility.h. r=jwalden.
--HG--
extra : rebase_source : b43cb64bb1175c4111903f5c30f533612daae841
2012-07-05 17:29:56 -07:00
Chris Jones
17dd1fb32e Bug 774139, part 0: Rename 'NO' typename because that's a constant in Objective-C++. r=bz 2012-07-17 16:01:56 -07:00
Luke Wagner
c787c53ebe Bug 772688 - remove CallObject property ops and sea witch (r=bhackett) 2012-07-11 15:46:06 -07:00
Luke Wagner
aed79f59d6 Bug 772688 - add BindingIter and use it instead of directly touching a Binding's shape (r=waldo) 2012-07-05 20:35:08 -07:00
Steve Fink
98e8cfcf46 Bug 769192 - Typed array accessors should not use JSPROP_READONLY. r=Waldo 2012-07-16 11:11:06 -07:00
Eddy Bruel
8dad401f87 Bug 767059 - Commenting the parser; r=jorendorff 2012-07-17 20:16:28 +02:00
Rafael Ávila de Espíndola
ef725ee50d Bug 774671 - Fix mismatched declarations. r=luke. 2012-07-17 12:54:41 -04:00
Nicolas Pierron
31732ff632 Bug 772509 - Freeze a compilation output instead of a script. r=bhackett 2012-07-17 18:17:24 +02:00
Gabor Krizsanits
0b4bc96f9f Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley 2012-07-17 17:51:21 +02:00
Jeff Walden
dfefdec124 Bug 770344 - Experiment implementing __proto__ as an accessor. r=luke 2012-06-27 18:35:56 -07:00
Gabor Krizsanits
ce3fab5c93 Bug 769273 - part3: Cu.nukeSandbox. r=bholley 2012-07-17 17:41:07 +02:00
Gabor Krizsanits
a3e7386b45 Bug 769273 - part2: Refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley 2012-07-17 17:36:15 +02:00
Eddy Bruel
1529db01fe Merge of bug 722555 with m-i 2012-07-17 16:26:37 +02:00
Eddy Bruel
4ccae27521 bug 722555 - Add RGBA support to BMP encoder; r=jgilbert 2012-07-17 16:20:14 +02:00
Gabor Krizsanits
973b145bce Bug 769273 - part1: Prep for refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley 2012-07-17 15:38:53 +02:00
Bobby Holley
d65920d252 Bug 767273 - Never declare a stack-allocated PropertyDescriptor within SM, and make API safe. r=luke 2012-07-17 12:10:09 +02:00
Rafael Ávila de Espíndola
acfd236b57 Bug 774559 - more workaround for llvm.org/pr12127. r=dvander.
LLVM is inlining these functions that use a lot of stack space into the
recursive EmitTree.
2012-07-16 23:53:30 -04:00
Ehsan Akhgari
5a262d0761 Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky 2012-07-16 21:42:18 -04:00
Alex Crichton
3ee3fbd828 Bug 774330: Don't unnecessarily prevent code from entering the JIT with SPS enabled. r=luke 2012-07-16 18:11:20 -07:00
Luke Wagner
7970571b2d Bug 683069 - rm setParent hack in JSCompartment::wrap (r=bholley)
--HG--
extra : rebase_source : 5e011d68fa37c812d2f238c6574def343f9a8e42
2012-07-16 17:37:57 -07:00
Benjamin Peterson
4adca6804b Bug 774511 - Remove unused exception message. r=terrence 2012-07-16 20:38:47 -04:00
Peter Van der Beken
629bad9698 Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
--HG--
extra : rebase_source : 26d0508b8a11d75164ae4b27af8c64e8845166f9
2012-07-16 16:52:59 +02:00
Luke Wagner
8b3f68b81c Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 1e868b37de87f94799500019cc13e7b8abe3c0f3
2012-07-05 20:35:08 -07:00
Luke Wagner
789ba7816e Bug 753158 - Don't resolve uses to defs that cross non-top-level function statements (r=dvander)
--HG--
extra : rebase_source : 36331b2b862186f224c2edaf3d9a8d23a079269a
2012-07-16 17:09:52 -07:00
Luke Wagner
7e20744b28 Bug 773927 - Propagate closed-ness in CompExprTransplanter (r=dvander)
--HG--
extra : rebase_source : 85f484b705372b380832d94172024b0da20f19cf
2012-07-16 15:10:38 -07:00
Luke Wagner
a61042ee80 Bug 773929 - Restore pre-bug 765956 behavior in CheckNewScriptProperties (r=bhackett)
--HG--
extra : rebase_source : ffa490e628a71102886f56207a994e0c7fbdd4ab
2012-07-16 15:08:49 -07:00
Nicholas Nethercote
54e1cc8b68 Bug 772615 (part 2) - Enter compartments before calling GetNativeOfWrapper() in the JS memory reporter. r=bholley. 2012-07-15 19:59:47 -07:00
Nicholas Nethercote
1603d4d6fc Bug 772615 (part 1) - Use the safe JSContext in the JS memory reporter. r=bholley. 2012-07-15 21:03:27 -07:00
Jeff Walden
1cf3018b6e Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
--HG--
extra : rebase_source : 1a015ffd3faa9fa6c82426c94058bce026602f8c
2012-07-03 17:44:22 -07:00
Nick Fitzgerald
a80c9584f6 Bug 774464: Don't delete the sourceMapMap just because the 'putNew' operation failed. r=jimb 2012-07-16 15:09:55 -07:00
Jim Blandy
a44571a10b (No bug): js/src/frontend/Parser.cpp:Parser::comprehensionTail returns pointers, not bools. r=luke in IRC 2012-07-16 13:41:03 -07:00
Rafael Ávila de Espíndola
899f483355 Bug 774120 - #ifdef fields only used in debug builds. r=terrence. 2012-07-16 16:39:31 -04:00
Kannan Vijayan
c0173da404 Bug 773731 - Fix UseNewType pattern matching. (r=bhackett) 2012-07-16 15:36:12 -04:00
Kannan Vijayan
c155e8a30e Backed out changeset 8837ebfb3045 - wrong bug number. 2012-07-16 15:33:51 -04:00
Alex Crichton
3b5b3af87f Bug 774343 - Move the JS shell SPS assertion so the browser can use it. r=luke 2012-07-16 10:55:25 -07:00
Ed Morley
c23835f558 Backout 29104ecddc3a (bug 769464) for crashtest assertions 2012-07-16 18:49:14 +01:00
Ed Morley
5c5b8e26a9 Merge mozilla-central to mozilla-inbound 2012-07-16 18:32:39 +01:00
Gabor Krizsanits
d5f97a1ca6 Bug 771081 - part3: Rename WaiveXrayWrapperWrapper. r=gal 2012-07-16 19:28:17 +02:00
Lukas Blakk
1d83c46b16 Merging in version bump NO BUG 2012-07-16 10:08:20 -07:00
Gabor Krizsanits
a9011adbd5 Bug 771081 - part2: Rename CrossOriginWrapper files. r=gal
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-16 19:22:51 +02:00
Gabor Krizsanits
c39841ecfc Bug 771081 - part1: Rename CrossOriginWrapper. r=gal 2012-07-16 17:53:16 +02:00