Commit Graph

953 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
8f3647ac22 Make setting document.location to itself not create a new history entry. Bug
300805, r=biesi, sr=darin, a=bsmedberg
2005-07-22 18:19:35 +00:00
bryner@brianryner.com
5525cbda79 Fix stuck focus ring when restoring a presentation by making sure to save the focus before we clear the focused content state. Bug 298077, r+sr=dbaron, a=brendan. 2005-07-19 18:02:55 +00:00
bryner@brianryner.com
48a485a049 Allow caching of the document when the load type is LOAD_STOP_CONTENT or LOAD_STOP_CONTENT_AND_REPLACE. Bug 292948, r+sr=darin, a=brendan. 2005-07-19 17:20:05 +00:00
bsmedberg@covad.net
b8d9478454 Bug 292624 - XUL error pages should not have chrome privileges, r=darin sr=dveditz a=asa 2005-07-14 17:46:55 +00:00
bryner@brianryner.com
5c2c1b2bd6 Fix stuck designMode when using fastback by making sure the DOM window still contains the old document when the STATE_START notification is sent. Bug 300411, r+sr=darin, a=asa. 2005-07-14 16:24:32 +00:00
bzbarsky@mit.edu
f23ca7bb96 nsIViewManager::InsertChild does things a little oddly if the sibling is null.
Work around that by twiddling the aAfter parameter appropriately.  Bug 300538,
r=bryner, sr=roc, a=asa
2005-07-13 19:27:07 +00:00
neil@parkwaycc.co.uk
cc1e49fa81 Disable error pages in composer (webpage editor) b=300022 r=biesi sr=darin a=asa 2005-07-09 00:14:48 +00:00
cbiesinger@web.de
c209e44ab6 Bug 299008 set mOSHE at the right time, and don't clear mLSHE when loading the
error page
r=jst sr=bz a=bsmedberg
2005-07-07 11:51:19 +00:00
dveditz@cruzio.com
d4c665cec3 bug 298255: prevent browser screwiness caused by lazy extension authors loading their chrome extension in a content window instead of adding the -chrome commandline option. r=mconnor, sr=jst, a=chofmann 2005-07-07 09:45:47 +00:00
bzbarsky@mit.edu
a48e7bd55a Fix history navigation through anchors when the anchor loads were done by
changing window.location.  Bug 297122, r=biesi, sr=jst, a=bsmedberg
2005-07-03 16:11:06 +00:00
bryner@brianryner.com
9e21801c67 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
bryner@brianryner.com
3e91a6c4d2 Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg 2005-06-30 20:58:33 +00:00
bryner@brianryner.com
10e2b29904 Fix fastback to not leave the documents-loading counter unbalanced, which would lead to not using the performance-favoring event loop hint after the first fastback. Bug 298794, r+sr=darin, a=chase. 2005-06-28 02:51:04 +00:00
bryner@brianryner.com
1968baea99 Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa. 2005-06-24 21:08:10 +00:00
bryner@brianryner.com
5c73708143 Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa. 2005-06-24 20:53:43 +00:00
bryner@brianryner.com
ce77a3f2e3 For fastback, dispatch the title change notification after we've updated our history entry in the docshell, so that we don't set the title on the wrong history entry. Bug 296745, r+sr=darin, a=asa. 2005-06-20 22:06:30 +00:00
roc+@cs.cmu.edu
5e9d260c1a Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
bryner@brianryner.com
8fd17efff4 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
bryner@brianryner.com
79e012c3d5 Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan. 2005-06-03 22:17:06 +00:00
bryner@brianryner.com
e2d013ef79 When restoring a presentation via fast-back, where we aren't going to save the existing presentation, defer destruction on a PLEvent to avoid hangs when reentering plugin code (bug 294231). r+sr=jst, a=chofmann. 2005-06-02 00:57:54 +00:00
cbiesinger@web.de
af42948abf 295279 pass the origin charset of the URI to the error page, esp. for use by
embeddors
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bz a=shaver
2005-06-01 19:19:01 +00:00
jag@tty.nl
6fa5881239 Attempt to fix btek bustage 2005-05-18 09:54:04 +00:00
bryner@brianryner.com
63a9cb9d7e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner@brianryner.com
91b9d38a0b Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00
dveditz@cruzio.com
db73538925 bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa
2005-05-13 23:08:09 +00:00
bzbarsky@mit.edu
24f48181be Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan
2005-05-08 21:44:16 +00:00
bryner@brianryner.com
e485117869 Don't crash when we've restored a presentation with a frame that has never loaded a document. Bug 292923, r+sr=bzbarsky, a=brendan. 2005-05-06 18:18:08 +00:00
bryner@brianryner.com
9d9b2e7a47 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
roc+@cs.cmu.edu
141851a7d3 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
cbiesinger@web.de
ea08d923d6 291876 fall back to Alert() instead of an error page when we have no nsIURI object
r=bz sr=darin a=asa
2005-04-27 11:53:27 +00:00
bzbarsky@mit.edu
a5ed6b0774 Reposting when expired from cache should make sure to use the right history
entry; otherwise docshell is confused about which page it currently has
loaded.  Bug 289301, r=biesi, sr=darin, a=asa
2005-04-20 04:41:48 +00:00
darin@meer.net
7ab9824650 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger@web.de
2b46750acb bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bzbarsky@mit.edu
851dba3251 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
roc+@cs.cmu.edu
ea36f2d55c Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
bzbarsky@mit.edu
4f1e15787f Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst
2005-04-03 16:51:01 +00:00
bzbarsky@mit.edu
b7e4c92230 Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky
2005-03-30 04:22:00 +00:00
jst@mozilla.jstenback.com
8a1494191f Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net 2005-03-09 14:31:02 +00:00
cbiesinger@web.de
ec9d8cfcac 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst@mozilla.jstenback.com
e661d2ccbf Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net 2005-02-23 23:31:37 +00:00
jst@mozilla.jstenback.com
b9819a8116 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky@mit.edu
c5378c11fc Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
jshin@mailaps.org
e3f993839f bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky) 2005-02-22 18:25:12 +00:00
bzbarsky@mit.edu
b4fc1cf29b Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bzbarsky@mit.edu
1d86bacab3 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky@mit.edu
ab29d7c72d Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
danm-moz@comcast.net
f3f93e9074 unnamed windows can't be a named target. bug 278143 r=bzbarsky 2005-02-08 23:16:52 +00:00
silver@warwickcompsoc.co.uk
0aab745967 Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)
2005-02-02 19:42:21 +00:00
bzbarsky@mit.edu
a1d12d3aa3 Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst
2005-01-31 22:49:42 +00:00
bzbarsky@mit.edu
83c8f75cca Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
2005-01-31 20:46:24 +00:00