mrbkap%gmail.com
dbea1036d8
Minimal fix for bug 504021. r=jst a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259482 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-27 01:21:43 +00:00
mrbkap%gmail.com
4c16d780b7
Bug 483847 - Remove bogo-assertion. r=Waldo a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259481 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-27 00:41:26 +00:00
mrbkap%gmail.com
3b88dd0cc1
Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259480 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-26 23:34:11 +00:00
szegedia%freemail.hu
985b8935cc
Removed dead field
...
git-svn-id: svn://10.0.0.236/trunk@259425 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:59:10 +00:00
szegedia%freemail.hu
57ba62b017
Promoting final String to static
...
git-svn-id: svn://10.0.0.236/trunk@259424 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:57:16 +00:00
szegedia%freemail.hu
b5fa596eea
Interpreter doesn't use compiler env - removed dead field
...
git-svn-id: svn://10.0.0.236/trunk@259423 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:53:58 +00:00
szegedia%freemail.hu
dd143fdf6e
Fix potential null dereference
...
git-svn-id: svn://10.0.0.236/trunk@259422 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:50:26 +00:00
szegedia%freemail.hu
bfb03e65ce
Fix uppercase method name
...
git-svn-id: svn://10.0.0.236/trunk@259421 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:48:29 +00:00
szegedia%freemail.hu
934526f2bf
More efficient construction of numbers
...
git-svn-id: svn://10.0.0.236/trunk@259420 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:45:52 +00:00
szegedia%freemail.hu
4d45205780
Use valueOf() instead of new
...
git-svn-id: svn://10.0.0.236/trunk@259419 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:38:50 +00:00
szegedia%freemail.hu
e0d1882942
FindBugs: use entrySet() instead of keySet() with get()
...
git-svn-id: svn://10.0.0.236/trunk@259418 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:05:58 +00:00
szegedia%freemail.hu
7c4008ac8f
FindBugs: don't mask RuntimeExceptions
...
git-svn-id: svn://10.0.0.236/trunk@259417 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 09:03:05 +00:00
szegedia%freemail.hu
704faadf7d
FindBugs catch: implement Serializable on Comparator
...
git-svn-id: svn://10.0.0.236/trunk@259416 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 08:57:48 +00:00
szegedia%freemail.hu
5095dfe908
FindBugs catch: class loader should be created within a doPrivileged() block
...
git-svn-id: svn://10.0.0.236/trunk@259415 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 08:57:02 +00:00
szegedia%freemail.hu
5e03ac8ae9
Bugfix: properly synchronize access to a static DateFormat object
...
git-svn-id: svn://10.0.0.236/trunk@259414 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-18 08:48:00 +00:00
nboyd%atg.com
ac46a09d9b
Patch from Alberto Saez Torres; see Bug 524931 - Setting the value of an uninitialized child of an E4X object by using square bracket syntax causes Null Pointer Exception
...
git-svn-id: svn://10.0.0.236/trunk@259387 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-14 12:17:00 +00:00
nboyd%atg.com
0fe33fd3b3
No need for special handling of toString or toLocaleString any more, as the prototype of arguments is Object.prototype
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259347 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-06 18:17:54 +00:00
nboyd%atg.com
3b019c8add
Fix Bug 537483 - JSON.parse doesn't correctly add properties with numeric identifiers
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259332 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-03 02:21:47 +00:00
nboyd%atg.com
4eb5a0ee26
Fix formatting.
...
git-svn-id: svn://10.0.0.236/trunk@259298 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-23 21:47:43 +00:00
nboyd%atg.com
1a55563a39
Fix Bug 524931 - Setting the value of an uninitialized child of an E4X object by using square bracket syntax causes Null Pointer Exception
...
Patch from Alberto Saez Torres.
git-svn-id: svn://10.0.0.236/trunk@259295 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-23 14:09:08 +00:00
nboyd%atg.com
2e30a4b1d4
Fix some warnings.
...
git-svn-id: svn://10.0.0.236/trunk@259292 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 20:03:39 +00:00
nboyd%atg.com
4e26ef8ef1
Regression test for bug 524931.
...
git-svn-id: svn://10.0.0.236/trunk@259291 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 19:33:25 +00:00
nboyd%atg.com
3f6dfb4594
Fix Bug 524931 - Setting the value of an uninitialized child of an E4X object by using square bracket syntax causes Null Pointer Exception
...
git-svn-id: svn://10.0.0.236/trunk@259290 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 19:22:05 +00:00
nboyd%atg.com
430e120c48
Fix Bug 535977 - Asignment problems are reported as DomExceptions "NAMESPACE_ERR"
...
Patch from Alberto Saez Torres
git-svn-id: svn://10.0.0.236/trunk@259288 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 13:41:30 +00:00
nboyd%atg.com
7d39becfa9
Patch from Raphael Speyer (see https://bugzilla.mozilla.org/show_bug.cgi?id=489329#c60 ):
...
make Object.freeze work with functions, arrays, regexp
setInstanceIdValue, called by defineOwnProperty, called by freeze, was not
handing all id-identifiable properties, and so when freeze tried to freeze them
all, setInstanceIdValue was deferring onto
IdScriptableObject.setInstanceIdValue, which just throws an
IllegalStateException.
I made setInstanceIdValue always handle all the ids that getInstanceIdValue
does.
git-svn-id: svn://10.0.0.236/trunk@259287 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 13:03:57 +00:00
hannes%helma.at
f83647274c
Fix for bug 533920 - parser constructs VariableInitializer with wrong end value, therefor VariableInitializer reports false length
...
git-svn-id: svn://10.0.0.236/trunk@259197 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-10 15:04:26 +00:00
nboyd%atg.com
fbee260dd9
Allow jsdocs to be attached to "with" nodes so that warnings about the
...
use of with can be suppressed using a jsdoc annotation.
Patch from John Lenz.
git-svn-id: svn://10.0.0.236/trunk@259155 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-02 17:04:26 +00:00
nboyd%atg.com
5ee825068b
Fix [Bug 513549] Rhino's new JSON.parse breaks on trailing whitespace
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259130 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-01 04:50:18 +00:00
nboyd%atg.com
05d595b562
Fix name conflict over "BLOCK".
...
git-svn-id: svn://10.0.0.236/trunk@259098 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-28 20:11:14 +00:00
nboyd%atg.com
7819ec02f6
Fix Bug 531436 - parseFloat fails on number followed by "e" that is not exponent
...
git-svn-id: svn://10.0.0.236/trunk@259097 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 20:45:15 +00:00
nboyd%atg.com
9ca39b879d
Fix Bug 506940 - Correct arity of array methods
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259096 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 20:40:23 +00:00
nboyd%atg.com
db7456c3d4
Fix Bug 530997 - should throw a RangeError when an array's length is set to >= 4294967296
...
Patch by Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259095 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 20:12:42 +00:00
nboyd%atg.com
97c4607821
Fix Bug 530947 - Array.prototype.map returns a 0-length array when this array has length > 0 but no elements
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@259094 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 19:55:16 +00:00
nboyd%atg.com
4be982f5e3
Fix breaking regression test and match SpiderMonkey and ES5 behavior.
...
See bug 478047.
git-svn-id: svn://10.0.0.236/trunk@259093 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 18:30:18 +00:00
nboyd%atg.com
7b103c04ca
Fix trivial warning.
...
git-svn-id: svn://10.0.0.236/trunk@259092 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-27 18:20:54 +00:00
mrbkap%gmail.com
f983371e62
Bug 529535 - Fix a bad merge to the 1.9.0 branch. r=igor a=ss
...
git-svn-id: svn://10.0.0.236/trunk@259042 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-19 18:27:37 +00:00
hannes%helma.at
42f1acced5
Reimplement NativeError.toString() to return Error.prototype.toString() if that returns a String.
...
git-svn-id: svn://10.0.0.236/trunk@259039 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-19 08:06:57 +00:00
hannes%helma.at
12831fcccb
Replace deprecated enable()/disable() methods with setEnabled()
...
git-svn-id: svn://10.0.0.236/trunk@259003 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-17 11:05:55 +00:00
dveditz%cruzio.com
7594c8f0a6
Bug 503451 - remove GeckoActiveXObject/COMObject, and similar functions which aren't usable by content except that content can still detect which COM objects are present on the system. patch by bsmedberg, r=mrbkap sr=jst a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@258963 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 08:15:18 +00:00
hannes%helma.at
2331c7b4fa
Use ScriptRuntime.escapeString() in ast.StringLiteral.toString(). Fixes bug #527452 - String with escaped characters gives wrong toSource() output
...
git-svn-id: svn://10.0.0.236/trunk@258955 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 12:36:20 +00:00
igor%mir2.org
17ea7235f2
bug 443871, a1.9.0.16=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@258927 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 16:34:29 +00:00
hannes%helma.at
2cb5179cc1
Fix bug in ClassFileWriter IINC handling.
...
git-svn-id: svn://10.0.0.236/trunk@258859 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-03 20:01:54 +00:00
szegedia%freemail.hu
eb7a88c324
Different Fix for Bug 519933 - only throw TypeError when FEATURE_STRICT_MODE is set
...
git-svn-id: svn://10.0.0.236/trunk@258763 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-23 15:28:17 +00:00
szegedia%freemail.hu
f826462a7e
Fix for Bug 519939 - Rhino JS debugger: allow to configure a "source provider"
...
git-svn-id: svn://10.0.0.236/trunk@258762 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-23 12:49:59 +00:00
szegedia%freemail.hu
b080fd1c9d
Fix for Bug 519933 - Add option to allow setting... read only properties
...
git-svn-id: svn://10.0.0.236/trunk@258760 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-23 10:22:50 +00:00
szegedia%freemail.hu
7a7aba01a0
Fix for Bug 517861: Rhino's manifest file is incomplete. Couldn't add Specification-* entries, as it's not clear what their values should be.
...
git-svn-id: svn://10.0.0.236/trunk@258759 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-23 09:49:59 +00:00
nboyd%atg.com
3fdcff8ad3
Fix Bug 508964 - Update Arguments object to match ES5 spec
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@258712 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-18 02:34:50 +00:00
nboyd%atg.com
5484610de7
Fix Bug 508795 - Make Error.prototype.toString conform to spec
...
Patch from Raphael Speyer
git-svn-id: svn://10.0.0.236/trunk@258710 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-17 19:25:04 +00:00
reed%reedloden.com
fa69281184
Bug 516862 - (follow-up patch) [p=reed r=wtc r=crowder a=ss]
...
git-svn-id: svn://10.0.0.236/trunk@258681 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-15 20:00:44 +00:00
nboyd%atg.com
fb13cf8973
Fix bug Bug 519692 - Failed to decompile expressions like "new Date()"
...
Patch from Marc Guillemot.
git-svn-id: svn://10.0.0.236/trunk@258649 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-09 17:27:18 +00:00