825 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
ef0d1b914b Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177824 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 08:12:15 +00:00
roc+%cs.cmu.edu
cc8e159701 Bug 78510. Undoing backout; still no change.
git-svn-id: svn://10.0.0.236/trunk@177800 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 01:03:45 +00:00
roc+%cs.cmu.edu
2406d753fa Bug 78510. Retry backing out of link-visited notifications, to see how Tp is affected. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@177788 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 22:39:29 +00:00
mrbkap%gmail.com
1990895d08 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
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd 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.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
darin%meer.net
c8e1a406bd fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177590 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:14:00 +00:00
roc+%cs.cmu.edu
306c5ad966 Bug 78510. bryner's checkin fixed the Firefox problems so I'm undoing my previous partial-backout.
git-svn-id: svn://10.0.0.236/trunk@177538 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 05:06:22 +00:00
roc+%cs.cmu.edu
0e55ba8e37 Bug 78510. Try backing out the nsDocShell changes to see if the Tp changes still happen when visited notifications don't fire.
git-svn-id: svn://10.0.0.236/trunk@177525 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 23:23:53 +00:00
roc+%cs.cmu.edu
a4e5443b20 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.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
cbiesinger%web.de
f1a6b8728a save the presentation even if the next load is an error page
Bug 299547 r=bryner sr=darin a=brendan+shaver


git-svn-id: svn://10.0.0.236/trunk@177422 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 12:31:36 +00:00
smfr%smfr.org
6b531c1e94 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.
git-svn-id: svn://10.0.0.236/trunk@177298 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 22:49:51 +00:00
smfr%smfr.org
f5433f4c6a Test backout of nsDocShell EnsureContentViewer() changes from bug 302962, to see impact on performance.
git-svn-id: svn://10.0.0.236/trunk@177292 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 15:49:15 +00:00
smfr%smfr.org
3638d5ef12 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.


git-svn-id: svn://10.0.0.236/trunk@177273 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 20:28:42 +00:00
bryner%brianryner.com
f2a6a0a997 Fixing VC6 bustage - initialize with a ctor
git-svn-id: svn://10.0.0.236/trunk@177083 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:48:42 +00:00
bryner%brianryner.com
dc7a8d1985 When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177082 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:32:10 +00:00
bryner%brianryner.com
b0e77fe7c5 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
git-svn-id: svn://10.0.0.236/trunk@176999 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 18:35:07 +00:00
jst%mozilla.jstenback.com
792744ce69 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
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
cbiesinger%web.de
fda81c049e Bug 286811 don't add ("xul") error pages to global history
r=bz sr=darin a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176666 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 12:38:38 +00:00
cbiesinger%web.de
8f19c99d12 Bug 300863 Send onLocationChange even if we have no failed channel
r=bz sr=darin a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176665 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 12:34:25 +00:00
bryner%brianryner.com
1f319207af 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.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
bzbarsky%mit.edu
8c1f093211 Make setting document.location to itself not create a new history entry. Bug
300805, r=biesi, sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176451 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 18:19:35 +00:00
bryner%brianryner.com
2da0f7fe47 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.
git-svn-id: svn://10.0.0.236/trunk@176250 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 18:02:55 +00:00
bryner%brianryner.com
18f0259a08 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.
git-svn-id: svn://10.0.0.236/trunk@176248 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 17:20:05 +00:00
bsmedberg%covad.net
2d3b479c81 Bug 292624 - XUL error pages should not have chrome privileges, r=darin sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@176101 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 17:46:55 +00:00
bryner%brianryner.com
700734ca5c 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.
git-svn-id: svn://10.0.0.236/trunk@176095 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:24:32 +00:00
bzbarsky%mit.edu
77d9bf9e14 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


git-svn-id: svn://10.0.0.236/trunk@176039 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 19:27:07 +00:00
neil%parkwaycc.co.uk
21ff78c8b1 Disable error pages in composer (webpage editor) b=300022 r=biesi sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@175861 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-09 00:14:48 +00:00
cbiesinger%web.de
f041c2dcb4 Bug 299008 set mOSHE at the right time, and don't clear mLSHE when loading the
error page
r=jst sr=bz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175738 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 11:51:19 +00:00
dveditz%cruzio.com
b88298d25d 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
git-svn-id: svn://10.0.0.236/trunk@175733 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 09:45:47 +00:00
bzbarsky%mit.edu
85134f00c8 Fix history navigation through anchors when the anchor loads were done by
changing window.location.  Bug 297122, r=biesi, sr=jst, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175551 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-03 16:11:06 +00:00
bryner%brianryner.com
35fcd14778 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.
git-svn-id: svn://10.0.0.236/trunk@175477 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 07:12:02 +00:00
bryner%brianryner.com
579f24fd9d 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
git-svn-id: svn://10.0.0.236/trunk@175421 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:58:33 +00:00
bryner%brianryner.com
8ff3b3da53 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.
git-svn-id: svn://10.0.0.236/trunk@175193 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 02:51:04 +00:00
bryner%brianryner.com
9923520447 Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa.
git-svn-id: svn://10.0.0.236/trunk@175111 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 21:08:10 +00:00
bryner%brianryner.com
331cadb813 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.
git-svn-id: svn://10.0.0.236/trunk@175110 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 20:53:43 +00:00
bryner%brianryner.com
89fff37c75 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.
git-svn-id: svn://10.0.0.236/trunk@174884 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 22:06:30 +00:00
roc+%cs.cmu.edu
e05c85a204 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@174751 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:48:29 +00:00
bryner%brianryner.com
3274ca4c10 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.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
bryner%brianryner.com
285552136f Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@174135 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 22:17:06 +00:00
bryner%brianryner.com
797bf6de91 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.
git-svn-id: svn://10.0.0.236/trunk@174012 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 00:57:54 +00:00
cbiesinger%web.de
0266fce802 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


git-svn-id: svn://10.0.0.236/trunk@173961 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:19:01 +00:00
jag%tty.nl
69ac719674 Attempt to fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@173539 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 09:54:04 +00:00
bryner%brianryner.com
7d8cc2fcc3 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@173534 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 03:52:33 +00:00
bryner%brianryner.com
b3fad70a54 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173450 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 00:30:02 +00:00
dveditz%cruzio.com
7792b0edf7 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


git-svn-id: svn://10.0.0.236/trunk@173419 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 23:08:09 +00:00
bzbarsky%mit.edu
676bea63e1 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan


git-svn-id: svn://10.0.0.236/trunk@173196 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 21:44:16 +00:00
bryner%brianryner.com
c7593f2912 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.
git-svn-id: svn://10.0.0.236/trunk@173116 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 18:18:08 +00:00
bryner%brianryner.com
189a661d09 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.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00