Commit Graph

755 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
ad7af2a1e4 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192933 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 19:38:50 +00:00
bzbarsky%mit.edu
3c63f8d846 Merge bug 328928 changes that are relevant, r=brettw, sr=darin, branch181=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191854 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 22:50:25 +00:00
cbiesinger%web.de
37ea372325 bug 324985 Allow components to register in a category to get told about all HTTP
page loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz a=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191747 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 00:27:20 +00:00
bryner%brianryner.com
2a7721f843 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191726 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 20:24:18 +00:00
bzbarsky%mit.edu
702280c0cc Fix bug 327073 -- deal better with window targeting same-origin
checks. r+sr+branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190063 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 02:52:47 +00:00
bryner%brianryner.com
1bca516fb7 Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190054 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 02:21:58 +00:00
bryner%brianryner.com
4df6c2c397 Oops, I didn't mean to check this in yet.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190008 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 22:05:55 +00:00
bryner%brianryner.com
5c9bc53089 Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189999 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 21:26:42 +00:00
bzbarsky%mit.edu
685f9740d8 Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing. Bug 323810, r=bsmedberg, sr=jst, branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189931 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 05:28:33 +00:00
dbaron%dbaron.org
d4d8c9cd77 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin branch-1.8.1=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189533 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 23:46:26 +00:00
darin%meer.net
e4424076ef fixes bug 290090 "Meta refresh should pass VALIDATE_ALWAYS instead of LOAD_BYPASS_CACHE" r=biesi sr+a=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189420 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 17:35:42 +00:00
brettw%gmail.com
09a08c4a09 Bug 326107 r=darin, sr=bzbarsky, branch-1.8.1=darin:
Send referrer to GlobalHistory even when it isn't being sent over the network


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189279 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:02:56 +00:00
brettw%gmail.com
ce46627482 Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189032 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 19:52:11 +00:00
bzbarsky%mit.edu
5a27624f67 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst,  branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188546 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 03:57:00 +00:00
bryner%brianryner.com
b2afe804df Update the loaded index if entries are removed from history, so we don't crash with an invalid entry index. Bug 320488, patch by marria@gmail.com, r=biesi sr=darin a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187345 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 19:45:45 +00:00
bryner%brianryner.com
b33d000d66 Attempt to fix crash at nsDocShell::RestoreFromHistory by getting all data off of mLSHE prior to running the unload handlers. Bug 320489, r=bzbarsky, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187016 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 21:15:08 +00:00
bryner%brianryner.com
d0c913b8c9 Make sure we notify the content viewer when a subframe load completes so that we call OnPageShow -- this fixes link coloring when navigating back to frameset/iframe pages with fastback. Bug 307178, r+sr=bzbarsky, a=schrep.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@184075 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 02:17:56 +00:00
jst%mozilla.jstenback.com
8f717bf74b Fixing bug 306245. Make docshell visibility checking check with the tree owner so that embedding gets a chance to claim docshells as invisible (eg in Camino's tab implementation). r=sfraser, sr=bzbarsky, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182657 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 23:18:02 +00:00
bzbarsky%mit.edu
0901432562 Fix leak when closing window that has live refresh timers. Bug 312769, r=darin,
sr=bryner, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182450 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 13:36:50 +00:00
mconnor%steelgryphon.com
14c01c9f4d bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181550 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:51:18 +00:00
aaronleventhal%moonset.net
25bf0ba8d7 Bug 309099. Entire client area should not be repainted for each focus move. Fixes bug 307545 as well (4 ways to use CSS to make screen readers crawl). Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181393 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 04:39:06 +00:00
bryner%brianryner.com
38a7559ad9 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180945 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 03:28:10 +00:00
bzbarsky%mit.edu
879cfc83f0 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180422 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:11:52 +00:00
cbiesinger%web.de
2f7bf89267 bug 300800 make CreateAboutBlankContentViewer store the current viewer in
shistory
r=bryner sr=bz a=mtschrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179715 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 19:40:59 +00:00
bryner%brianryner.com
e9827d166c Abort restoring the presentation if firing pagehide/unload stopped the load. Bug 305995, r+sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179514 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 22:17:50 +00:00
bzbarsky%mit.edu
a73423b3ec Fix crash bug 306580. r+sr=bryner, a=mscott
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179456 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 04:05:41 +00:00
bryner%brianryner.com
0d0cae494e 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, a=cbeard.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179410 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 19:05:41 +00:00
bryner%brianryner.com
a0ea7a377c Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179227 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 19:30:11 +00:00
bryner%brianryner.com
bcdf17409e Make sure we resume timeouts after restoring the docshell hierarchy, so that child windows are resumed correctly. Part of the fix for bug 305167, r=cbiesinger, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179111 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 23:05:07 +00:00
smfr%smfr.org
33d66448d5 Fix bug 303839: fix memory leak caused by circular refs between nsDocShell and nsSecureBrowserUIImpl by setting mSecurityUI to null in nsDocShell:Destroy (hence no need to do this in browser.xml). r/sr=bz, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178904 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 04:33:17 +00:00
mrbkap%gmail.com
ddecb87505 bug 305236: Don't store the about:blank window in the bfcache if the inner window is going to be reused. In this case, the shistory entry gets discarded anyway. r=bryner sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178882 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 00:10:03 +00:00
bryner%brianryner.com
ea3bedd716 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, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178811 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 18:59:52 +00:00
mats.palmgren%bredband.net
3c4d18c063 Fix crash when going back on pages with (I)FRAMEs. b=304639 r+sr=bryner a=cbeard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178539 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 12:44:37 +00:00
bryner%brianryner.com
ee86c0da93 Disable caching of documents when doing a subframe navigation, to help with site compatibility problems. Bug 304860, r=bzbarsky, a=cbeard.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178302 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 21:27:11 +00:00
mrbkap%gmail.com
941e888ae2 bug 303267: Back/forward with bfcache on break javascript. We now store the entire inner window in the cache instead of just random properties from it. r=bryner sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177856 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 17:59:44 +00:00
neil%parkwaycc.co.uk
c550c37397 Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177825 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 08:14:06 +00:00
cbiesinger%web.de
c98e01adcb bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177691 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:55:32 +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