Commit Graph

82 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
6633dd2f34 Bug 482659. Give about:blank documents the base URI of the document that did
the load. r=dcamp, sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@256568 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 23:27:19 +00:00
Olli.Pettay%helsinki.fi
097187d136 Bug 420415, r=jst, sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248359 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 11:44:09 +00:00
Olli.Pettay%helsinki.fi
c0611dee35 Bug 402982, fixing bustage
git-svn-id: svn://10.0.0.236/trunk@246535 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 15:10:01 +00:00
Olli.Pettay%helsinki.fi
dc79137dfc Bug 402982, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246529 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 14:47:52 +00:00
bzbarsky%mit.edu
78c25ccf26 Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@237338 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 23:37:27 +00:00
bzbarsky%mit.edu
c57e87303d More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@230161 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:47:07 +00:00
Olli.Pettay%helsinki.fi
29c87c6a3f Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz
git-svn-id: svn://10.0.0.236/trunk@230099 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 07:43:36 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
171d39f9c8 Only inherit the principal into the child if it's got a docshell of the same
type.  Bug 349769, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@208155 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 04:07:52 +00:00
bzbarsky%mit.edu
af4b1e359a Remove special-case for setting the "src" of a chrome <iframe> or <browser>.
Treat it like we would any other subframe load -- use the chrome as the owner.
Bug 348672, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@207908 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-19 02:43:00 +00:00
bzbarsky%mit.edu
0583386559 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
79c2bd2cd6 Add some comments explaining what these files do. rs=jst
git-svn-id: svn://10.0.0.236/trunk@193256 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 08:03:04 +00:00
bzbarsky%mit.edu
438a6271fc Fixing comment. No bug.
git-svn-id: svn://10.0.0.236/trunk@191366 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:21:17 +00:00
bzbarsky%mit.edu
08af366a13 Be more careful with the principal for subframe loads. Bug 327078 and bug 328469, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@191319 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 19:14:51 +00:00
bzbarsky%mit.edu
e03f806aad Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@190799 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 03:58:48 +00:00
bzbarsky%mit.edu
1510aacc39 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


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com
0d50ed8549 bug 322773: The prompt service asserts if there our window doesn't have a document. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187783 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 23:06:06 +00:00
mrbkap%gmail.com
76b4aa2fb1 bug 323380: Load about:blank into the frame if the given URI was malformed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187718 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-17 18:13:31 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
cbiesinger%web.de
054912c09e 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


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
a13a43b362 Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@178604 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 15:44:49 +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