sharparrow1@yahoo.com
376b32f2e8
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
2007-02-12 19:17:33 +00:00
bzbarsky@mit.edu
0d8e296fb6
Make the redirect check get principals the same way we get them elsewhere.
...
Clean up some code to use the new security manager method. Bug 354693,
r=dveditz, sr=sicking
2006-11-22 18:27:54 +00:00
bzbarsky@mit.edu
6dcca033dc
Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
...
<mkmelin+mozilla@iki.fi >, r=darin, sr=bzbarsky
2006-11-07 03:28:50 +00:00
bzbarsky@mit.edu
1401e54c2e
Remove special-casing of about:blank for security purposes; give about:blank
...
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
bzbarsky@mit.edu
7a0b7d586c
Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner
2006-07-31 04:04:16 +00:00
marria@gmail.com
675538f475
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
2006-07-04 20:48:33 +00:00
bzbarsky@mit.edu
6d9dcaa998
Make the documentURI of a document and the currentURI of a docshell immutable objects.
...
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
jst@mozilla.jstenback.com
f297efc1af
Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst.
2006-05-19 05:57:36 +00:00
darin@meer.net
0700b87ece
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
bzbarsky@mit.edu
ddb5e4346d
Add an interface for nested URIs (like jar:, view-source:, etc) to implement
...
and use it in various places. Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:). Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
roc+@cs.cmu.edu
6831bb6020
Bug 331522. By default, do not allow keyword searches when navigating to URLs; modify browser UI code to enable keyword searches only on selected URL input mechanisms (e.g., typed into the URL bar). r+sr=darin,r=mconnor
2006-04-03 23:17:51 +00:00
bzbarsky@mit.edu
55a92bbc89
Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin
2006-02-23 05:30:25 +00:00
bryner@brianryner.com
5fbad83631
Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky.
2006-02-11 00:17:36 +00:00
bzbarsky@mit.edu
06c870db0e
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
2006-02-07 20:46:39 +00:00
brettw@gmail.com
0a1efd3fb7
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
2006-02-07 02:02:56 +00:00
brettw@gmail.com
dc66702692
Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
2006-02-06 20:52:18 +00:00
bryner@brianryner.com
744c4462e5
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
cbiesinger@web.de
c8eb0529a3
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
bryner@brianryner.com
b9d5a8d626
Backing out 292965 until Tp regression is understood.
2005-09-14 07:28:05 +00:00
bryner@brianryner.com
50db1f9456
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
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
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
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
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
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
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
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
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
9d9b2e7a47
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
bzbarsky@mit.edu
851dba3251
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
bzbarsky@mit.edu
b7e4c92230
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
jst@mozilla.jstenback.com
8a1494191f
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
2005-03-09 14:31:02 +00:00
bzbarsky@mit.edu
b4fc1cf29b
Docshell doesn't need to hold a pointer to the scriptcontext; the window does
...
it. Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bzbarsky@mit.edu
ab29d7c72d
Make sure that we have an mParentContentListener at all times in docshell. Bug
...
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
cbiesinger@web.de
8282fdc8f1
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
2005-01-31 11:26:31 +00:00
bzbarsky@mit.edu
20bac0af28
When doing window access security checks, make sure to treat wyciwyg URIs as
...
equivalent to their creators. Bug 270414, r+sr=jst
2005-01-21 16:58:45 +00:00
bzbarsky@mit.edu
3993526ab1
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
2005-01-20 16:57:04 +00:00
jst@mozilla.jstenback.com
e022eaf9f9
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
2005-01-12 00:00:53 +00:00
jst@mozilla.jstenback.com
b8059935da
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
2005-01-11 19:36:40 +00:00
dveditz@cruzio.com
7b9dbe7ba6
bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary)
2005-01-05 06:04:46 +00:00
bzbarsky@mit.edu
277a392da1
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
2004-12-08 17:32:06 +00:00
danm-moz@comcast.net
1770333512
single window mode aviary branch merge. bug 172962 r=jst,peterv
2004-12-07 16:08:57 +00:00
dveditz@cruzio.com
4a58f418f8
bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst
2004-10-28 22:52:45 +00:00
cbiesinger@web.de
b7aafd5908
Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
...
r=bz sr=darin
2004-09-28 20:48:58 +00:00
cbiesinger@web.de
e45d732b3a
Bug 128398 store referrer in history patch by James Andrewartha
...
<trs80@tartarus.uwa.edu.au > r=biesi sr=neil
2004-09-19 20:50:32 +00:00
kjh-5727@comcast.net
29831065c6
Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
...
Patch by Mikael Parknert (mikael@parknert.se ), r=bzbarsky, sr=roc.
2004-09-06 19:31:22 +00:00
dbaron@dbaron.org
d24b2e213e
Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
2004-09-04 19:51:21 +00:00
dbaron@dbaron.org
fd73f4f5e2
Back out previous round of bug 72747 changes due to Tp regression.
2004-09-04 08:34:55 +00:00
dbaron@dbaron.org
eae89236f3
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
2004-09-04 06:53:36 +00:00