Commit Graph

55954 Commits

Author SHA1 Message Date
Paul Biggar
464c5195d7 Bug 590486: Remove snarl now that eval is fast again.
In bug 578158, we needed to run entire benchmarks through eval(), but some
benchmark features erroneously prevented the tracer from running. Snarl() was
added to be an eval() without that limitation. Once that limitation was fixed, in
bug 580529, eval() could be used again and so Snarl() wasn't needed.

--HG--
extra : rebase_source : 0f77190acb0756d067ac9f998c5187c931483e1f
2010-10-14 17:49:49 -07:00
Blake Kaplan
e1d2f6f844 Bug 604368 - Protect against the this translator returning a this object from another domain. r=peterv
--HG--
extra : rebase_source : cf6f17e100d0b2fc1cef483e3480757f636d877a
2010-10-14 16:57:56 -07:00
Blake Kaplan
7961434bd1 Bug 604368 - Successfully get principals off of sandboxes too. r=peterv
--HG--
extra : rebase_source : 78252e0d3a702d3fdbe2221e8649bf59896b47d4
2010-10-14 16:57:27 -07:00
Jason Orendorff
7062d1174d Silence the few noisiest MSVC warnings. Bug 604276, r=luke.
--HG--
extra : rebase_source : 10874d0c67e080a7143c5a57066a3fd3db6209cb
2010-10-14 18:47:24 -05:00
Sean Stangl
c92d9ddfdd Detect some OOM conditions. b=602935, r=jorendorff. 2010-10-14 19:24:09 -04:00
Blake Kaplan
fd4258f7a7 Fix more orange. a=orange 2010-10-14 16:00:55 -07:00
Blake Kaplan
cfbcf1b6ef Fix bustage. a=orange
--HG--
extra : transplant_source : %CA%90%83%CA%B8%EF%94%24%D8b%FE%8F%E0-%86%B6%BB%0A%8E%EE
2010-10-14 15:53:23 -07:00
Blake Kaplan
2705deadbc Bug 604363 - Don't create Xray wrappers for chrome objects in sandboxes. r=peterv
--HG--
extra : rebase_source : 417edb2b843c0f3d8c4f5cb28d1872d901b3081d
2010-10-14 14:56:31 -07:00
Dave Herman
d78d204bb8 bug 602940, r=brendan: remove narcissus from hg tree 2010-10-14 14:36:17 -07:00
Jeff Walden
9f83aeddb8 Revert 782a44082ed2, which was a somewhat-too-optimistic removal of code that's not dead yet (and is not getting better). r=orange 2010-10-14 14:20:59 -07:00
Andreas Gal
3417abf36c Don't try to waive Xray wrapper for primitives (604361, r=mrbkap). 2010-10-14 13:41:52 -07:00
Jeff Walden
f8640c1804 Fix old comment referring to eval cache code being in obj_eval. r=waylon
--HG--
extra : rebase_source : d16f94910568917291fb0b28b124e1632c1f02af
2010-10-11 11:49:29 -07:00
Jeff Walden
c2c3186f83 Bug 602441 - Remove nigh-unreachable property-cache-testing code (modulo MT objects, nearing complete removal from SpiderMonkey) in the property-setting codepath. r=brendan
--HG--
extra : rebase_source : 38ed65e2dde3b80086be6da4a75120d24759df81
2010-10-07 13:59:23 -07:00
Jeff Walden
4500a1845e Bug 602441 - JM: Botched extensibility checking when attempting to add a new property to an object. r=dmandelin
--HG--
extra : rebase_source : 1676262c875cd2d283f63c28ae86c9230b7b942a
2010-10-07 12:30:13 -07:00
Jeff Walden
ec6a82be0d Add a test for (eval)(code) being direct eval; also add tests for (1,eval)(code), (a?b:eval)(code), and so on (constant-folding expressions, at least before bug 537673) being indirect. r=lumpy
--HG--
extra : rebase_source : cfed63291a05d936ab76909fe68a0c92ee90d9cd
2010-10-08 20:27:19 -07:00
Jeff Walden
516e962572 Remove declaration for the never-defined js_GetWrappedObject method (obj->wrappedObject(cx) was the long-ago replacement). r=sparky
--HG--
extra : rebase_source : d50bcf859e415469494e53426ba51d0e4304e676
2010-10-07 16:37:38 -07:00
Sean Stangl
7db1c7a596 Eliminate ImmutableSync on x64. b=601066, r=dvander. 2010-10-12 20:08:40 -04:00
Sean Stangl
99e40b8a29 Faster x64 Syncing. b=598839, r=dvander. 2010-10-12 17:39:30 -04:00
Jason Orendorff
17deb16433 Add assertions in JSScript::NewScript against offset overflow. Bug 604387, r=dvander. 2010-10-14 14:58:01 -05:00
Johnny Stenback
ee38e0cb80 Bug 580128. Disable a few more browser-chrome tests that don't agree with compartments yet. r=mrbkap@gmail.com. CLOSED TREE 2010-10-13 18:44:01 -07:00
Jim Blandy
36fbfed7cc Bug 586917: Properly parse JSOP_TABLESWITCHX instructions in the tracer. r=jorendorff 2010-10-13 18:22:46 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Blake Kaplan
d4014d272a Add a test for bug 604087. r=gal 2010-10-13 16:54:13 -07:00
Jason Orendorff
fd0c6b2d5c Bug 604087 - Minor tweaks to JS_TransplantWrapper and JSAutoEnterCompartment. r=mrbkap 2010-10-13 17:26:40 -07:00
Blake Kaplan
355a7fed18 Bug 604087 - Deal with GC happening during JS_TransplantWrappers. r=jst/gal 2010-10-13 17:21:00 -07:00
Nicholas Nethercote
1c23e0dd04 Bug 603825 - Fix a bunch of warnings. r=jwalden. 2010-10-13 16:49:53 -07:00
Nicholas Nethercote
ddd0fb50cd Bug 600779 - TM: allow for branches that are always taken. r=dmandelin. 2010-10-13 16:39:20 -07:00
Chris Jones
4b82fba0c3 Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Brian Hackett
78a4b0dad2 Fix memory leak, change uint to unsigned, bug 584917 followup. r=brendan,njn 2010-10-13 16:10:15 -07:00
Chris Jones
aa9a353027 Bug 602428, part 7: Enable GL shadow layers. r=tn a=blocking-fennec 2010-10-13 17:55:45 -05:00
Chris Jones
ad5cce517f Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
51fc2de345 Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
dd6710b8fc Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
ace8a9c91c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
f0dd48964f Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
6f8a6ea683 Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
55a81f3a07 Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
b9441008dc Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c54015a6b Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
57d3708463 Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc 2010-10-13 17:55:45 -05:00
Chris Jones
5f4658b13b Bug 602431, part 5: Add an extra phase to update shadow-layer attributes (not used for anything interesting yet). r=tn 2010-10-13 17:55:45 -05:00
Chris Jones
60cfd924d4 Bug 602431, part 4: Refactor computation of <browser> shadow-tree transforms into its own function. r=tn 2010-10-13 17:55:45 -05:00
Chris Jones
72ebe49a58 Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0 Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Brian Hackett
869a6640ac Fix use of uninitialized variable, bug 584917 followup. r=mrbkap 2010-10-13 15:41:53 -07:00
Stuart IDontCode Parmenter
12117b3c64 Bug 600102 - Add ability to build with --disable-pango. r=karlt a=blocking-fennec
--HG--
extra : rebase_source : 9b5da40d5733ee7adc27310de8b962543d7d3ce9
2010-10-13 15:03:19 -07:00
Margaret Leibovic
3139ac048c Bug 596428 - Stop button shouldn't be ghosted, since this adds N ms to page load time r=dao a=blocking-betaN 2010-10-13 14:56:30 -07:00