693 Commits

Author SHA1 Message Date
alqahira%ardisson.org
ea7416e665 Fix for bug 554255 (Limit resource use to something sane). Patch by Peter Van der Beken <peterv@propagandism.org>, r=sicking, sr=jst, a1.9.0.next=dveditz
git-svn-id: svn://10.0.0.236/trunk@260878 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-24 21:03:45 +00:00
peterv%propagandism.org
5e6b55bab6 Fix for bug 528300. r=sicking, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@259160 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-03 12:21:49 +00:00
peterv%propagandism.org
142a117d9c Fix for bug 483444. r/sr=mrbkap, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@256771 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 19:22:07 +00:00
mrbkap%gmail.com
f79ce434ce Bug 485286 - Add a crashtest.
git-svn-id: svn://10.0.0.236/trunk@256750 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-30 19:03:14 +00:00
mrbkap%gmail.com
6c4a9a46b7 Bug 485286 - Allocate all of these consistently. r+sr=peterv/sicking a=ss
git-svn-id: svn://10.0.0.236/trunk@256704 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-26 07:32:43 +00:00
mrbkap%gmail.com
d7a1140d14 Bug 485217 - Add a crashtest.
git-svn-id: svn://10.0.0.236/trunk@256684 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-25 21:41:28 +00:00
mrbkap%gmail.com
eb91684251 Bug 485217 - Pop the eval context before returning. r+sr=peterv a=ss
git-svn-id: svn://10.0.0.236/trunk@256682 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-25 20:39:47 +00:00
bzbarsky%mit.edu
7a1ecd860b Bug 460425. Do better security checks during redirection. r=sicking,biesi,
sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@255759 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 01:03:37 +00:00
Olli.Pettay%helsinki.fi
a4b3740da9 Bug 448548, r=sicking, sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@253780 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-22 18:47:20 +00:00
jst%mozilla.org
1b4894ea06 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250406 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 22:30:53 +00:00
jonas%sicking.cc
68059e3e37 Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes
git-svn-id: svn://10.0.0.236/trunk@248571 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 02:46:11 +00:00
reed%reedloden.com
9cd37f11c1 Bug 422850 - "txCompileObserver::startLoad doesn't pass correct object to asyncOpen ("listener" is unused)" [p=sciguyryan@gmail.com (Ryan Jones) r+sr=sicking a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248113 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 19:42:31 +00:00
jonas%sicking.cc
35f305467d Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
myk%mozilla.org
425e84676b backing out fix for bug 416534 as potential cause of mochitest failure
git-svn-id: svn://10.0.0.236/trunk@246615 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:23:38 +00:00
jonas%sicking.cc
05e58d7ee2 Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246608 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:17:52 +00:00
peterv%propagandism.org
7607472917 Fix for bug 355068 (XSLTProcessor.transformToFragment seems to use only output method "text"). r/sr=sicking, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@246373 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 16:03:29 +00:00
dougt%meer.net
0b3345b2de xslt doesn't build on Windows Mobile. r=jonas, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246124 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 22:44:23 +00:00
peterv%propagandism.org
33df67b943 Fix for bug 417941 (regexp:match function use gives error). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@245873 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 17:21:23 +00:00
reed%reedloden.com
0a2af75c61 Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@245346 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-10 06:16:32 +00:00
reed%reedloden.com
db3f05c81c Bug 289394 - "Double.cpp causes unaligned accesses" [p=davidm@hpl.hp.com (David Mosberger) / eric@debian.org (Eric Dorland) / mh+mozilla@glandium.org (Mike Hommey) r+sr=sicking sr=bryner a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@243959 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 08:02:05 +00:00
reed%reedloden.com
9c94a3567a Bug 369722 - "prdtoa.c jsnum.h txDouble.h not required IEEE_ARM define on Codesourcery EABI gcc3.4.4 compiler" (FPU_IS_ARM_FPA define for XSLT content txDouble.h) [p=romaxa@gmail.com (romaxa) r+sr=sicking a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243167 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 01:30:16 +00:00
benjamin%smedbergs.us
0a44d0e3e2 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
git-svn-id: svn://10.0.0.236/trunk@243117 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 15:51:02 +00:00
reed%reedloden.com
a5e802d4f0 Bug 352822 - "apps since MOZILLA_1_8_BRANCH don't build anymore on FreeBSD" (make some floating point exceptions static in txDouble.h) [p=jay@imagine27.com (Justin Grant) r+sr=sicking a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@242602 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-07 22:21:21 +00:00
dwitte%stanford.edu
29cb103bbf bustage fix.
git-svn-id: svn://10.0.0.236/trunk@242336 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 00:17:52 +00:00
dwitte%stanford.edu
a8f5008a68 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@242333 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 00:07:07 +00:00
jruderman%hmc.edu
ce10d278d0 Add crashtest for a leak bug
git-svn-id: svn://10.0.0.236/trunk@242057 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-24 02:12:28 +00:00
Olli.Pettay%helsinki.fi
a4804684ea Bug 403168, r=jonas, sr=jst, a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@240905 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 08:33:33 +00:00
reed%reedloden.com
918937a3a0 Bug 405069 - "Running xpathgen tests: ###!!! ASSERTION: called nsGenericElement::TextLength: 'Not Reached', file /home/ajvincent/beta/mozilla/content/base/src/nsGenericElement.cpp, line 3971" [p=ajvincent@gmail.com (Alex Vincent) r+sr=sicking a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@240189 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 06:45:49 +00:00
reed%reedloden.com
cee590e6c8 Backing out patches for bugs 405069 and 346079 to track down perf regression.
git-svn-id: svn://10.0.0.236/trunk@240184 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 02:23:27 +00:00
reed%reedloden.com
0e35c3d770 Bug 405069 - "Running xpathgen tests: ###!!! ASSERTION: called nsGenericElement::TextLength: 'Not Reached', file /home/ajvincent/beta/mozilla/content/base/src/nsGenericElement.cpp, line 3971" [p=ajvincent@gmail.com (Alex Vincent) r+sr=sicking a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@240159 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:06:18 +00:00
peterv%propagandism.org
ea2e58b2c7 Fix for bug 406106 (Large leak with XSLTProcessor.setParameter). r/sr/a=sicking.
git-svn-id: svn://10.0.0.236/trunk@240150 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 19:10:03 +00:00
jst%mozilla.org
ff5c2dfed9 Landing fix for regression bug 402422. XPathResult crashes when holding nodeset and accessing stringValue/numberValue/booleanValue. Patch by peterv@propagandism.org, r+sr=jst@mozilla.org. Landing this one w/o direct approval to get it in for the upcoming nightlies.
git-svn-id: svn://10.0.0.236/trunk@238528 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 08:06:48 +00:00
jst%mozilla.org
93c4b7887d Landing fix for bug 402208. XPathResult holding attribute node causes cycle collector fault. Patch by peterv@propagandism.org, r+sr=jonas@sicking.cc, a=drivers.
git-svn-id: svn://10.0.0.236/trunk@238473 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-03 00:01:04 +00:00
jonas%sicking.cc
5233d883cd bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@238237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 01:46:11 +00:00
jonas%sicking.cc
b6f578a9b8 Bug 395689: Stop leaks of xslt patterns. Patch by peterv. r/sr/a=me
git-svn-id: svn://10.0.0.236/trunk@237199 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 20:17:51 +00:00
jonas%sicking.cc
c9f4c752f6 Bug 284225: Use right security context for xslt. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@236797 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 22:05:07 +00:00
peterv%propagandism.org
76df5e4997 Fix for bug 397386 (Large leak on grono.net front page), part 2. r/sr=sicking, a=dsicore.
git-svn-id: svn://10.0.0.236/trunk@236759 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 16:39:13 +00:00
sayrer%gmail.com
12aafce20c Bug 397386. Large leak on grono.net front page. r/sr=peterv, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@236723 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-26 18:20:24 +00:00
jonas%sicking.cc
dcba010c5f Bug 393329: Clean up destructors in xslt code. Patch by peterv. r/sr/a=sicking
git-svn-id: svn://10.0.0.236/trunk@234012 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 04:02:41 +00:00
peterv%propagandism.org
f273c22b56 Fix for bug 393329 (numerous xslt leaks visiting http://www.metacafe.com). r/sr/a=sicking.
git-svn-id: svn://10.0.0.236/trunk@233715 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 17:47:40 +00:00
Olli.Pettay%helsinki.fi
a01db6ee2c Bug 319374, XPath should ignore changes to anonymous content, r+sr=sicking, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@232375 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 05:53:03 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
asqueella%gmail.com
cf57b4c15a Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas


git-svn-id: svn://10.0.0.236/trunk@230140 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:15:50 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
07b1a00bfc Fix for bug 384440 (txHandlerTable leaks). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228055 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 16:54:34 +00:00
jonas%sicking.cc
8aac19d83c Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00