6919 Commits

Author SHA1 Message Date
timeless%mozdev.org
ad5af693e6 Bug 307469 jsopcode.c doesn't build w/ !JS_HAS_XML_SUPPORT
r=brendan


git-svn-id: svn://10.0.0.236/trunk@179858 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 18:54:43 +00:00
jst%mozilla.jstenback.com
e0c14e433d Followup change for bug 307289. Adding comment per jband's suggestion, and a warning to catch callers that restore the current prototype.
git-svn-id: svn://10.0.0.236/trunk@179847 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 16:34:29 +00:00
nboyd%atg.com
a37f2e5efb Add new bug fix link.
git-svn-id: svn://10.0.0.236/trunk@179840 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 13:47:32 +00:00
jst%mozilla.jstenback.com
ae0244176b Probable fix for bug 307289. Make sure we get the wrapped native prototypes put in all the right maps etc when we're restoring a prototype in a scope so that the right cleanup happens during shutdown. r=mrbkap@gmail.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@179828 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 00:29:03 +00:00
brendan%mozilla.org
0a69917b18 Missing change for JS1.6 support (307315, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@179813 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 18:56:21 +00:00
mrbkap%gmail.com
d2251d93bf bug 305884: Protect cx->exception from getting collected by delaying setting cx->throwing until after cx->exception is safe on the stack. Patch by Brendan, r=mrbkap sr=shaver
git-svn-id: svn://10.0.0.236/trunk@179803 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 17:12:38 +00:00
mrbkap%gmail.com
ece07653a7 bug 307278: Remove the horribly outdated js shell implementation. r=brendan
git-svn-id: svn://10.0.0.236/trunk@179743 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 23:20:41 +00:00
brendan%mozilla.org
bd4b1976a0 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@179702 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 17:43:36 +00:00
bob%bclary.com
1a75e969e6 Bug 98901, JS Regression testcase for stack overflow concatenating variables, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@179695 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 15:04:03 +00:00
brendan%mozilla.org
6fa934bb40 Warning fix.
git-svn-id: svn://10.0.0.236/trunk@179688 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 06:51:17 +00:00
bob%bclary.com
b4625085dc Bug 303427 - remove extraneous newline in assertion XPConnect is being called on a scope without a Components property, r,sr=jst,a=asa
git-svn-id: svn://10.0.0.236/trunk@179627 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 17:35:20 +00:00
peterv%propagandism.org
1412f1604a Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@179556 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:21:23 +00:00
brendan%mozilla.org
e0adcb19f9 Fix js_PeekTokenSameLine assertion to handle already-peeked TOK_EOL (306794, r=mrbkap, DEBUG-only).
git-svn-id: svn://10.0.0.236/trunk@179549 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 17:55:08 +00:00
brendan%mozilla.org
2991621a2e Fix failure to root temporary result under Array.prototype.sort (306788, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@179547 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 17:49:05 +00:00
mrbkap%gmail.com
9bcaa284da bug 306738: uneval on a getter outputs mismatched parentheses. r=brendan
git-svn-id: svn://10.0.0.236/trunk@179541 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 16:59:14 +00:00
igor%mir2.org
41d85eb65f Fixing bug #306825: now shell.Global can be used as scope objects in servlets
git-svn-id: svn://10.0.0.236/trunk@179536 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 14:18:40 +00:00
mrbkap%gmail.com
a9df2d1bd8 bug 306740: Add a compile-only option to the JS and XPC shells. Patch by Shane Caraveo <shanec@ActiveState.com> with a couple of nits from me. r=mrbkap sr=brendan
git-svn-id: svn://10.0.0.236/trunk@179520 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 23:17:27 +00:00
jst%mozilla.jstenback.com
e705ef15dc Landing the second part of the fix for bug 304423. Make XPCWrappedNative::GetWrappedNativeOfJSObject() deal with the case where the prototype found through the funobj is not the current prototype for the given class (i.e. it's a prototype for the right class and scope, but one from before prototypes were refreshed). r=mrbkap@gmail.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@179518 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 23:08:57 +00:00
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