jst%mozilla.jstenback.com
1b53f11a72
Relanding the fix for bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@179517 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 23:02:57 +00:00
mrbkap%gmail.com
ac444c3ef5
bug 306617: The generic function dispatcher should imitate Function.call and Function.apply. r=brendan sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@179508 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 21:46:15 +00:00
brendan%mozilla.org
3acfaea5f5
Fix to bug reported by daumling@adobe.com (306633, r/sr=daumling/shaver) where eval swallows strict warnings.
...
git-svn-id: svn://10.0.0.236/trunk@179503 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 21:26:27 +00:00
jst%mozilla.jstenback.com
5c0401e35d
Backing out my fix for bug 304423 since it broke the Txul tests.
...
git-svn-id: svn://10.0.0.236/trunk@179461 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 05:39:58 +00:00
jst%mozilla.jstenback.com
953b51be2c
Fixing bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@179452 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 03:51:12 +00:00
bob%bclary.com
2798770e9e
Clone WINNT5.1.mk for Windows Server 2003
...
git-svn-id: svn://10.0.0.236/trunk@179414 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 19:56:10 +00:00
bsmedberg%covad.net
1d2d5dce42
Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan
...
git-svn-id: svn://10.0.0.236/trunk@179397 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:20:09 +00:00
mrbkap%gmail.com
98a77f8d52
bug 306591: Make sure that this is an object, since we're calling functions that operate only on objects. r=brendan sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@179396 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:08:24 +00:00
igor%mir2.org
a5941cc38f
Info about bug 306584
...
git-svn-id: svn://10.0.0.236/trunk@179394 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 16:36:32 +00:00
igor%mir2.org
cf84270574
Fixing bug 306584:
...
Do not assume that all frames have line number information available.
git-svn-id: svn://10.0.0.236/trunk@179392 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 16:24:24 +00:00
bob%bclary.com
1b08f950f0
Add support files for test automation, no bug
...
git-svn-id: svn://10.0.0.236/trunk@179383 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 05:36:58 +00:00
bob%bclary.com
5c3f33d41f
Check in modifications to allow lc3 tests to be run in the browser, no bug
...
git-svn-id: svn://10.0.0.236/trunk@179380 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:52:30 +00:00
bob%bclary.com
ee1ce47f24
Check in modifications to allow lc2 tests to be run in the browser, no bug
...
git-svn-id: svn://10.0.0.236/trunk@179379 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:47:33 +00:00
bob%bclary.com
9e0b9d5b13
Change print to printStatus so that test can be run in browser without invoking window.print, no bug.
...
git-svn-id: svn://10.0.0.236/trunk@179378 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:43:19 +00:00
bob%bclary.com
cf42a882c5
Set gPageCompleted so Spider can detect test completion, no bug.
...
git-svn-id: svn://10.0.0.236/trunk@179377 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:41:49 +00:00
bob%bclary.com
a6905b618a
Change make variable JS to TEST_JS to match automation variable name standards, no bug.
...
git-svn-id: svn://10.0.0.236/trunk@179376 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:40:11 +00:00
bob%bclary.com
c5fbcdc0d3
remove \d{1,s} from list of invalid regular expressions due to fix for bug 289628
...
git-svn-id: svn://10.0.0.236/trunk@179374 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:30:34 +00:00
bzbarsky%mit.edu
ceb32c81fe
Fix bug 305959 -- only return "function" from typeof for Scripts, functions,
...
and regexps. Patch by Blake Kaplan <mrbkap@gmail.com>, r=brendan
git-svn-id: svn://10.0.0.236/trunk@179372 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 04:26:08 +00:00
mrbkap%gmail.com
74506be7e3
bug 306467: Store an nsIScriptObjectPrincipal in the private data of the sandbox global object so that the global object passes security checks. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@179352 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 23:24:21 +00:00
mrbkap%gmail.com
d984acb804
bug 306382: Make sure that Components.utils.evalInSandbox reports an error if evaluating the JS didn't succeed. r=shaver sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@179309 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 16:28:00 +00:00
nboyd%atg.com
2782d4a96a
Update for later release date, update release notes, remove "pre" from
...
version.
git-svn-id: svn://10.0.0.236/trunk@179300 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 13:51:34 +00:00
igor%mir2.org
7ab57a3f54
Reference to bug 306419
...
git-svn-id: svn://10.0.0.236/trunk@179299 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 10:51:08 +00:00
igor%mir2.org
a50ca80a52
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
...
git-svn-id: svn://10.0.0.236/trunk@179298 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 10:45:45 +00:00
igor%mir2.org
44f9f275f0
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
...
git-svn-id: svn://10.0.0.236/trunk@179297 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 10:27:42 +00:00
igor%mir2.org
edb5fd801a
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
...
git-svn-id: svn://10.0.0.236/trunk@179296 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 10:20:21 +00:00
igor%mir2.org
114fa5b4a2
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
...
git-svn-id: svn://10.0.0.236/trunk@179295 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 10:05:47 +00:00
igor%mir2.org
4555a14d89
Cosmetics: tabs removal
...
git-svn-id: svn://10.0.0.236/trunk@179294 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 09:54:24 +00:00
igor%mir2.org
0a3c4f84f5
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
...
git-svn-id: svn://10.0.0.236/trunk@179293 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 09:50:01 +00:00
igor%mir2.org
179d4b1dfa
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
...
git-svn-id: svn://10.0.0.236/trunk@179292 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 09:42:05 +00:00
igor%mir2.org
4a0f6945a3
1. Removal of unused import statements.
...
2. Replacing cx.(toNumber|toString|toObject) by Context.\1 as the
methods are static,
git-svn-id: svn://10.0.0.236/trunk@179291 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 09:41:02 +00:00
igor%mir2.org
bed6c07a75
Removal of unused import statements.
...
git-svn-id: svn://10.0.0.236/trunk@179290 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 09:39:01 +00:00
igor%mir2.org
ad253098fb
Replacing cx.VERSION_1_2 by Context.VERSION_1_2 as the field is static.
...
git-svn-id: svn://10.0.0.236/trunk@179288 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 08:31:48 +00:00
igor%mir2.org
35e45800b5
1. Replacing cx.reportRuntimeError1 by Context.reportRuntimeError1
...
since the method is static.
2. Replacing cx.getSourcePositionFromStack by
Context.getSourcePositionFromStack since the method is static. That
allowed to remove Context.getCurrentContext() call before.
git-svn-id: svn://10.0.0.236/trunk@179287 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 08:26:54 +00:00
igor%mir2.org
0be0e1e776
1. Replacing cx.getSourcePositionFromStack by Context.getSourcePositionFromStack since the method is static.
...
2. That allowed to remove Context.getCurrentContext() call before.
git-svn-id: svn://10.0.0.236/trunk@179285 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 07:58:33 +00:00
igor%mir2.org
5f7e5dcd70
Yet another update of JS function as Java interface implementation to print explicit error messages when conversion is not possible.
...
git-svn-id: svn://10.0.0.236/trunk@179284 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 07:50:08 +00:00
brendan%mozilla.org
767175fb91
Generic static method automation to simplify things for callers of generic prototype methods (304828, r=mrbkap, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@179281 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 04:28:45 +00:00
mrbkap%gmail.com
4360615072
bug 289628: Emulate Perl's handling of invalid min/max quantifiers (and match other browsers). r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@179267 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 00:25:49 +00:00
igor%mir2.org
ae0b162fc2
Fixing copy-source target to generate proper distribution jars.
...
git-svn-id: svn://10.0.0.236/trunk@179260 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 23:24:05 +00:00
igor%mir2.org
4e6ef55cca
Cleanup of JS function as Java interface implementation:
...
1. I removed caching of indicators of which types to convert: it just consumes extra memory without any noticeable benefits.
2. Better comments.
git-svn-id: svn://10.0.0.236/trunk@179225 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 19:27:17 +00:00
igor%mir2.org
8e13c5ea26
Yet another improvement in not-a-function reporting. Now for foo.bar() when bar does not exist Rhino prints "Can not find function bar"
...
git-svn-id: svn://10.0.0.236/trunk@179198 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 14:59:27 +00:00
igor%mir2.org
7602271f2b
Removal of useless import statementes.
...
git-svn-id: svn://10.0.0.236/trunk@179191 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 13:25:32 +00:00
igor%mir2.org
49d604fd8a
Implementing bug 306308: now java.lang.reflect.Proxy is used for function->interface conversion
...
git-svn-id: svn://10.0.0.236/trunk@179189 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 10:57:30 +00:00
igor%mir2.org
5b642a8550
Added fixed bug 306268
...
git-svn-id: svn://10.0.0.236/trunk@179187 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 06:03:36 +00:00
igor%mir2.org
1fddbb8754
Eliminating dead code in ScriptRuntime.evalSpecial: Context.compileString
...
never returns with null.
It was reported by Olinda Spider, pat@mcnerthney.com .
git-svn-id: svn://10.0.0.236/trunk@179181 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 23:44:41 +00:00
igor%mir2.org
aae0945be3
Fixing bug 306268: Patch from Olinda Spider, pat@mcnerthney.com, to fix dot
...
query decompilation.
git-svn-id: svn://10.0.0.236/trunk@179180 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 23:25:22 +00:00
igor%mir2.org
e2404660d3
Added ref to bug 306258
...
git-svn-id: svn://10.0.0.236/trunk@179172 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 20:43:39 +00:00
igor%mir2.org
bd8cf328d7
Fixing 306258: now Rhino can be compiled with Ant under JDK 1.5
...
git-svn-id: svn://10.0.0.236/trunk@179169 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 19:51:23 +00:00
igor%mir2.org
64f1db58a2
Changing the example to use the supported syntax, the older syntax did not
...
work since 1.5R1 release or so.
git-svn-id: svn://10.0.0.236/trunk@179168 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 19:49:21 +00:00
igor%mir2.org
7d94cdcc18
Fixing 306258: Allow to compile under JDK 1.5
...
git-svn-id: svn://10.0.0.236/trunk@179167 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 19:15:21 +00:00
igor%mir2.org
318ae22d61
Updating with info about direct function->interface conversion
...
git-svn-id: svn://10.0.0.236/trunk@179165 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 18:46:13 +00:00