Jeff Walden
249a380f7b
Bug 657713 - eval JSON parser hack misfires in strict mode, for objects with duplicate property names. r=njn
...
--HG--
extra : rebase_source : 148d1ea8255a38c967d7b7c74afc02be9474840a
2011-05-18 10:57:59 -07:00
Jeff Walden
a13a0634f7
Bug 657585 - Guard against runaway recursion converting |this| to string in all the String.prototype.* methods. r=luke
...
--HG--
extra : rebase_source : 76642de53803bfdbc3b4d02e83f1d0e5713bd206
2011-05-18 10:57:52 -07:00
Jeff Walden
a0caea8ac7
Bug 655921 - Check for Function being forbidden before creating the function private which would ordinarily be returned. Also create that function private with an explicitly specified parent, that being the Function function's global object. r=mrbkap
...
--HG--
extra : rebase_source : d0638bf75648e5dc0f9bb0c1fcf61559d1422771
2011-05-10 14:56:49 -07:00
Jeff Walden
90cdb85452
Bug 656365 - Creating an arguments object shouldn't require a parent, only a callee. r=luke
...
--HG--
extra : rebase_source : 0f4b0bc449bd7e0a2bd4e929c10e775d79e788ea
2011-05-11 14:04:25 -07:00
Jeff Walden
95c67a9cea
Use a checked pointer rather than a raw pointer in one place in the JSON parser. r=trivial
...
--HG--
extra : rebase_source : 60bf8c5ac1e9e7294d4b9d6b5fd7807517c9b541
2011-05-16 11:43:39 -07:00
Jeff Walden
4cf43e2ca4
Bug 657013 - Remove the old JSON parser. r=njn
...
--HG--
extra : rebase_source : 5c11e9179d2291d498667c17c05ff7e5f8ace3f2
2011-05-13 14:27:07 -07:00
Jeff Walden
ac8938a32d
Bug 656059 - Add operator-> to mozilla::DebugOnly<T> so it can store pointers. r=cjones
...
--HG--
extra : rebase_source : 3d7aeec93f1ae1e5bbd4b03c30216e70fe15eb6a
2011-05-10 14:56:49 -07:00
Bill McCloskey
68588bf424
Remove call to dis() in tests
2011-05-18 11:06:17 -07:00
Bill McCloskey
601bf94f18
Bug 634090 - Make jstests and jit-tests handle timeout better (r=dmandelin)
2011-05-18 10:30:56 -07:00
Bill McCloskey
e623b63357
Bug 656555 - Handle JSOP_TRAP inside JSOP_LAMBDA (r=dmandelin)
2011-05-18 10:30:47 -07:00
Bill McCloskey
88f9a88fb1
Bug 656381 - Handle JSOP_TRAP when looking up block chain (r=dmandelin)
2011-05-18 10:30:39 -07:00
Bill McCloskey
960a3d7b07
Bug 651563 - Comment new GC marking behavior (r=bhackett)
2011-05-18 10:30:32 -07:00
Bill McCloskey
f4933bcaae
Bug 640265 - Don't GC during OOM reporting (r=dmandelin)
2011-05-17 11:23:31 -07:00
Bill McCloskey
194a0b290d
Bug 657710 - Fix strict aliasing warning (r=luke)
2011-05-18 10:23:08 -07:00
Bob Clary
3346c44ea2
Bug 657608 - JavaScript tests - remove all Sisyphus and Antediluvian cruft, r=jorendorff
2011-05-18 09:55:15 -07:00
Igor Bukanov
678c5b61b2
bug 657227 - followup to fix the regression test not to throw an exception.
2011-05-18 15:31:48 +02:00
Igor Bukanov
cad92af0cc
bug 657227 - IsCacheableProtoChain must check for a null proto. r=dvander
2011-05-18 14:26:22 +02:00
Blake Kaplan
b0ecb22bf5
Fix compilation warning on Linux.
2011-05-18 12:07:05 +02:00
Philipp von Weitershausen
4cba1e98dd
Bug 655641 - Expose RegExp flags and source in JS API. r=gal
2011-05-08 22:10:21 -05:00
Philipp von Weitershausen
0a08fc9edf
Tests for Bug 650931 (JS_ObjectIsRegExp). r=gal
2011-05-08 20:12:57 -05:00
Paul O'Shannessy
c6e3f311c7
Bug 650931 - No API to determine if a JSObject is a RegExp. r=gal
2011-05-17 20:04:28 -07:00
Nicholas Nethercote
e65f3e3ad3
merge
2011-05-18 12:22:25 +10:00
David Mandelin
8c1a69f7eb
Fix MSVC warning.
2011-05-17 18:31:00 -07:00
Nicholas Nethercote
cb2e2e1fe6
Update nanojit-import-rev stamp.
2011-05-18 11:13:15 +10:00
Ed Morley
0df455e8fa
Bug 648862 - nanojit: Remove WINCE code. r=edwsmith,Jacob.Bramley.
...
--HG--
extra : convert_revision : 37586d0b07857d871d1cc5184db25336bc0b8864
2011-05-18 10:38:17 +10:00
Chris Leary
a7253cc393
Bug 654301: Better interned string API, take 2. (r=Waldo)
2011-05-17 12:15:12 -07:00
Paul Biggar
57a34fb988
Backout merge (bug 600522, e0288c977846)
2011-05-17 05:24:30 -07:00
Paul Biggar
c556ef313c
Backed out changeset e0288c977846 (bug 600522) due to windows oranges.
2011-05-17 05:23:21 -07:00
Blake Kaplan
08a8f3a6ab
Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
...
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00
Dirkjan Ochtman
e5dbb597d1
Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar]
2011-05-16 21:11:54 +02:00
Paul Biggar
e0fa025e18
Bug 657384: Change new_ parameters to pass-by-copy, not pass-by-const-reference. (r=luke)
...
new_ [1] took a const reference for each of its parameters. Unfortunately, that
adds const-ness even when the constructor needs non-constness. Unfortunately,
the other way (turning off constness) can lead to excess copying.
According to the Forwarding Problem [2], there is no great solution here. C++
does not have a perfect way to write a function which wraps another function.
So we settle for non-constness, and we must rely on forbidding copying of
expensive objects.
[1] as in cx->new_<T>(p1)
[2] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
2011-05-17 04:25:39 -07:00
Nicholas Nethercote
12840cb477
Bug 657164 - disable the assertion because it's failing in xpcshell tests; bug 654820 will re-enable it. rs=philor.
2011-05-16 20:44:45 -07:00
Chris Leary
089bf2c468
Back out bug 654301 to run again on try.
2011-05-16 19:03:20 -07:00
Chris Leary
a2ba07f853
Followup fix for broken changeset 7fe5fb2450f4.
2011-05-16 18:39:59 -07:00
Nicholas Nethercote
7ab4abb283
Bug 657164 - fix '=' vs '==' confusion in an assertion. r=bhackett.
2011-05-16 18:26:01 -07:00
Chris Leary
338cf025af
Bug 654301: Better interned string API. (r=Waldo)
2011-05-16 18:18:59 -07:00
David Mandelin
5ad1963088
Fix MSVC warning
2011-05-16 16:16:55 -07:00
Chris Leary
b7c706d561
Disable tests on TM per bug 652459 comment 30. (CLOSED TREE)
2011-05-16 11:37:41 -07:00
Chris Leary
4d1fba5db8
Merge mozilla-central and tracemonkey.
2011-05-13 15:06:53 -07:00
Paul O’Shannessy
1f423e446c
Bug 628043 - The last closed window is restored when a secondary window is left open and a new browser window is opened [r=dietrich]
2011-05-13 13:45:43 -07:00
Paul O’Shannessy
61e88cda64
Bug 504714 - about:sessionrestore should suppress middlemouse.contentLoadURL [r=dietrich]
2011-05-13 13:45:43 -07:00
Dave Townsend
f4e878b88d
Bug 416905: Directory removal of extension installed as pointer file isn't uninstalled correctly. r=robstrong
2011-05-13 13:41:53 -07:00
Brad Lassey
8529a41967
bug 650509 - Other apps can read Firefox profile files, test for sqlite permissions changes r=sdwilsh
2011-05-13 14:22:34 -04:00
Brad Lassey
0f5e6323fb
bug 650509 - Other apps can read Firefox profile files, change sqlite files to be user readable only r=sdwilsh
2011-05-13 14:20:23 -04:00
Brad Lassey
e07fd3e0be
bug 650509 - Other apps can read Firefox profile files, change autocomplete cache to be user readable only r=mfinkle
2011-05-13 14:20:23 -04:00
Patrick McManus
9cf999e2db
bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz
2011-05-13 13:53:27 -04:00
Bobby Holley
681da3723c
Bug 653930 - Tests.r=bz
2011-05-13 10:41:25 -07:00
Bobby Holley
3fa8eba250
Bug 653930 - Setting marginWidth and marginHeight on an iframe should trigger a reflow.r=bz
2011-05-13 10:41:00 -07:00
Jim Mathies
e56ab2d65a
Bug 608013 - When plugins receive the set focus event, confirm the parent window has focus before taking it. Fixes a fullscreen focus problem in Silverlight. r=bent.
2011-05-13 12:06:51 -05:00
Olli Pettay
ee9e8dc348
Bug 656878, nsStringArraySH::GetProperty should not copy, but share strings, r=bz
...
--HG--
extra : rebase_source : 2e7fc8f848042ea7557ea9116f8ec9152869114a
2011-05-13 19:12:24 +03:00