Commit Graph

164 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
eb59c427aa Fixing comment. No bug. 2006-02-28 05:21:17 +00:00
bzbarsky@mit.edu
ab52714e6e Be more careful with the principal for subframe loads. Bug 327078 and bug 328469, r=sicking, sr=jst 2006-02-27 19:14:51 +00:00
bzbarsky@mit.edu
5e18a0695a Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
bzbarsky@mit.edu
995f519031 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
mrbkap@gmail.com
355825bd3c bug 322773: The prompt service asserts if there our window doesn't have a document. r+sr=bzbarsky 2006-01-18 23:06:06 +00:00
mrbkap@gmail.com
4727fa4237 bug 323380: Load about:blank into the frame if the given URI was malformed. r+sr=bzbarsky 2006-01-17 18:13:31 +00:00
peterv@propagandism.org
51b0cd6709 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
peterv@propagandism.org
97ce448ce1 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
cbiesinger@web.de
d729b5d0b1 bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
peterv@propagandism.org
9d1684be63 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
bzbarsky@mit.edu
be3d62c207 Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst 2005-08-22 15:44:49 +00:00
cbiesinger@web.de
7eb11a486b 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa
2005-05-01 13:06:48 +00:00
bzbarsky@mit.edu
0657355a7f 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
2005-03-09 21:59:18 +00:00
bzbarsky@mit.edu
886f87d581 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
2005-03-08 00:02:55 +00:00
bzbarsky@mit.edu
2bfc44e7e3 Fix fallout from the nsIFrameLoader changes of yesterday. Bug 280992, r+sr=jst 2005-02-08 21:30:47 +00:00
bryner@brianryner.com
2d8d5058d5 Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky 2005-02-08 06:55:00 +00:00
bryner@brianryner.com
8358792915 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
bzbarsky@mit.edu
676f03a288 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mats.palmgren@bredband.net
dfa0582a6f Fallback to using the ID attribute when NAME is empty for XUL iframes. b=254284 r=neil.parkwaycc.co.uk sr=bzbarsky 2004-10-01 18:32:18 +00:00
mats.palmgren@bredband.net
44e7e26a23 Use the ID attribute (and not NAME) for FRAME/IFRAME/OBJECT in XHTML. b=183683 r+sr=bzbarsky 2004-09-12 23:34:00 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky@mit.edu
8c9fbef8c0 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
2004-05-31 16:31:15 +00:00
roc+@cs.cmu.edu
6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bryner@brianryner.com
d509d3c6ba deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky@mit.edu
d6a2a440ea 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
2004-04-25 16:55:27 +00:00
gerv@gerv.net
cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
darin@meer.net
14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner@brianryner.com
191d92ce16 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 2004-02-01 10:09:07 +00:00
jst@mozilla.jstenback.com
505e3d5ba8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
jst@mozilla.jstenback.com
d47517f6dc 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. 2003-11-19 01:20:56 +00:00
bzbarsky@mit.edu
66f835bb18 Fix crash when frameset is wiped out before onload events on all subframes have
fired.  Bug 212563, r+sr=jst
2003-11-04 02:01:23 +00:00
caillon@returnzero.com
5e556dfe05 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bryner@brianryner.com
1f9609e30b 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. 2003-10-22 06:09:48 +00:00
caillon@returnzero.com
36e47e1b16 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
jst@mozilla.jstenback.com
c11c6bf27e 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. 2003-09-27 04:18:26 +00:00
bryner@brianryner.com
147ceaa429 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon@returnzero.com
cb97361fb3 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
rjesup@wgate.com
309deacd44 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
2003-08-08 20:32:22 +00:00
rjesup@wgate.com
fbbfc99e2c Undo mistaken checkin of bug 193011 2003-08-08 13:14:06 +00:00
rjesup@wgate.com
b210af42af 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
2003-08-08 13:06:40 +00:00
bzbarsky@mit.edu
d50c24024f DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
caillon@returnzero.com
3c2c01c6d0 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)
2003-07-24 05:15:20 +00:00
jaggernaut@netscape.com
dd7e889afb Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
alecf@flett.org
aa24a7bb8e 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
2003-06-17 16:40:34 +00:00
caillon@returnzero.com
c8a200d763 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
2003-06-13 20:10:01 +00:00
jst@netscape.com
290a1b7a46 Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-05-09 01:42:13 +00:00
dbaron@dbaron.org
47922f2a26 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
jkeiser@netscape.com
1de6ad5aab Remove 8 nested frames limit on framesets (bug 175270), patch by mkaply@us.ibm.com, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-12-17 01:10:03 +00:00
jaggernaut@netscape.com
ad29675e78 Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers 2002-10-25 00:00:54 +00:00