Commit Graph

199 Commits

Author SHA1 Message Date
marria%gmail.com
6da521e535 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin, branch approval=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201704 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 20:30:09 +00:00
jst%mozilla.jstenback.com
c21a4893e7 Re-landing whatwg storage support. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/jst/vlad, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198017 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 18:23:11 +00:00
jst%mozilla.jstenback.com
15c2e34497 Backint out the dom storage changes until we can figure out regressions and bustage etc. Bug 335540.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196236 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 22:54:26 +00:00
jst%mozilla.jstenback.com
8773158e04 Fixing bug 337205. Undo nsIDocShell storage API changes on the branch. r+sr+a=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196204 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 02:02:15 +00:00
enndeakin%sympatico.ca
cdab7a5aa1 Bug 335540, webapps client side session storage, r=vlad,a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196172 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-08 21:06:43 +00:00
roc+%cs.cmu.edu
b0f818e526 Bug 331522. Make URI keyword fixup (e.g. doing a Google 'I feel lucky' search) off by default, chrome has to ask specifically to turn it on for a page load. r+sr=darin,r=mconnor,a=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194206 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 03:24:08 +00:00
bryner%brianryner.com
4a7b7bafc7 Fixing bustage, bug 326706
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190009 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 22:06:10 +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
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
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
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
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
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
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
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
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
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
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
bzbarsky%mit.edu
c980dc5f76 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


git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
bzbarsky%mit.edu
b7f2b5b8a5 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


git-svn-id: svn://10.0.0.236/trunk@171363 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:22:00 +00:00
jst%mozilla.jstenback.com
caebf07943 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
git-svn-id: svn://10.0.0.236/trunk@170437 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 14:31:02 +00:00
bzbarsky%mit.edu
72a6885a89 Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:02:02 +00:00
bzbarsky%mit.edu
f609d7f69c Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169402 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:20:42 +00:00
cbiesinger%web.de
f69f427f1a 157004 don't fire onLocationChange for error pages, and don't change the
docshell's currentURI either. be sure to add the failed URL to session history.

r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@168541 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 11:26:31 +00:00
bzbarsky%mit.edu
c4da8e60d3 When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168131 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 16:58:45 +00:00
bzbarsky%mit.edu
b1e96a8340 Add a webnavigation flag to allow callers to stop content, not just stop
network activity.  Make nsLocation use this so it doesn't stop content
unnecessarily.  Bug 277224, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@168065 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 16:57:04 +00:00
jst%mozilla.jstenback.com
c490295683 Fixing bug 277564. Make sure to update the lock icon state correctly when dealing with wyciwyg: URLs. r=bugmail@sicking.cc, dveditz@cruzio.com, darin@meer.net, sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167554 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 00:00:53 +00:00
jst%mozilla.jstenback.com
a15240a6ab Fixing bug 103638 (and bug 273699). Targets with same name in different windows open in the wrong window. Patch by bzbarsky@mit.edu and myself, r=danm.moz@gmail.com, bzbarsky@mit.edu, sr=dveditz@cruzio.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167537 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 19:36:40 +00:00
dveditz%cruzio.com
8b9d168c56 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary)
git-svn-id: svn://10.0.0.236/trunk@167292 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 06:04:46 +00:00
bzbarsky%mit.edu
90a640bdff Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
danm-moz%comcast.net
07949fbe66 single window mode aviary branch merge. bug 172962 r=jst,peterv
git-svn-id: svn://10.0.0.236/trunk@166397 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 16:08:57 +00:00
dveditz%cruzio.com
cda3a7d10c bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst
git-svn-id: svn://10.0.0.236/trunk@164582 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 22:52:45 +00:00
cbiesinger%web.de
cf0e63224c Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@162891 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 20:48:58 +00:00
cbiesinger%web.de
7064f62327 Bug 128398 store referrer in history patch by James Andrewartha
<trs80@tartarus.uwa.edu.au> r=biesi sr=neil


git-svn-id: svn://10.0.0.236/trunk@162533 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 20:50:32 +00:00
kjh-5727%comcast.net
a04d276004 Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
Patch by Mikael Parknert (mikael@parknert.se), r=bzbarsky, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 19:31:22 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
vladimir%pobox.com
a8b8dcc260 b=205947, proxy: mailnews does not display proxy auth dialog, r=darin, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@161642 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 05:13:25 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
cbiesinger%web.de
c3aa189b8d bug 249107 directory listings coming from session history (cache?) displayed in raw form
r=jst sr=darin


git-svn-id: svn://10.0.0.236/trunk@158648 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 17:04:31 +00:00
jst%mozilla.jstenback.com
472233cafb Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@158368 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 17:42:31 +00:00
jst%mozilla.jstenback.com
1f25d963d2 Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@157903 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 08:28:52 +00:00