650 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
b9910f7dd3 Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js


git-svn-id: svn://10.0.0.236/trunk@167788 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 17:47:23 +00:00
bzbarsky%mit.edu
d040a84fb5 If we run into a null child SHEntry while cloning, just clone it as null into
the new tree instead of bailing out on the clone altogether.  Bug 275890,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@167573 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:49:24 +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
2ac7d9b285 Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.


git-svn-id: svn://10.0.0.236/trunk@166437 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 18:02:40 +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
bzbarsky%mit.edu
166d0c5c83 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@166434 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:02:56 +00:00
danm-moz%comcast.net
cd19cffc4b single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv
git-svn-id: svn://10.0.0.236/trunk@166398 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 16:09:08 +00:00
scott%scott-macgregor.org
54e0111013 Bug #267665, Bug #260836 --> TB0.9 does not do proxy authentication for RSS feeds
RSS feeds which require HTTP authentication are rejected as invalid

Re-work the docshell auth prompt logic to disable prompts for any url running in chrome unless the chrome window
explicitly sets allowAuth on its docshell.

r=darin
sr=jst


git-svn-id: svn://10.0.0.236/trunk@165722 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 17:45:44 +00:00
darin%meer.net
9f31726c01 fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@165291 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 03:24:24 +00:00
jst%mozilla.jstenback.com
78d1fa8035 Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() (prefs is a service). This caused a crash on the aviary branch after 172962 landed. Also remove unnecessary null check now that we know mPrefs can't be null. r=dbaron@mozilla.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@165228 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 22:07:17 +00:00
dbaron%dbaron.org
f6296b1cc9 Null-check for unreproducable topcrash. b=267804 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165057 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:59:46 +00:00
darin%meer.net
e9c3ee8aae backing out part of my patch for bug 267367 that broke mailnews auth prompting
git-svn-id: svn://10.0.0.236/trunk@164885 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 22:15:48 +00:00
darin%meer.net
7b30970d7c fixes bug 267367 "image loading from chrome results in auth prompts if src is protected" r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@164841 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 07:52:27 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +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
timeless%mozdev.org
dbb8c50233 Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@164498 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 08:01:48 +00:00
timeless%mozdev.org
05b0e08551 Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@164493 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 05:23:40 +00:00
bzbarsky%mit.edu
77af4910e0 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@164054 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 21:53:54 +00:00
cbiesinger%web.de
841688e9b9 backing out part of bug 234257 checkin to fix camino orange a=shaver
git-svn-id: svn://10.0.0.236/trunk@162979 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 22:05:12 +00:00
jst%mozilla.jstenback.com
9a618c1769 Fixing bug 261998. Don't fire the beforeunload event when loading a link to an anchor in the current document. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@162934 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-29 05:29:48 +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
jst%mozilla.jstenback.com
bf72233388 Fixing bug 259117. Prevent popups when closing a window even if the close came from a user action that would normally enable popups. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162284 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 06:03:34 +00:00
darin%meer.net
5ec644086a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@161968 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 06:54:52 +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
dbaron%dbaron.org
f8361bf5d6 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +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
timeless%mozdev.org
e87b5a5ac2 Bug 255710 nsDocShell::GetDocShellEnumerator leaks docShellEnum in failure cases
patch by cst@andrew.cmu.edu r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@160962 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 00:48:19 +00:00
cbiesinger%web.de
3eab71a3f9 Bug 254586 don't store views in nsCOMPtrs - they are not refcounted anyway.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@160643 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:58:56 +00:00
cbiesinger%web.de
629a502f7b Bug 254586 don't assume cacheToken can be qi'd to nsICacheEntryDescriptor
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@160642 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:57:25 +00:00
neil%parkwaycc.co.uk
0bbab9b402 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu
4876ea1f40 Don't throw from location.reload() if it's a POST page and the user cancels the
reload.  Bug 249405, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@160333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:35:39 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +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
bzbarsky%mit.edu
334f961bd7 When target=_blank is blocked, don't block existing named targets in other
windows. Bug 174266, r=danm, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159949 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 04:04:02 +00:00
bzbarsky%mit.edu
50d5ce0bc2 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
bzbarsky%mit.edu
032eb36af1 nsIContentPolicy should pass the frameelement for loads in frames as
aRequestingNode.  Bug 245836, r=mvl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159441 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 20:02:31 +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
timeless%mozdev.org
57ab0f5820 Bug 172077 Need a way for embedders to disable all plugins
patch by locka, chpe@gnome.org r=bz sr=mscott


git-svn-id: svn://10.0.0.236/trunk@158843 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 07:15:35 +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
2419f80c7a Fixing regression bug 248753. Always permit loads that are targeted at other top-level windows. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@158592 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 23:06:55 +00:00
cbiesinger%web.de
7a23dab984 bug 247607 http-index-format -> html conversion should be done by the necko caller, not by the channels
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@158494 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 18:30:22 +00:00