pschwartau%netscape.com
0b66433c29
Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor. See bug 181909.
...
git-svn-id: svn://10.0.0.236/trunk@134439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 02:53:39 +00:00
pschwartau%netscape.com
11412fd4ce
Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor.
...
git-svn-id: svn://10.0.0.236/trunk@134438 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 02:03:32 +00:00
pschwartau%netscape.com
dba533dff9
Fixing three typos.
...
git-svn-id: svn://10.0.0.236/trunk@134437 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 01:17:37 +00:00
pschwartau%netscape.com
6f3dbcafc4
Trivial whitespace fix.
...
git-svn-id: svn://10.0.0.236/trunk@134436 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 01:16:23 +00:00
brendan%mozilla.org
52737cc6b9
Comment nit-picks (comment changes only).
...
git-svn-id: svn://10.0.0.236/trunk@134430 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 00:33:08 +00:00
brendan%mozilla.org
d6a719baa7
Relax comments restricting Operate calls from enumerator to allow lookups (no bug, comment change only).
...
git-svn-id: svn://10.0.0.236/trunk@134429 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 00:32:07 +00:00
igor%mir2.org
5794fd2948
Add args and argCount to InterpreterData to emphasize that InterpretedScript/InterpretedFunction are just runtime wrappers around InterpreterData
...
git-svn-id: svn://10.0.0.236/trunk@134412 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 21:33:56 +00:00
igor%mir2.org
5c23c40494
Wrap restoring of the original optimization level into finally block
...
git-svn-id: svn://10.0.0.236/trunk@134407 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 16:46:16 +00:00
igor%mir2.org
bcb7c1ff89
Fixing 181654: Error.prototype.toString is a generic function now
...
printing this.name + ": " + this.message for any this.
git-svn-id: svn://10.0.0.236/trunk@134406 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 16:44:30 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
pschwartau%netscape.com
8d297c8ea4
Initial add. Regression test for bug 181654 by joerg.schaible@gmx.de.
...
git-svn-id: svn://10.0.0.236/trunk@134371 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-24 00:14:18 +00:00
dbradley%netscape.com
b32cfb75e5
Bug 173146 - This is the third patch in the series for IDispatch support. The bulk of the changes are comments and formatting, and some better error handling. r=adamlock, sr=jst and the code review group. NOTE: The bulk of this code is still not part of the build and the reviews reflect the XPConnect portions only.
...
git-svn-id: svn://10.0.0.236/trunk@134344 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 23:04:53 +00:00
pschwartau%netscape.com
288ab8eca8
Replace 'onload' with meaningless string. Alertboxes were popping up otherwise when the jsDriver.pl results file was opened!
...
git-svn-id: svn://10.0.0.236/trunk@134128 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 23:23:33 +00:00
pschwartau%netscape.com
9e49ca6f92
Correcting minor formatting mistake at Retest List header.
...
git-svn-id: svn://10.0.0.236/trunk@134126 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 22:00:38 +00:00
pschwartau%netscape.com
ef5d33cd25
One-line fix for bug 62187, "JS shell producing too much console output on Mac" (r=waldemar, r=rginda). Without this fix, running the test driver is impossible on Mac 9. [NOT PART OF BROWSER BUILD].
...
git-svn-id: svn://10.0.0.236/trunk@134122 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 20:53:17 +00:00
pschwartau%netscape.com
b9e8ecb09c
Bringing Windows makefile for JS shell in sync with recent changes made to the browser build and to the js.mak(VC++) build of the JS shell; see bug 160592. [DOES NOT AFFECT BROWSER BUILD].
...
git-svn-id: svn://10.0.0.236/trunk@134120 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 20:29:38 +00:00
timeless%mozdev.org
3f080b64a2
Bug 180783 nsDependentCString filename(PR_GetEnv("MOZILLA_JS_PROFILER_OUTPUT")) => ASSERTION: nsDependentCString must wrap a non-NULL buffer: 'aPtr'
...
r=dbradley sr=bz
git-svn-id: svn://10.0.0.236/trunk@134078 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 05:06:27 +00:00
timeless%mozdev.org
99731b5e88
Bug 58221 don't use strlen to check if a string is of length 0
...
patch by aaronl@vitelus.com r=timeless sr=bz
git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
dbradley%netscape.com
879f140cc4
Bug 180098 - "--enable-activex-scripting" option seems to break composition window. Error was in enumeration when IDispatch logic was turned on. r=adamlock, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@133901 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 13:57:16 +00:00
igor%mir2.org
ece1ec437f
Replace getScriptable() by getFunctionName() in omj/debug/DebuggableScript.java as the debugger used DebuggableScript.getScriptable() only to query function names.
...
It allows to implement the DebuggableScript interface only by omj/InterpreterData instead of 2 identical implementations by InterpretedFunction and InterpretedScript.
git-svn-id: svn://10.0.0.236/trunk@133851 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 21:12:36 +00:00
seawood%netscape.com
6163c33b1c
Drop unneeded java build rules & variables since blackwood now builds using ant.
...
Bug #161617 r=edburns sr=beard
git-svn-id: svn://10.0.0.236/trunk@133837 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 19:36:28 +00:00
pschwartau%netscape.com
3193f8fabf
Adding comments.
...
git-svn-id: svn://10.0.0.236/trunk@133807 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 02:12:15 +00:00
brendan%mozilla.org
e0ef268766
Remove l10n_debug cruft, expand tabs, eliminate else-after-break, don't invade the standard C namespace with leading _ in identifiers, etc. (173827, r=scole@planetweb.com).
...
git-svn-id: svn://10.0.0.236/trunk@133784 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:59:15 +00:00
igor%mir2.org
460d1f1c00
Fixing in Interpreter.dumpICode reading of index from a wrong offset
...
git-svn-id: svn://10.0.0.236/trunk@133740 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 10:22:46 +00:00
igor%mir2.org
3bc7187bf3
Fixing misspellings comments
...
git-svn-id: svn://10.0.0.236/trunk@133739 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 10:13:40 +00:00
brendan%mozilla.org
1a91c38fee
Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard).
...
git-svn-id: svn://10.0.0.236/trunk@133733 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 04:35:37 +00:00
pschwartau%netscape.com
bf1aaef14a
Removing redundant variable declarations.
...
git-svn-id: svn://10.0.0.236/trunk@133713 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 00:19:57 +00:00
pschwartau%netscape.com
af53e8c6b9
Adding more sections to cover str.search(), str.replace().
...
git-svn-id: svn://10.0.0.236/trunk@133706 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:14:17 +00:00
brendan%mozilla.org
41e9a80c9f
Fix s.match('re', 'g') and similar cases to use the right local root (179524, r=rogerl).
...
git-svn-id: svn://10.0.0.236/trunk@133682 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:25:01 +00:00
pschwartau%netscape.com
c3ce684503
Comment fix.
...
git-svn-id: svn://10.0.0.236/trunk@133667 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:02:18 +00:00
pschwartau%netscape.com
43359f5192
str.match() CAN take a 2nd parameter, if the 1st one is a string instead of a RegExp object. Added cases to cover that.
...
git-svn-id: svn://10.0.0.236/trunk@133666 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 18:33:39 +00:00
dbradley%netscape.com
664e4a6037
NOT PART OF BUILD. Corrected scriptability tests.
...
git-svn-id: svn://10.0.0.236/trunk@133651 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 10:38:17 +00:00
igor%mir2.org
a9d29a14f5
Call NativeArray.getLength() instead of deprecated NativeArray.jsGet_length()
...
git-svn-id: svn://10.0.0.236/trunk@133645 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:41:09 +00:00
igor%mir2.org
7e3dfdd461
Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
...
git-svn-id: svn://10.0.0.236/trunk@133644 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:37:43 +00:00
igor%mir2.org
971ac0bb35
1. Deprecation jsGet_length in favour of getLength
...
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
git-svn-id: svn://10.0.0.236/trunk@133643 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:36:40 +00:00
igor%mir2.org
d576005582
1. In js_concat determine the the size of the resulting string to avoid reallocations in StringBuffer .
...
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
git-svn-id: svn://10.0.0.236/trunk@133641 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:33:48 +00:00
igor%mir2.org
e0d97e7664
Cosmetics: use consistent naming and layout for internal methods providing JS library implementation
...
git-svn-id: svn://10.0.0.236/trunk@133639 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:29:57 +00:00
igor%mir2.org
9f64b76c40
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179068
...
Allow to use char sequences exceeding 64K when storing source for decompilation
The current 64K limit for string literals comes from omj/Parser.java where it constructs the internal script presentation for future decompilation. The patch extends this form to allow string sequences with more then 64K characters and modifes decompilation code in omj/NativeFunction.java accordingly.
git-svn-id: svn://10.0.0.236/trunk@133638 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:24:54 +00:00
igor%mir2.org
618232cc79
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179366
...
Assume --> after a possible whitespace after line start means comments to end-of-line. The change follows the SpiderMonkey solution.
git-svn-id: svn://10.0.0.236/trunk@133637 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 09:20:09 +00:00
dbradley%netscape.com
8342029c26
Bug 173146 - Add support to XPConnect for IDispatch interface. Second round of changes. r=adamlock, sr=jst. Most changes are not part of build.
...
git-svn-id: svn://10.0.0.236/trunk@133631 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 08:22:35 +00:00
pschwartau%netscape.com
e444ceb885
Initial add. Regression test for bug 179524.
...
git-svn-id: svn://10.0.0.236/trunk@133610 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 01:52:25 +00:00
pschwartau%netscape.com
7e4e0fd61d
Initial add. Regression test by igor@icesoft.no for bug 31255, bug 179366.
...
git-svn-id: svn://10.0.0.236/trunk@133544 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 20:56:42 +00:00
pschwartau%netscape.com
ce621ae6cc
Initial add. Regression test for bug 179068.
...
git-svn-id: svn://10.0.0.236/trunk@133543 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 20:31:36 +00:00
seawood%netscape.com
c3d4380b65
JS is a C only library and should be linked as such.
...
git-svn-id: svn://10.0.0.236/trunk@133461 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 08:18:25 +00:00
pschwartau%netscape.com
c7d97152de
A more accurate inRhino() function. The previous one failed to distinguish Rhino from LiveConnect.
...
git-svn-id: svn://10.0.0.236/trunk@133422 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 22:42:25 +00:00
pschwartau%netscape.com
b7ba32bae5
New engine command for JS2: was dikdik, now epimetheus.
...
git-svn-id: svn://10.0.0.236/trunk@133417 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 21:56:41 +00:00
igor%mir2.org
00ce524c60
Cosmetics: refactor decompile without changing its functionality so a possible future patch to allow literal strings greater then 64K would be less intrusive.
...
git-svn-id: svn://10.0.0.236/trunk@133396 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 12:08:52 +00:00
pschwartau%netscape.com
ac243ee0ec
Tweaking sort function.
...
git-svn-id: svn://10.0.0.236/trunk@133333 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 23:02:06 +00:00
pschwartau%netscape.com
f901a44784
Reinstituting check on |arr instanceof Array && arr.length === 0| from version 1.1 of test; this is necessary.
...
git-svn-id: svn://10.0.0.236/trunk@133332 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 22:57:40 +00:00
pschwartau%netscape.com
bab0976795
Adding comments -
...
git-svn-id: svn://10.0.0.236/trunk@133329 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 22:43:52 +00:00