dbaron%dbaron.org
5b00a522da
Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin
2006-01-06 06:51:45 +00:00
cbiesinger%web.de
8d81b8a6b6
Bug 321504 Remove unneeded uses of nsIDocumentLoader
...
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
cd83defefa
Bug 320488 crash [@ nsSHistory::EvictWindowContentViewer]
...
patch by marria@gmail.com r=biesi sr=darin
2005-12-25 04:04:36 +00:00
neil%parkwaycc.co.uk
480f8e01d3
Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
175fe145fe
Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2005-12-01 19:35:27 +00:00
jst%mozilla.jstenback.com
7a5af690c6
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
2005-11-28 23:56:44 +00:00
dbaron%dbaron.org
8e1263ab28
Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
2005-11-14 20:09:51 +00:00
darin%meer.net
1413f903a3
fixing build bustage (nsIDataChannel no longer exists)
2005-11-12 18:40:00 +00:00
bryner%brianryner.com
2475fb2b76
Make sure we capture all necessary state off the SHEntry before clearing its presentation (bug 312117). r=sicking, sr=bzbarsky.
2005-11-09 01:57:01 +00:00
bryner%brianryner.com
2c59191bc3
Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky.
2005-11-06 19:23:03 +00:00
bryner%brianryner.com
bf5cb8b46a
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.
2005-11-01 18:35:47 +00:00
bzbarsky%mit.edu
14332c1f15
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). Bug 306245, patch by jst, r=sfraser, sr=bzbarsky
2005-10-19 02:59:30 +00:00
bzbarsky%mit.edu
c1be701760
Fix leak when closing window that has live refresh timers. Bug 312769,
...
r=darin, sr=bryner
2005-10-18 01:48:22 +00:00
mconnor%steelgryphon.com
bb9ef1fa0d
bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa
2005-10-04 03:50:05 +00:00
bryner%brianryner.com
1f07c47d1a
Remove historyMaxTotalViewers from nsISHistoryInternal, and just use a static getter on nsSHistory instead. Bug 310597, r=marria@gmail.com, sr=darin.
2005-10-01 20:38:47 +00:00
aaronleventhal%moonset.net
82e435f620
Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil
2005-09-29 13:16:46 +00:00
bryner%brianryner.com
0c00f57e07
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.
2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu
0154f05af9
Update some GetScriptGlobalObject() callers to the right signature. Bug
...
303084, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-09-23 14:50:43 +00:00
cbiesinger%web.de
59513aa496
observe the "browser.xul.error_pages.enabled" pref so that it takes effect
...
immediately
bug 282050 patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=biesi sr=jst
2005-09-22 20:38:56 +00:00
bzbarsky%mit.edu
603d4dbe78
Show a useful error message if a page claims to be compressed and isn't. Bug
...
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
0ed6c71cf2
Send out notifications when docshells are created or destroyed. Bug 308438,
...
r=biesi, sr=darin
2005-09-16 15:51:14 +00:00
bryner%brianryner.com
33955684cd
Backing out 292965 until Tp regression is understood.
2005-09-14 07:28:05 +00:00
bryner%brianryner.com
300a390b7b
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.
2005-09-14 03:38:40 +00:00
cbiesinger%web.de
5f6c672312
bug 300800 make CreateAboutBlankContentViewer store the current viewer in
...
shistory
r=bryner sr=bz
2005-09-01 12:12:04 +00:00
bzbarsky%mit.edu
c2d52d8e88
Fix crash bug 306580. r+sr=bryner
2005-09-01 04:04:10 +00:00
bryner%brianryner.com
a794ca803a
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
165eb6a4a3
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
511ad02d9e
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
cb47a2d735
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
roc+%cs.cmu.edu
4d8590a4fa
Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky
2005-08-25 00:10:37 +00:00
bryner%brianryner.com
ebac95c422
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
c3ec6baef4
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
roc+%cs.cmu.edu
bd09faecd8
Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
2005-08-23 22:26:10 +00:00
mrbkap%gmail.com
6fdb2d611a
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
692c9e00f2
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
9c4f64b07f
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
2e582a29da
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
14ebf73ed1
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
131061314b
Bug 78510. Undoing backout; still no change.
2005-08-16 01:03:45 +00:00
roc+%cs.cmu.edu
195ffd9530
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
9106468ec1
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
d25f538cf6
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
0341851454
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
863629109c
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
a692c025e1
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
da2c46e0f4
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
59b2e6141b
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
d187d8344a
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
aaronleventhal%moonset.net
80cc30cf01
Fix whitespace nit from biesi on last checkin
2005-08-10 01:47:11 +00:00
aaronleventhal%moonset.net
ee230b78cc
Bug 303841. When screen reader running, prefer external viewer applications over full page plugins because they are more accessible. r=biesi, sr=jst, a=cbeard
2005-08-10 01:45:31 +00:00
cbiesinger%web.de
bce44423fc
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
4175bdcc43
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
a313f39659
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
b781a97846
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
c48f1d8465
Fixing VC6 bustage - initialize with a ctor
2005-08-03 22:48:42 +00:00
bryner%brianryner.com
8b08bb3c07
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
eaa40fe7ac
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
9700a6e483
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
bd84f51f5d
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
ad98d40a23
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
c64546a715
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
d289323222
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
57df23d0c9
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
7b71cfe3fd
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
6115ede7b5
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
5e7db39b5d
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
f58255c6da
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
f85a885395
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
d7631947ec
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
f4fce88c63
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
b8bd30f01e
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
8ef8edecb8
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
5f1aab2391
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
e865635624
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
3aa61b074b
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
b10035aabc
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
8e3f5c22d2
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
5e57c3c681
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
37e80e76f5
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
2c97641f22
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
799aa9fd76
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
5d718abb27
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
15bd25742d
Attempt to fix btek bustage
2005-05-18 09:54:04 +00:00
bryner%brianryner.com
27e59af17a
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
0778666a76
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
1d700cf5f1
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
7762d11c0b
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
e670daf88f
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
592dbdc176
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
pedemont%us.ibm.com
950dbb684d
Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
2005-05-02 16:30:03 +00:00
roc+%cs.cmu.edu
af00f217f9
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
50f229612a
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
darin%meer.net
9b568cc2b0
fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa
2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
292c046278
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
130fb0d326
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
763f225033
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
f2c4953613
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
d50f1426da
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
d32d35b284
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
66b19fc60b
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