Marco Perez
c0732b5859
Bug 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
2012-06-09 12:24:56 -04:00
Doug Turner
4f0025323f
Backed out changeset 401edab3831f - Bug 758273.
...
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Luke Wagner
30fb8bd782
Bug 761864 - add write barrier on generator close (r=terrence)
...
--HG--
extra : rebase_source : 08ebe7de84c89ccc2e737ddcf472f59c8cb42b74
2012-06-08 21:14:20 -07:00
Doug Turner
62093ffdb7
Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug
2012-06-08 20:15:04 -07:00
Rafael Ávila de Espíndola
b13a48e799
Bug 762071 - JS is being compiled with exceptions enabled. r=khuey.
2012-06-08 13:31:28 -04:00
Laurent Dulary
09cc80dcb7
Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap
2012-05-16 13:18:33 +02:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Shu-yu Guo
9a24e0dd57
Support chained assignments in definite property analysis, bug 759978. r=bhackett
2012-06-05 00:36:25 -07:00
Nicholas Nethercote
a17b560818
Bug 761504 - Remove FunctionBoxQueue. r=luke.
...
--HG--
extra : rebase_source : a29c928103bac3a22897ace27b7b47a1350adf4d
2012-06-04 23:08:10 -07:00
Brian Hackett
8c7ce13920
Watch for script JIT handle invalidation after MakeJITScript, bug 759719. r=dvander
2012-06-04 19:51:57 -07:00
Phil Ringnalda
3f534fee74
Merge mozilla-central to mozilla-inbound
2012-06-04 19:09:19 -07:00
Lukas Blakk
76c1aefa1b
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Nicholas Nethercote
267c1cb82d
Bug 760337 - Add JS_ASSERT(table) where appropriate in HashTable.h. r=luke.
...
--HG--
extra : rebase_source : ab85f7061f79605afe54a6341612cededef35558
2012-06-04 00:00:24 -07:00
David Zbarsky
e0254c995e
Bug 591467 - Implement HTML5 Microdata API r=bz
2012-06-04 16:49:57 -07:00
Jeff Walden
ee02b3e6a7
Bug 761462 - Implement JS_CallNonGenericMethodOnProxy. r=luke
...
--HG--
extra : rebase_source : 84a9e118f00d5008cd84d12c4403d73bdf41993f
2012-06-01 23:39:09 -07:00
Luke Wagner
ab11ddaf4c
Bug 659577 - Add missing weak-pointer incremental barriers to DebugScopes (r=billm)
...
--HG--
extra : rebase_source : c98293c420177def6186f1487283bb888ef03e04
2012-06-04 12:00:51 -07:00
Terrence Cole
bc6b6320e6
Bug 761391 - Add some more exact stack rooters; r=bhackett
...
Another bevy of missing roots brought about by recent churn.
2012-06-05 16:52:41 -07:00
Steve Fink
759c928921
Bug 760904 - Force |this| to be Magic(JS_IS_CONSTRUCTING) when constructing cross-compartment DataViews. r=luke
...
--HG--
extra : rebase_source : f0d6a04d462758a4b10342512503327fe7bb03d2
2012-06-05 12:55:17 -07:00
Jan de Mooij
1a3bb88293
Bug 760413 - Update in-tree V8 benchmark to v7. r=dvander
2012-06-01 13:54:54 +02:00
Bobby Holley
d0a6dee976
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-04 10:13:18 +02:00
Nicholas Nethercote
0d58fdbb5f
Bug 759246 (part 4) - Don't share inForInit between Parser and BCE. r=jorendorff.
...
--HG--
extra : rebase_source : e96817e8d326a2f8f034e6166f70a05b86aaa49c
2012-05-28 21:57:36 -07:00
Nicholas Nethercote
669c9daf03
Bug 759246 (part 3) - Initialize more SharedContext stuff via the constructor. r=jorendorff.
...
--HG--
extra : rebase_source : 8ffdf29429f0606181bf04c00d57d13bbb650b8d
2012-05-28 21:50:52 -07:00
Nicholas Nethercote
d13e6401dd
Bug 759246 (part 2) - Move SharedContext::functionList to TreeContext. r=jorendorff.
...
--HG--
extra : rebase_source : 96ddd5d4e48ed55dfe546e923cfa9bbe48a38234
2012-05-28 20:46:03 -07:00
Nicholas Nethercote
1e48727087
Bug 759246 (part 1) - Replace bce.sc with &sc where suitable. r=jorendorff.
...
--HG--
extra : rebase_source : e84178183c695e15ebacfafb789fdc9487902718
2012-05-28 20:43:06 -07:00
Phil Ringnalda
d576312c34
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-06-03 12:04:40 -07:00
Jan Varga
6e3e5ab48b
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Terrence Cole
373c2da2dd
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Phil Ringnalda
a26e0375d1
Back out 19cfb43d77d3 (bug 751995) for Windows build bustage
2012-06-01 18:27:22 -07:00
Matt Brubeck
8f0eb7c918
Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070
2012-06-01 17:45:02 -07:00
Terrence Cole
53b40ccbbb
Bug 760342 - Check explicitly for mis-use of HashTable::Enum; r=luke
...
If a user does removeFront or rekeyFront on an Enum, then continues to use it,
it will fail, potentially randomly. This patch makes the failure explicit in
debug builds.
2012-06-01 15:41:27 -07:00
Bobby Holley
e580a6cb4f
Bug 751995 - Handle orphaned wrappers. r=peterv
2012-06-02 00:24:22 +02:00
Joey Armstrong
4cbec42f85
bug 756443: Add mkdir_stem() to complement mkdir_deps. Strip extraneous slashes from given paths.
2012-06-01 17:26:50 -04:00
Chris Peterson
a37a36db1e
Bug 760335 - Suppress Android gcc 4.4 warnings about "mangling of 'va_list' has changed in GCC 4.4". r=vladimir
2012-05-31 17:43:01 -07:00
Terrence Cole
7130c13c89
Bug 759020 - Prevent jsreftest suite from swallowing crashes; r=dmandelin
...
--HG--
extra : rebase_source : fbbaec5c83e9ea5cbfba6833b96c73e7cfd8adf6
2012-05-31 16:34:40 -07:00
Jon Coppeard
df582c46e6
Bug 744053 - Check JITSCriptHandle is valid before attempting to destroy the script, r=bhackett
2012-06-01 10:14:13 -07:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Peter Van der Beken
beae628a30
Bustage fix for bug 759275 (Specialize unwrapping to HTML elements in dom bindings). r=bz.
...
--HG--
extra : rebase_source : 61cf7b76955aa08aa6509b77f0a85a35dd782a21
2012-06-01 18:35:09 +02:00
Eddy Bruel
2812b28407
Bug 703537 - Followup: fix conflicts.
2012-06-01 13:19:06 +02:00
Eddy Bruel
3a1af88d80
Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley
2012-06-01 12:51:20 +02:00
Brian Hackett
383626552a
Watch for GC under getType, bug 746103. r=dvander
2012-06-02 20:25:05 -07:00
Benjamin Peterson
2cbd830416
Bug 749818: add Number.isNaN, r=jwalden
...
--HG--
extra : rebase_source : f3faa700eb75c6106b0ebb421d53080e293b714a
2012-06-02 20:16:24 +02:00
Benjamin Peterson
85eb6e1455
Bug 759498: fix defaults when arguments are bound as functions, r=jorendorff
...
--HG--
extra : rebase_source : 6671517779bbaaf7cf1fd6410255823f877345ad
2012-06-02 20:16:24 +02:00
Benjamin Peterson
1e9de6b1f5
Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
...
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
e932326aaf
Bug 752226 - Remove JSVAL_IS_OBJECT from the jsapi. r=dmandelin
...
--HG--
extra : rebase_source : 0943efd64ddf199a4cef12072239302408e5aae5
2012-06-02 20:15:38 +02:00
Luke Wagner
dc990a1b61
Bug 761439 - Make IndirectProxyHandler::nativeCall indirect (r=sfink)
...
--HG--
extra : rebase_source : 453c3b3711c71a75243d65e4646cfd8e02a60131
2012-06-04 16:34:45 -07:00
Blake Kaplan
f14f44ff14
Bug 751858 - Actually throw when we deny access. r=bholley
2012-05-04 14:22:55 +02:00
Steve Fink
259048cd90
Bug 759895 - Fix typed array rooting issues with destructor ordering. r=terrence
...
This is invalid:
RootedObject robj(cx, func(RootedObject(cx, obj)));
because Rooted<T> uses RAII to maintain a stack of rooted cells, which means it depends on constructors and destructors to properly nest. But the above code will call:
1. inner constructor
2. outer constructor
3. inner destructor
4. outer destructor
According to Luke, this is per spec; the temporary must last to the end of the statement.
--HG--
extra : rebase_source : b9ec3cacd5537a3ca2b7eee3edd73022d2e7f132
2012-05-24 22:29:50 -07:00
Andrew McCreight
e1d63b6895
Bug 761249 - abort if ClassInfo2WrappedNativeProtoMap or Native2WrappedNativeMap fail. r=bholley
2012-06-05 11:47:49 -07:00
Bobby Holley
ddaccb089a
Bug 758415 - Tests. r=mrbkap
2012-06-05 19:07:38 +02:00
Bobby Holley
2a4d653d5f
Bug 758415 - Remove double-wrapping infrastructure for Location objects. r=mrbkap
...
This is more or less just a backout of bug 739796, that caused so much pain. Huzzah!
2012-06-05 19:07:37 +02:00
Bobby Holley
b52375725c
Bug 758415 - Rip out old expando architecture. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
b6893e41c6
Bug 758415 - Switch WN Xrays to use the new expando infrastructure. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
409ee705e8
Bug 758415 - Expose AutoIdVector wrapping. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
b59ab77e3d
Bug 758415 - Copy expando objects during object transplanting. r=mrbkap
2012-06-05 19:07:37 +02:00
Bobby Holley
9610f7f05a
Bug 758415 - Implement expando object infrastructure for WN Xrays. r=mrbkap
...
Note: This overloads the naming of some of the existing infrastructure,
but the signatures etc are sufficient to disambiguate. The other infrastructure
goes away in a subsequent patch.
Note: We tag sandbox expandos with their global to make sure that the expandos
are never shared between sandboxes. A consequence of this scheme is that an
expando from a sandbox to an object will _always_ result in a GC edge back to
the sandbox, meaning that the sandbox is always kept alive for the lifetime of
the expando target. This could happen before, but only if a non-primitive expando
was placed (since the value of the expando would live in the consumer's
compartment). We could avoid this edge by using a reference-counted Identity()
object instead, but I suspect it's not worth worrying about.
2012-06-05 19:07:37 +02:00
Bobby Holley
80690d47d6
Bug 758415 - Refactor slim wrapper reserved slots so that we can use the same slot for expando objects in the non-slim case. r=mrbkap
...
Xray wrappers require that their wrappee be non-slim, so this works out perfectly.
2012-06-05 19:07:37 +02:00
Bobby Holley
1b1a7d4372
Bug 761121 - Add JSCLASS_HAS_CACHED_PROTO to the typed array instance JSClass. r=bhackett
2012-06-05 19:07:37 +02:00
Jeff Walden
771d1b6053
Bug 761457 - Change the signature of NonGenericMethodGuard to be more idiomatic and less confusing. r=luke
2012-06-01 23:39:09 -07:00
Jeff Walden
8b4b6cf472
Warning patrol. No bug, r=themaid
2012-06-04 18:25:53 -07:00
Jeff Walden
893298ef87
Bug 757551 - Remove JS_ConstructObject{,WithArguments}. r=dmandelin
2012-05-21 16:32:18 -07:00
Jeff Walden
548fed98d1
Bug 758499 - Remove JSRESOLVE_WITH. r=dmandelin
2012-05-24 23:54:05 -07:00
Phil Ringnalda
eb87e72a98
Back out ee940e4debd0:7636c7036e2e (bug 659577) for asserting in testBug550743.js
2012-06-01 00:12:22 -07:00
Jeff Walden
6400135f0b
Remove some extraneous includes and a function, all added in bug 714260. They were initially necessary when that patch was written, but they became vestigial during rebasing prior to landing, and this disuse wasn't noticed til now. r=lumpy
2012-04-19 16:36:31 -07:00
Luke Wagner
2ac6da719e
Bug 659577 - Don't alias stack variables (r=bhackett)
...
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Luke Wagner
304ebf5156
Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
...
--HG--
extra : rebase_source : ea0deae107902520b392ed1eeddcd8c6420945ee
2012-05-10 11:24:20 -07:00
Luke Wagner
da494c3aae
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : e8496f21b3e025b5cee07f627e39535add9904f0
2012-04-11 18:09:20 -07:00
Luke Wagner
21a35c42d3
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
...
--HG--
extra : rebase_source : 997dd4ccb8e2dce45b1d1eeae2ab7ec6679efed9
2012-05-09 23:03:12 -07:00
Luke Wagner
3ed77cf6a4
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
...
--HG--
extra : rebase_source : ff45b986e1a260b0f935913533f9b1c1e1ffdad8
2012-05-02 09:56:02 -07:00
Luke Wagner
c75efd7e56
Bug 659577 - Don't alias stack variables (r=bhackett)
...
--HG--
extra : rebase_source : 0a7b6cae49e6de547de013c834d0ad258ecc3702
2012-02-23 13:59:10 -08:00
Luke Wagner
39abad9311
Bug 659577 - Embed blockChain information in ALIASEDVAR ops (r=waldo)
...
--HG--
extra : rebase_source : 4d5eb44ed9a04b0185d6a64ed1dad710cf079f3f
2012-05-10 11:24:20 -07:00
Luke Wagner
915b92d180
Bug 659577 - emit ScopeCoordinate::hops (r=waldo)
...
--HG--
extra : rebase_source : 3698a6411ffcae90bbcfaa7a965d8de648b3e509
2012-04-11 18:09:20 -07:00
Luke Wagner
2dbf26f6da
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 2 (r=jimb)
...
--HG--
extra : rebase_source : 1bd7e93270076aff49fdf5c23660d6678e3027c8
2012-05-09 23:03:12 -07:00
Luke Wagner
aefbea6068
Bug 659577 - Remove ScopeObject::maybeStackFrame use in the debugger, part 1 (r=jimb)
...
--HG--
extra : rebase_source : 7439c923afe48b3e63c498972c707eca947c53c9
2012-05-02 09:56:02 -07:00
Nicholas Nethercote
ec1cdcb284
Bug 710922 - Don't call m_pools.all() if m_pools isn't initialized. r=luke.
...
--HG--
extra : rebase_source : 72da22ce0e29d449da9ffa211b4b892ab7796303
2012-05-31 19:10:05 -07:00
Luke Wagner
8b0499a3a1
Bug 760071 - Debug scope proxies should allow the debugger to define new properties (r=jimb)
2012-05-31 17:44:00 -07:00
Benjamin Peterson
e6f4f0a5a9
Bug 759976: remove JSDEBUGGER* sections, r=jorendorff
...
--HG--
extra : rebase_source : 28218e232c0ad77f649ce7d56a430b8f2e20777c
2012-05-31 16:14:13 -05:00
Benjamin Peterson
580bad1a81
Bug 759902: reduce JSBool usage in js.cpp to a minimum, r=jorendorff
...
--HG--
extra : rebase_source : 096c936550ff7de2e89362a177fde76dfb58dbce
2012-05-31 16:14:04 -05:00
Benjamin Peterson
cf89c34c44
Bug 758428: complain when the compiler returns false without an error, r=jorendorff
...
--HG--
extra : rebase_source : 7a4b97f8e28c7d89ab682d9d21dcfe65b23b2939
2012-05-31 16:13:10 -05:00
Jason Orendorff
6088ac02f0
Fix building with --disable-e4x. No bug, r=jimb on IRC.
...
--HG--
extra : rebase_source : 7b9a7f8a6ec479caacbbf5ac36b89a0464efe897
2012-05-31 15:53:32 -05:00
Tom Schuster
edc8473e2a
Bug 420837 - Calling Iterator() without parameters should throw a better error message. r=luke
2012-05-31 23:28:39 +02:00
Joey Armstrong
d77723962d
bug 758782: mkdir_deps dependencies should be .PRECIOUS
2012-05-30 10:27:09 -04:00
Boris Zbarsky
c1f71caa1a
Merge backout of changeset f96e0f078b49 (bug 748266)
2012-05-31 16:21:05 -04:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Jim Blandy
ee7b422e72
Bug 747514: Implement Debugger.Environment.prototype.callee accessor. r=jorendorff
2012-05-31 13:13:53 -07:00
Jim Blandy
b77c721225
Bug 747514: Assert that object environments' scopes are either WithObjects or non-DebugScopes. r=jorendorff
2012-05-31 13:13:53 -07:00
David Zbarsky
03ce34e73c
Bug 759504: return NULL instead of false for getPrototype r=peterv
2012-05-31 11:47:22 -07:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Benjamin Peterson
d7b7580d26
Bug 759904 - Make sure to call endBody on GenexpGuard, r=jorendorff
2012-05-31 10:57:04 -07:00
Bobby Holley
e597134b03
Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap
2012-05-31 18:36:15 +02:00
Bobby Holley
2e1ac9db8c
Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz
2012-05-31 16:28:09 +02:00
Makoto Kato
c73fb09ad6
Bug 721284 - GMail broken on Windows builds with JS PGO enabled. r=dmandelin
2012-05-31 15:48:30 +09:00
Luke Wagner
8e80222787
Bug 758617 - Fix StackIter::settleOnNewState to handle cross-context eval-in-frame (r=jorendorff)
2012-05-29 14:46:42 -07:00
Jason Orendorff
38c10052c8
Bug 738468 - DebuggerScript_getUrl crashes if script->filename is null. r=jimb.
2012-05-30 15:05:59 -05:00
Jason Orendorff
c799346d5f
Bug 753885 - Part 3: Expose XML global constructors only if JSOPTION_ALLOW_XML is set. r=Waldo.
2012-05-30 15:05:59 -05:00
Jason Orendorff
9ec40fdc02
Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo.
2012-05-30 15:05:59 -05:00
Jason Orendorff
80dda6d7a5
Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo.
2012-05-30 15:05:58 -05:00
Jason Orendorff
55ea461d69
Bug 752632 - Support building SpiderMonkey without E4X by doing: configure --disable-e4x. r=jimb.
2012-05-30 15:05:58 -05:00
Jason Orendorff
21ca2fb32c
Follow-up to bug 755808 comment 6. rs=sfink on #jsapi.
2012-05-30 15:05:58 -05:00
Jan de Mooij
e9ef3850d5
Bug 759626 - Cache the result of InferSpewColorable to avoid a ton of getenv calls. r=bhackett
...
--HG--
extra : rebase_source : bcf1055b9f401561c1bbc33a4757177df1b81d60
2012-05-30 20:24:04 +02:00