Commit Graph

7242 Commits

Author SHA1 Message Date
mrbkap%gmail.com
9b2fd057ce bug 320008: Double-quotes in attributes in constructs parsed by the XML constructor get double-escaped, turning into " r=brendan
git-svn-id: svn://10.0.0.236/trunk@186191 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 23:02:22 +00:00
brendan%mozilla.org
daac9b30f7 Fix typo pointed out by Gavin.
git-svn-id: svn://10.0.0.236/trunk@186188 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 22:08:11 +00:00
brendan%mozilla.org
d2065c0839 Tricky fix to allow non-ECMA Function.prototype extensions to be readonly except when delegated to from other classes (320119, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@186184 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 19:32:44 +00:00
mrbkap%gmail.com
cff7a68a7a Bustage fix from bug 319296.
git-svn-id: svn://10.0.0.236/trunk@186148 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 02:03:49 +00:00
jst%mozilla.jstenback.com
5d54bbf601 Fixing bug 319296. This fixes a problem where we could end up in a situation where a nsIXPCScriptable helper would be used for a class info object when the helper is obviously written only for the class described by the class info. r=mrbkap@gmail.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@186142 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 00:32:15 +00:00
mrbkap%gmail.com
d87f9c7069 bug 320172: Functions that call eval need to be heavyweight functions so that var declarations in their eval'd string have a varobj to call home. r=brendan
git-svn-id: svn://10.0.0.236/trunk@186097 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 02:30:16 +00:00
mrbkap%gmail.com
6670b4e952 bug 319872: Test for integer overflow while escaping stuff. r=brendan
git-svn-id: svn://10.0.0.236/trunk@186026 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 23:18:03 +00:00
bsmedberg%covad.net
117197e182 Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
git-svn-id: svn://10.0.0.236/trunk@185996 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 17:55:43 +00:00
gerv%gerv.net
76529f3fd6 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@185990 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 13:25:40 +00:00
bsmedberg%covad.net
aec1976764 Bug 315090 - convert xpconnect utils/tests to use frozen linkage, r=shaver
git-svn-id: svn://10.0.0.236/trunk@185958 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 15:08:16 +00:00
mrbkap%gmail.com
3e113ed325 Fix comment nit from bug 319264.
git-svn-id: svn://10.0.0.236/trunk@185908 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 06:49:02 +00:00
mrbkap%gmail.com
8ea88a6947 bug 319264: Fix double-free reporting strict warnings about assigning to read-only properties. r=brendan
git-svn-id: svn://10.0.0.236/trunk@185907 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 06:44:29 +00:00
brendan%mozilla.org
8e7dbe2323 Fix delegation to function object for length and other properties (313570, r/sr=mrbkap/shaver).
git-svn-id: svn://10.0.0.236/trunk@185891 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-10 18:46:37 +00:00
brendan%mozilla.org
78dc3e50b3 Revert to pre-E4X handling of eval(s) = x to avoid compile-time error reporting (319391, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@185857 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 20:23:38 +00:00
mrbkap%gmail.com
09fb0311d4 bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@185843 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:08:45 +00:00
mrbkap%gmail.com
42fa62170e bug 319172: Innerize the global object for subscript loading so that functions are compiled with the right parent (leading to the inner window, not the outer window). r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@185842 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 18:58:23 +00:00
bob%bclary.com
9e3dfac18e Regression test for bug 314890, by Jeff Thompson, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185814 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 20:47:46 +00:00
bob%bclary.com
d5bb8f3aa5 Regression test for bug 318922, by Biju, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185812 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 19:56:08 +00:00
bob%bclary.com
7e61500053 Regression test for bug 319384, by Boris Zbarsky, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185810 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 19:08:37 +00:00
brendan%mozilla.org
6d12b315a2 Comment typos fixed.
git-svn-id: svn://10.0.0.236/trunk@185807 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 17:59:45 +00:00
brendan%mozilla.org
834e997e9f Fix uninitialized variable use in an assertion (311583, r=igor).
git-svn-id: svn://10.0.0.236/trunk@185772 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 22:42:06 +00:00
mrbkap%gmail.com
3a1f00b981 bug 319384: Don't use unsigned objects for signed values. Also give the "can't convert to integer" error an exception type so that it can be caught. r=daumling@adobe.com sr=brendan
git-svn-id: svn://10.0.0.236/trunk@185768 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 20:49:52 +00:00
brendan%mozilla.org
1738d98dea Add missing TOK_XMLSPACE case (one-line fix to 318922, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@185741 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:40:36 +00:00
bzbarsky%mit.edu
571c28dfbe Make sure to keep memberval alive while we use it. Bug 318969, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@185728 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 04:48:19 +00:00
brendan%mozilla.org
78330e8bad Fix some style nits.
git-svn-id: svn://10.0.0.236/trunk@185719 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 23:41:30 +00:00
brendan%mozilla.org
ca09fca52a Patch from Michael Daumling <daumling@adobe.com> to let the OOM message be localized (318767, r=me).
git-svn-id: svn://10.0.0.236/trunk@185713 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 21:35:15 +00:00
brendan%mozilla.org
f1d25cc5a6 Fix XML folding to skip name nodes with list arity due to embedded {expr} terms (318922, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@185688 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 05:26:50 +00:00
bsmedberg%covad.net
9c52a8d23a Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
git-svn-id: svn://10.0.0.236/trunk@185645 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:27:17 +00:00
dbaron%dbaron.org
6efef3c0ad Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
1bafd7404b Fixing bug 318873. Crash in js_GetLocalizedErrorMessage(). Patch by tor@acm.org, r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@185635 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:32:07 +00:00
brendan%mozilla.org
6e4a092157 Michael Daumling <daumling@adobe.com> patch to allow user-defined errors, finally (thanks to Michael for doing this; 215173, r=mrbkap/me).
git-svn-id: svn://10.0.0.236/trunk@185625 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 02:31:21 +00:00
bsmedberg%covad.net
fd2c3873ba Bustage fix, bug 316416, nested classes are not automatically friendly.
git-svn-id: svn://10.0.0.236/trunk@185576 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 17:09:19 +00:00
bsmedberg%covad.net
dc84be3e28 Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
git-svn-id: svn://10.0.0.236/trunk@185574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 16:34:42 +00:00
brendan%mozilla.org
ea43b9e962 Followup to maximize error-reporting code sharing (315436, r=daumling).
git-svn-id: svn://10.0.0.236/trunk@185539 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 21:05:12 +00:00
brendan%mozilla.org
4a5b6a2659 Fix from Michael Daumling <daumling@adobe.com> to make read-only assignment a strict warning (315436, r/sr=mrbkap/brendan).
git-svn-id: svn://10.0.0.236/trunk@185486 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 02:26:35 +00:00
dougt%meer.net
b77bb2a488 Allowing js to be statically linked, if desired. r=bsmedberg. b=236617
git-svn-id: svn://10.0.0.236/trunk@185443 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 17:38:49 +00:00
mrbkap%gmail.com
9606faf9f5 bug 307526: Add a -i option to the two shells to force interactive mode so that it's possible to use xpcshell from Emacs (where isatty returns bad results). r=dmose sr=brendan
git-svn-id: svn://10.0.0.236/trunk@185415 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 23:52:28 +00:00
dougt%meer.net
8841fa464f PR_MemMap is busted on WINCE. Until it is fixed, disable memory map access in js loader. b=318077. r=dougt. WINCE only.
git-svn-id: svn://10.0.0.236/trunk@185364 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:44:40 +00:00
mrbkap%gmail.com
f2bb9626f7 bug 317476: The error thrown by JS_ReportError is not catchable. r=brendan
git-svn-id: svn://10.0.0.236/trunk@185335 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 20:42:30 +00:00
mrbkap%gmail.com
1176e84ce3 bug 317533: Don't get confused by final if statements when determining if a function always returns a value. r=brendan
git-svn-id: svn://10.0.0.236/trunk@185334 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 20:35:13 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
brendan%mozilla.org
9d9b940d57 Fix bad regression in fix for 316885 (317714, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@185267 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 07:49:05 +00:00
bob%bclary.com
586c4f6c16 Improve BigO reporting, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185254 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:54:52 +00:00
bob%bclary.com
5dc4385f5f Test for version() function's existence so that test does not fail in the browser, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185253 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:51:38 +00:00
bob%bclary.com
466080a1f2 Correct erroneous tests, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185252 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:49:48 +00:00
bob%bclary.com
1c26fd3063 Fix test by constructing valid date from toDateString() and toLocaleTimeString(), no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185251 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:46:08 +00:00
bob%bclary.com
0f4e534e42 Remove @ native from global toString in debug builds, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185250 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:43:16 +00:00
bob%bclary.com
48329f13d8 Add JavaScript language version to mime attribute of js1_x browser tests, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185249 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:40:43 +00:00
bob%bclary.com
0ba3933caf Remove jsbrowser, e4xbrowser from browser target, no bug, not part of the build
git-svn-id: svn://10.0.0.236/trunk@185248 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 04:39:15 +00:00