Commit Graph

985 Commits

Author SHA1 Message Date
bryner@brianryner.com
933fa0fc8c Abort restoring the presentation if firing pagehide/unload stopped the load. Bug 305995, r+sr=bzbarsky. 2005-08-31 22:01:46 +00:00
bryner@brianryner.com
c94faeebc6 Walk the list of SHEntry children looking for the target id if it's not at the expected index, and don't crash if there isn't one. Bug 305531, r+sr=bzbarsky. 2005-08-30 20:56:49 +00:00
bryner@brianryner.com
f0dd7624c8 Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky. 2005-08-25 21:21:07 +00:00
bryner@brianryner.com
ffa1f0b5eb Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst. 2005-08-25 07:06:59 +00:00
bryner@brianryner.com
27d3f22080 If we created a transient about:blank content viewer, make sure we're locating the root view sibling for that viewer and not the viewer it's replacing. Bug 300533, r=cbiesinger. 2005-08-24 17:27:41 +00:00
smfr@smfr.org
3bad110d04 Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz 2005-08-23 23:48:47 +00:00
mrbkap@gmail.com
eb6fe44d1c bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst 2005-08-23 00:24:57 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
mats.palmgren@bredband.net
8c4061188e Fix crash when going back on pages with (I)FRAMEs. b=304639 r+sr=bryner 2005-08-21 12:43:42 +00:00
bryner@brianryner.com
d3224c258c Disable caching of documents when doing a subframe navigation, to help with site compatibility problems. Bug 304860, r=bzbarsky. 2005-08-19 20:58:17 +00:00
neil@parkwaycc.co.uk
e08a3d4158 Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc 2005-08-16 08:12:15 +00:00
roc+@cs.cmu.edu
73222572a9 Bug 78510. Undoing backout; still no change. 2005-08-16 01:03:45 +00:00
roc+@cs.cmu.edu
359787f385 Bug 78510. Retry backing out of link-visited notifications, to see how Tp is affected. r+sr=bz 2005-08-15 22:39:29 +00:00
mrbkap@gmail.com
e9c4956ff4 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
cbiesinger@web.de
832526704b bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap@gmail.com
21ebc95c1f Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap@gmail.com
8e2412f16e bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
darin@meer.net
a25f38f889 fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg 2005-08-11 20:14:00 +00:00
roc+@cs.cmu.edu
8093907e9f Bug 78510. bryner's checkin fixed the Firefox problems so I'm undoing my previous partial-backout. 2005-08-11 05:06:22 +00:00
roc+@cs.cmu.edu
9745a8f9fd Bug 78510. Try backing out the nsDocShell changes to see if the Tp changes still happen when visited notifications don't fire. 2005-08-10 23:23:53 +00:00
roc+@cs.cmu.edu
116c7af9d3 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
cbiesinger@web.de
a2cc710427 save the presentation even if the next load is an error page
Bug 299547 r=bryner sr=darin a=brendan+shaver
2005-08-09 12:31:36 +00:00
smfr@smfr.org
840f175f7c Clean up backout of the nsDocShell part of the patches in bug 302958 (which, luckily, was not required to fix the bug); calling EnsureContentViewer() from GetPresContext() caused performance regressions. r/sr=bryner, going on a= for previous patch. 2005-08-07 22:49:51 +00:00
smfr@smfr.org
e83eb7120a Test backout of nsDocShell EnsureContentViewer() changes from bug 302962, to see impact on performance. 2005-08-07 15:49:15 +00:00
smfr@smfr.org
18d474d9df Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.
2005-08-06 20:28:42 +00:00
bryner@brianryner.com
3be10cd7e5 Fixing VC6 bustage - initialize with a ctor 2005-08-03 22:48:42 +00:00
bryner@brianryner.com
c30b337f96 When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg 2005-08-03 22:32:10 +00:00
bryner@brianryner.com
51c4a46a3b When restoring a presentation, move everything except adding the request to the loadgroup into the async plevent callback. This fixes the problem with restoring window properties when history.back() is used (with untrusted JS on the stack). Bug 301516, r=darin, a=asa 2005-08-02 18:35:07 +00:00
jst@mozilla.jstenback.com
ae436cae87 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
cbiesinger@web.de
df4351d75c Bug 286811 don't add ("xul") error pages to global history
r=bz sr=darin a=bsmedberg
2005-07-27 12:38:38 +00:00
cbiesinger@web.de
0f203cb4a5 Bug 300863 Send onLocationChange even if we have no failed channel
r=bz sr=darin a=bsmedberg
2005-07-27 12:34:25 +00:00
bryner@brianryner.com
670eff0766 Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
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