Commit Graph

28303 Commits

Author SHA1 Message Date
Boris Zbarsky
809a53856c Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley 2012-06-06 15:59:46 -04:00
Laurent Dulary
9190e002a9 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
9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shu-yu Guo
7d616322e4 Support chained assignments in definite property analysis, bug 759978. r=bhackett 2012-06-05 00:36:25 -07:00
Nicholas Nethercote
a4975e4ccc Bug 761504 - Remove FunctionBoxQueue. r=luke.
--HG--
extra : rebase_source : a29c928103bac3a22897ace27b7b47a1350adf4d
2012-06-04 23:08:10 -07:00
Brian Hackett
26d46956df Watch for script JIT handle invalidation after MakeJITScript, bug 759719. r=dvander 2012-06-04 19:51:57 -07:00
Phil Ringnalda
141da7cd35 Merge mozilla-central to mozilla-inbound 2012-06-04 19:09:19 -07:00
Lukas Blakk
7fa7186c92 Merging in version bump NO BUG 2012-06-04 12:36:59 -07:00
Nicholas Nethercote
ad056ade92 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
b6b455f922 Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Jeff Walden
70546c9a60 Bug 761462 - Implement JS_CallNonGenericMethodOnProxy. r=luke
--HG--
extra : rebase_source : 84a9e118f00d5008cd84d12c4403d73bdf41993f
2012-06-01 23:39:09 -07:00
Luke Wagner
3781be717a 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
12819d1646 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
6241bba96c 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
2f22631c76 Bug 760413 - Update in-tree V8 benchmark to v7. r=dvander 2012-06-01 13:54:54 +02:00
Bobby Holley
9521040b4e Bug 751995 - Handle orphaned wrappers. r=peterv 2012-06-04 10:13:18 +02:00
Nicholas Nethercote
a851876e3b 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
f1285e59fe 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
0cb2825a02 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
7f0a5fb363 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
d203ecbd62 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Jan Varga
513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Terrence Cole
c15ef6f2b8 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
e1ac344d4c Back out 19cfb43d77d3 (bug 751995) for Windows build bustage 2012-06-01 18:27:22 -07:00
Matt Brubeck
e62fcc8acf 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
722da9452b 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
ad1b675c38 Bug 751995 - Handle orphaned wrappers. r=peterv 2012-06-02 00:24:22 +02:00
Joey Armstrong
aa216cfeec 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
4ee0a328ea 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
a246dca661 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
b07a529164 Bug 744053 - Check JITSCriptHandle is valid before attempting to destroy the script, r=bhackett 2012-06-01 10:14:13 -07:00
Boris Zbarsky
ac1bfb338d 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
6be2f4407b 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
efcd6ffbea Bug 703537 - Followup: fix conflicts. 2012-06-01 13:19:06 +02:00
Eddy Bruel
3fb48a743e Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley 2012-06-01 12:51:20 +02:00
Brian Hackett
f8a887c6f7 Watch for GC under getType, bug 746103. r=dvander 2012-06-02 20:25:05 -07:00
Benjamin Peterson
e2c95974dc Bug 749818: add Number.isNaN, r=jwalden
--HG--
extra : rebase_source : f3faa700eb75c6106b0ebb421d53080e293b714a
2012-06-02 20:16:24 +02:00
Benjamin Peterson
6d98894d86 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
59432c848c Bug 757676: implement default parameters in JaegerMonkey, r=bhackett
--HG--
extra : rebase_source : f5220941d9502d49b0c230081c265f845396a251
2012-06-02 20:16:24 +02:00
Tom Schuster
4727c13c41 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
c4aa3750f4 Bug 761439 - Make IndirectProxyHandler::nativeCall indirect (r=sfink)
--HG--
extra : rebase_source : 453c3b3711c71a75243d65e4646cfd8e02a60131
2012-06-04 16:34:45 -07:00
Blake Kaplan
6629d14a06 Bug 751858 - Actually throw when we deny access. r=bholley 2012-05-04 14:22:55 +02:00
Steve Fink
d22fa8806c 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
e5308b3a88 Bug 761249 - abort if ClassInfo2WrappedNativeProtoMap or Native2WrappedNativeMap fail. r=bholley 2012-06-05 11:47:49 -07:00
Bobby Holley
8740f81f1f Bug 758415 - Tests. r=mrbkap 2012-06-05 19:07:38 +02:00
Bobby Holley
d9649eff51 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
026129c427 Bug 758415 - Rip out old expando architecture. r=mrbkap 2012-06-05 19:07:37 +02:00
Bobby Holley
17f2e30008 Bug 758415 - Switch WN Xrays to use the new expando infrastructure. r=mrbkap 2012-06-05 19:07:37 +02:00
Bobby Holley
6edcc9fb71 Bug 758415 - Expose AutoIdVector wrapping. r=mrbkap 2012-06-05 19:07:37 +02:00