Commit Graph

19182 Commits

Author SHA1 Message Date
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
Jan de Mooij
ec5e031168 No bug - Use "goto error" instead of "return false" in Interpret. r=bhackett on IRC 2012-06-08 17:07:35 +02:00
Mike Hommey
a659d7e6ee Bug 757339 - Make expandlibs commands generate dependencies like gcc does. r=ted 2012-06-08 08:59:02 +02:00
Nicholas Nethercote
cfffedd2c8 Bug 761914 (part 4) - Set SharedContext::staticLevel in the constructor. r=jorendorff.
--HG--
extra : rebase_source : 3a28d372f6391ad97694e4f68511991b63815aa8
2012-06-07 18:48:38 -07:00
Nicholas Nethercote
caf58be473 Bug 761914 (part 3) - Do level check in UpvarCookie::set(). r=jorendorff.
--HG--
extra : rebase_source : 5df9e41cb94ae78f13d589bb9406ca101130515d
2012-06-07 18:48:37 -07:00
Nicholas Nethercote
565adf5977 Bug 761914 (part 2) - Simplify UpvarCookie. r=jorendorff.
--HG--
extra : rebase_source : c2360211652c91e3aff9ff63074675ba52c6b0e3
2012-06-07 18:42:21 -07:00
Nicholas Nethercote
1d5b607ead Bug 761914 (part 1) - Remove UpvarCookie::UPVAR_LEVEL_LIMIT. r=jorendorff.
--HG--
extra : rebase_source : b5568305dbba62e8ee7ac65bd7104f66bc25c8b3
2012-06-07 18:39:20 -07:00
Luke Wagner
ed8059747e Bug 762450 - Access the canonical formal argument location on jit rejoin path (r=bhackett)
--HG--
extra : rebase_source : 520885f21382f0ca2fc9aeff34f248cba1af7b39
2012-06-07 15:05:40 -07:00
Gabor Krizsanits
8bc88ec370 Bug 738244: Fix proxy behavior when assigning to inherited properties. 2012-06-07 18:31:31 -07:00
Terrence Cole
7adf24f6fa Bug 760709 - Move E4X specific tests to a separated test directory; r=jorendorff
--HG--
rename : js/src/jit-test/tests/basic/bug557168-1.js => js/src/jit-test/tests/e4x/bug557168-1.js
rename : js/src/jit-test/tests/basic/bug557168-2.js => js/src/jit-test/tests/e4x/bug557168-2.js
rename : js/src/jit-test/tests/basic/bug557168-3.js => js/src/jit-test/tests/e4x/bug557168-3.js
rename : js/src/jit-test/tests/basic/bug557168.js => js/src/jit-test/tests/e4x/bug557168.js
rename : js/src/jit-test/tests/basic/bug569843.js => js/src/jit-test/tests/e4x/bug569843.js
rename : js/src/jit-test/tests/basic/bug574280.js => js/src/jit-test/tests/e4x/bug574280.js
rename : js/src/jit-test/tests/basic/bug596502-version.js => js/src/jit-test/tests/e4x/bug596502-version.js
rename : js/src/jit-test/tests/basic/bug605200.js => js/src/jit-test/tests/e4x/bug605200.js
rename : js/src/jit-test/tests/basic/bug613151.js => js/src/jit-test/tests/e4x/bug613151.js
rename : js/src/jit-test/tests/basic/bug632206.js => js/src/jit-test/tests/e4x/bug632206.js
rename : js/src/jit-test/tests/basic/bug651966.js => js/src/jit-test/tests/e4x/bug651966.js
rename : js/src/jit-test/tests/basic/bug665812.js => js/src/jit-test/tests/e4x/bug665812.js
rename : js/src/jit-test/tests/basic/bug672153.js => js/src/jit-test/tests/e4x/bug672153.js
rename : js/src/jit-test/tests/basic/bug700799.js => js/src/jit-test/tests/e4x/bug700799.js
rename : js/src/jit-test/tests/basic/bug716713.js => js/src/jit-test/tests/e4x/bug716713.js
rename : js/src/jit-test/tests/basic/bug731724.js => js/src/jit-test/tests/e4x/bug731724.js
rename : js/src/jit-test/tests/basic/bug731745.js => js/src/jit-test/tests/e4x/bug731745.js
rename : js/src/jit-test/tests/basic/bug737251.js => js/src/jit-test/tests/e4x/bug737251.js
rename : js/src/jit-test/tests/basic/bug753885-1.js => js/src/jit-test/tests/e4x/bug753885-1.js
rename : js/src/jit-test/tests/basic/bug753885-2.js => js/src/jit-test/tests/e4x/bug753885-2.js
rename : js/src/jit-test/tests/arguments/e4x-descendants-with-arguments.js => js/src/jit-test/tests/e4x/e4x-descendants-with-arguments.js
rename : js/src/jit-test/tests/basic/testXMLPropertyNames.js => js/src/jit-test/tests/e4x/testXMLPropertyNames.js
2012-06-04 15:32:10 -07:00
martenschilstra@gmail.com
be0f6f0dee Bug 738511 - new Date(value) should call ToPrimitive on value before testing for string-ness. r=jwalden
--HG--
extra : rebase_source : 45ac679985c3834d90b2da9c76c753dd3e167059
2012-06-07 16:27:03 -07:00
Jeff Walden
c8fba04459 Quell -Werror=return-type by adding some more MOZ_NOT_REACHED. Continuing along with bug 751377, r=sparky
--HG--
extra : rebase_source : 99992b13b2d3c200f6945aa1187c00a27603e6b2
2012-05-29 12:01:32 -07:00
Philipp von Weitershausen
9d771da697 Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Ed Morley
bcd86477cd Merge mozilla-central to mozilla-inbound 2012-06-07 15:56:37 +01:00
Bobby Holley
241377ed4d Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
No more principal pushing!
2012-06-07 14:28:22 +02:00
Bobby Holley
a2ec0f4f20 Bug 754202 - Remove context pushing/popping API. r=mrbkap
Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.

Can I get a 'hell yeah'?
2012-06-07 14:28:21 +02:00
Luke Wagner
e405c2f8d2 Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander) 2012-06-07 02:42:56 -07:00
Ed Morley
5571c78064 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Luke Wagner
d5133af49a Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander) 2012-06-06 22:16:20 -07:00
Luke Wagner
70dfd7fdbe Bug 761863 - jsop_aliasedArg should allocate a saved reg so that it isn't clobbered by the write barrier (r=dvander) 2012-06-06 20:52:16 -07:00
Benjamin Peterson
525f4a7d4d Bug 574130: JavaScript spread array initializers, r=jorendorff. 2012-06-06 21:53:07 -05:00
Jason Orendorff
47aab0a000 Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst. 2012-06-06 21:52:14 -05:00
Benjamin Peterson
2dd1f8a19b Bug 761495: add Number.isInteger and Number.toInteger, r=jorendorff 2012-06-06 21:50:21 -05:00
Benjamin Peterson
154c5ff8a3 Bug 761480: add Number.isFinite. r=jorendorff. 2012-06-06 21:50:20 -05:00
Boris Zbarsky
b4e6056558 Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley 2012-06-06 15:59:46 -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