Commit Graph

56 Commits

Author SHA1 Message Date
(no author)
d368a405db This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@185757 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:54:01 +00:00
(no author)
d1331130a2 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@182227 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 02:57:26 +00:00
bzbarsky%mit.edu
3dbbc7ecd3 Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst,
a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178605 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 15:46:13 +00:00
cbiesinger%web.de
af96dffb75 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@172926 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 13:06:48 +00:00
bzbarsky%mit.edu
84f91295ab Use Equals() when checking for recursion instead of hand-rolling URI
comparisons.  Cut off recursion at first repeated URI, not third, since that's
what IE seems to do.  Bug 228829, r=mkaply, sr=jst


git-svn-id: svn://10.0.0.236/trunk@170470 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 21:59:18 +00:00
bzbarsky%mit.edu
ff412b4fd7 Move all frame recursion detection into a method that just does that. Don't
throw errors from EnsureDocShell() on recursion detection; just throw them from
LoadFrame().  Bug 285188, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@170331 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 00:02:55 +00:00
bzbarsky%mit.edu
649b7c1f3f Fix fallout from the nsIFrameLoader changes of yesterday. Bug 280992, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@169005 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 21:30:47 +00:00
bryner%brianryner.com
37cfe9da74 Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168966 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 06:55:00 +00:00
bryner%brianryner.com
7de757ef1d Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168946 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:53:47 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
mats.palmgren%bredband.net
472b2bb7f4 Fallback to using the ID attribute when NAME is empty for XUL iframes. b=254284 r=neil.parkwaycc.co.uk sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163093 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 18:32:18 +00:00
mats.palmgren%bredband.net
41089e08bd Use the ID attribute (and not NAME) for FRAME/IFRAME/OBJECT in XHTML. b=183683 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162186 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 23:34:00 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
ad3e310107 Make sure to use the docshell of the parent document as the parent docshell for
the frame docshell (instead of looking for the "nearest displayed" docshell and
such).  Bug 244554, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157174 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 16:31:15 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
919f3f5dbd Fix crash when frameset is wiped out before onload events on all subframes have
fired.  Bug 212563, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@148805 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 02:01:23 +00:00
caillon%returnzero.com
e64c44f945 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:01:25 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
rjesup%wgate.com
f9aca9363b Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Re-fixes bug 98158 in a different way.
r=darin, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@145757 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 20:32:22 +00:00
rjesup%wgate.com
ef47e08dab Undo mistaken checkin of bug 193011
git-svn-id: svn://10.0.0.236/trunk@145744 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 13:14:06 +00:00
rjesup%wgate.com
a835bad7b5 Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Also re-fixes bug 98158.
r=darin, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@145743 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 13:06:40 +00:00
bzbarsky%mit.edu
0147d8d4a6 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
jst%netscape.com
b13c376d17 Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142254 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 01:42:13 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
jkeiser%netscape.com
da9408f07a Remove 8 nested frames limit on framesets (bug 175270), patch by mkaply@us.ibm.com, r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135375 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:10:03 +00:00
jaggernaut%netscape.com
3961099bb6 Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132475 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 00:00:54 +00:00
akkana%netscape.com
2557fc84c3 176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla
git-svn-id: svn://10.0.0.236/trunk@132467 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 19:58:36 +00:00
jaggernaut%netscape.com
c046c00f8d Forgot to add comment.
git-svn-id: svn://10.0.0.236/trunk@132444 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:37:33 +00:00
jaggernaut%netscape.com
5bc0accd00 Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers
git-svn-id: svn://10.0.0.236/trunk@132443 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:32:20 +00:00
jst%netscape.com
0734ef5de2 Renaming GetDocShellChildren() to GetDocShellChildCount(). See bug 98158 for details.
git-svn-id: svn://10.0.0.236/trunk@127638 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 20:55:03 +00:00
henry.jia%sun.com
e79b8105b8 Patch for bug Bug 98158: Recursive frames exhaust memory
Patch By Jack.Jia@sun.com
r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@127593 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:04:43 +00:00
jkeiser%netscape.com
7f58eb8a1e Stop silly people from recursing frames to death (bug 136580). adamlock's patch, r=jkeiser/adamlock, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124950 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 06:48:10 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
jst%netscape.com
0546da2c91 Fixing regression bug 139870. Don't crash when running into framesets/iframes that are too deeply nested. r=peterV@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119884 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:06:49 +00:00