6480 Commits

Author SHA1 Message Date
kairo%kairo.at
1dfba50b48 bug 289326 - hangs when clicking on "Satellite" link on Google maps (linux-ia64 only), patch by David Mosberger <davidm@hpl.hp.com> r=brendan sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@172074 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 12:47:20 +00:00
brendan%mozilla.org
dcec8e9b6a Fix bugs due to errata in ECMA-357 10.2.1, 13.4.4.35 and 13.4.4.36 (290056, r/a=me).
git-svn-id: svn://10.0.0.236/trunk@172048 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 22:42:57 +00:00
brendan%mozilla.org
b8b4468654 Defense in depth for eval on what should be an inaccessible scope (217195, r+sr=jst, a=chase).
git-svn-id: svn://10.0.0.236/trunk@172014 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 01:35:05 +00:00
jst%mozilla.jstenback.com
f78c062383 Fixing bug 286629. Allow access to Components.lookupMethod() and .isSuccessCode() from untrusted script. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@171992 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 20:41:12 +00:00
bob%bclary.com
48c5dc61f5 revert stupid mistake
git-svn-id: svn://10.0.0.236/trunk@171987 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:49:45 +00:00
bob%bclary.com
9ae40e7bdd /b(?=(b+))/.exec(baaabac) == null
git-svn-id: svn://10.0.0.236/trunk@171964 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:39:26 +00:00
bob%bclary.com
49783750da Generalize test to use regular expression to prevent false failure in rhino
git-svn-id: svn://10.0.0.236/trunk@171963 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:37:52 +00:00
bob%bclary.com
2f8521387d Catch exception if indirect eval calls are not allowed in the engine
git-svn-id: svn://10.0.0.236/trunk@171962 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:36:25 +00:00
bob%bclary.com
01961ddc25 Don't call gc() if it is not defined the the engine being tested
git-svn-id: svn://10.0.0.236/trunk@171961 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:35:19 +00:00
bob%bclary.com
c1a79424c7 Change expected typeof new Script() to 'object', since it is not callable
git-svn-id: svn://10.0.0.236/trunk@171960 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:33:44 +00:00
bob%bclary.com
44eea6cee0 Escape >, bug 289634
git-svn-id: svn://10.0.0.236/trunk@171959 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:27:48 +00:00
bob%bclary.com
bd5cff96e0 spidermonkey version of the test
git-svn-id: svn://10.0.0.236/trunk@171958 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 03:15:54 +00:00
bob%bclary.com
bf316edb9b Update character ranges, bug 289640
git-svn-id: svn://10.0.0.236/trunk@171955 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 02:24:04 +00:00
bob%bclary.com
c587cd77ee Add two test cases from Martin Honnen, bug 289706, bug 289790
git-svn-id: svn://10.0.0.236/trunk@171954 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 02:15:35 +00:00
brendan%mozilla.org
c72802fb50 Fix to late-night goof in xml_contains (289790, r/a=me).
git-svn-id: svn://10.0.0.236/trunk@171925 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 15:21:47 +00:00
brendan%mozilla.org
2302371c63 Fix incomplete/buggy Equals (278706, reporter=Martin.Honnen@arcor.de, r/a=me).
git-svn-id: svn://10.0.0.236/trunk@171912 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-09 17:59:21 +00:00
bob%bclary.com
fce569785a add obsolete tests to spidermonkey's exclusion list, bug 289604
git-svn-id: svn://10.0.0.236/trunk@171894 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:19:21 +00:00
bob%bclary.com
a7c82e7673 add spidermonkey only tests to rhino's exclusion list, bug 289603
git-svn-id: svn://10.0.0.236/trunk@171893 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:08:57 +00:00
bob%bclary.com
4895ddad27 remove anchors from jsDriver.pl output, bug 289600
git-svn-id: svn://10.0.0.236/trunk@171892 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-08 20:02:47 +00:00
brendan%mozilla.org
01efe388a9 Revert kludge, want a general fix.
git-svn-id: svn://10.0.0.236/trunk@171865 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 19:48:57 +00:00
brendan%mozilla.org
41903388e1 Stop evals and Script object calls/execs that cross trust domains (289074, r=shaver, sr=jst, a=drivers).
git-svn-id: svn://10.0.0.236/trunk@171838 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 02:22:24 +00:00
brendan%mozilla.org
3cafb25351 Fix SetFunctionSlot to cope with the second shawdowed arg or var (289094, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@171743 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:10:43 +00:00
brendan%mozilla.org
e3f84c77fe Don't bellow, below
git-svn-id: svn://10.0.0.236/trunk@171738 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:47:41 +00:00
bob%bclary.com
6eb22443b4 Regress test for bug 289094, by Jonas Jonsson <mozilla.nospam@fatbrain.org>, Brendan Eich <brendan@mozilla.org>
git-svn-id: svn://10.0.0.236/trunk@171735 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:30:49 +00:00
bsmedberg%covad.net
be161e81a3 Static build bustage from bug 288955 - MODULE_NAME is incompatible with FORCE_SHARED_LIB in static builds.
git-svn-id: svn://10.0.0.236/trunk@171665 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:26:06 +00:00
bsmedberg%covad.net
d8752695a7 Bug 288955 - move jsdebugger to tier 50, integrate with libxul r=darin
git-svn-id: svn://10.0.0.236/trunk@171653 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 16:34:09 +00:00
bob%bclary.com
3538677daf Testcase for XML Descendants, by Martin Honnen <martin.honnen@gmx.de>
git-svn-id: svn://10.0.0.236/trunk@171648 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 15:22:58 +00:00
bsmedberg%covad.net
0ea03d8860 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171643 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 12:36:03 +00:00
brendan%mozilla.org
c06c3686f6 JS_FRIEND_API for js_DumpGCStats (#ifdef JS_GCMETER only, not part of build).
git-svn-id: svn://10.0.0.236/trunk@171595 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 20:43:47 +00:00
bob%bclary.com
b747c7f999 15.5.4.14 - String.prototype.split(/()/), by Karten Sperling <spiff@phreax.net
git-svn-id: svn://10.0.0.236/trunk@171562 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 15:51:25 +00:00
brendan%mozilla.org
e89702c28b Fix for regression from 288688's patch (288818, tachyonal r=shaver/sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@171521 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 07:56:54 +00:00
brendan%mozilla.org
4c85caf1e7 Followup to last patch: JS_free is null-safe.
git-svn-id: svn://10.0.0.236/trunk@171505 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:39:16 +00:00
bob%bclary.com
2a3d4b5356 Regression test for bug 288688
git-svn-id: svn://10.0.0.236/trunk@171503 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:38:32 +00:00
brendan%mozilla.org
d5d9fd7006 Fix property lookup so function::name can be found in a filtering predicate expression.
git-svn-id: svn://10.0.0.236/trunk@171502 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:37:45 +00:00
brendan%mozilla.org
5f64d21961 Fix 8-year-old bug with lambda replace clobbering cx->regExpStatics (288688, r=shaver, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@171485 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 02:48:16 +00:00
brendan%mozilla.org
9e7ea0c918 Fix unique attribute {uri, localName} bug (283972) and follow the spec on escaping > (264369).
git-svn-id: svn://10.0.0.236/trunk@171459 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 17:23:12 +00:00
timeless%mozdev.org
adc346ec85 Bug 288532 OOM crash [@ XPCConvert::JSErrorToXPCException]
r=dbradley sr=rbs


git-svn-id: svn://10.0.0.236/trunk@171449 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 04:36:44 +00:00
igor%mir2.org
d84c52c332 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@171426 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 13:16:07 +00:00
bob%bclary.com
47b100fc59 Add test cases for XML literals: comment, processing instruction. No bug, issue found by Martin Honnen
git-svn-id: svn://10.0.0.236/trunk@171387 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 14:56:03 +00:00
bsmedberg%covad.net
e6a0f5c282 Bug 286450 - Make nsIScriptError.message display a formatted message with file/line information, for future logging purposes r=dbradley sr=bz
git-svn-id: svn://10.0.0.236/trunk@171379 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 11:34:59 +00:00
brendan%mozilla.org
e5a51203ad Fix ancient misordering of addProperty before slot store (279289, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@171331 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 19:24:33 +00:00
brendan%mozilla.org
75fd1b8828 Make js_GetScriptLineExtent JS_FRIEND_API for the js shell's sake.
git-svn-id: svn://10.0.0.236/trunk@171322 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 16:55:43 +00:00
brendan%mozilla.org
ac09b11f9e Fix EmitJump to AddSpanDep if in all necessary cases (155081, the small crash-fix patch).
git-svn-id: svn://10.0.0.236/trunk@171309 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 02:45:03 +00:00
brendan%mozilla.org
17be13f84c Fix bogus assertion reported a while ago (sorry, I forgot by whom).
git-svn-id: svn://10.0.0.236/trunk@171308 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 02:40:23 +00:00
brendan%mozilla.org
c35622726d Add getslx for testing js_GetScriptLineExtent, and make GetTrapArgs work as ValueToScript does.
git-svn-id: svn://10.0.0.236/trunk@171307 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 02:39:01 +00:00
brendan%mozilla.org
9634bd6656 - Fix longstanding goof in js_PushLocalRoot, where m (n % local-root-chunk)
was returned rather than n (the index of lrs->scopeMark).  I'm mortified.
- Followup fix to GC local rooting fix in ParseNodeToXML -- missed a few
  early returns from what used to be no-local-roots switch cases.


git-svn-id: svn://10.0.0.236/trunk@171301 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 01:40:30 +00:00
brendan%mozilla.org
3afd105310 - Revert recent change to js_NewXMLSpecialObject API, it was based on me
misreading the spec.
- Improve XML constant folding by decompiling CDATA, comments, and PIs in
  non-constant XML literals -- those containing {embedded-expressions}.
- Fix GC local rooting in ParseNodeToXML, it was pretty broken.


git-svn-id: svn://10.0.0.236/trunk@171290 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:12:42 +00:00
brendan%mozilla.org
d2dda290ef Back out recent attempts to fix 287107 and follow-on bugs; back to drawing board.
git-svn-id: svn://10.0.0.236/trunk@171257 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 08:25:30 +00:00
brendan%mozilla.org
3bdc0bada9 Comment tweak.
git-svn-id: svn://10.0.0.236/trunk@171253 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 20:30:46 +00:00
brendan%mozilla.org
15dded316e Make top-level PIs and comments respect their XML.ignore* flags (246441 cont'd).
git-svn-id: svn://10.0.0.236/trunk@171250 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 20:18:51 +00:00