Commit Graph
35 Commits
Author SHA1 Message Date
[email protected] 41fea915d1 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by [email protected] and [email protected], [email protected], [email protected], [email protected] 2004-09-04 19:28:46 +00:00
[email protected] fc7da31e71 Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. [email protected], [email protected] 2004-06-23 17:42:31 +00:00
[email protected] 3f11052b61 Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. [email protected], [email protected] 2004-06-15 08:28:52 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] feaaebcd3d Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
[email protected] 57ba3a6411 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
[email protected] 1cced7303c Prevent docloader leaks by making mDocLoader an nsCOMPtr. b=170024 r=peterv sr=jst 2002-09-24 00:35:51 +00:00
[email protected] 3be9eb8a3d ok, hopefully the last attempt to fix bug 12493, normalizing URLs for global history
this time cache the most common URI objects for links that appear on a webpage - http, https, ftp
r=radha, sr=darin
2002-08-15 22:21:40 +00:00
[email protected] d04e2b3871 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
[email protected] 835013d291 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
[email protected] 00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
[email protected] f8a03919e1 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz
2002-05-03 07:49:43 +00:00
[email protected] 09869f401c Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
[email protected] 2e0703757a Prevent double submission of forms (bug 72906). [email protected], [email protected], [email protected], a=asa 2002-03-13 06:08:56 +00:00
[email protected] 59cc5aac6b 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
[email protected] 31e5638de0 Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 [email protected] [email protected] 2002-01-08 13:01:38 +00:00
[email protected] 2cae8745a2 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 [email protected] [email protected] 2001-10-08 20:08:30 +00:00
[email protected] 56aed961ec #99666 page is displayed as blank in certain situation
r=harishd, sr=rpotts
2001-09-21 02:38:37 +00:00
[email protected] 39c73234a1 bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next... 2001-07-17 20:17:38 +00:00
[email protected] c83c475fe2 place clicked-link events on the current active queue, rather than the one that was active at the time of the webshell's creation. bug 71222 r=hyatt,rpotts a=asa 2001-06-19 00:28:10 +00:00
[email protected] 4be2167def sr=rpotts. cookie/wallet r=morse, xmlTerm [email protected], mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug. 2001-05-04 20:15:38 +00:00
[email protected] 307b216300 NO CODE CHANGES. Corrected incorrect indentation. b=66434 2001-04-27 13:04:22 +00:00
[email protected] 32866000db NO CODE CHANGES. Headers reformatted to remove ugly 2/3/4 tab/space indentation mess. b=66434 2001-04-27 13:03:17 +00:00
[email protected] 4e571eed51 Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
[email protected] d865bfd3cb Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

[email protected]
[email protected]
2001-02-21 20:38:08 +00:00
[email protected] c6327f63d5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
[email protected] a70fce6f87 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

[email protected]
[email protected]
2001-02-10 00:16:26 +00:00
[email protected] 1745cc91d7 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
[email protected] 0dbca7e442 fix bustage. nsAReadableString& needs to be const. 2000-11-16 21:29:13 +00:00
[email protected] 89a92cc7e9 Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867 2000-11-16 20:08:48 +00:00
[email protected] c67f7f9a5c 50188. removing webshell leak detection special macros. now we'll spew data in debug builds only 2000-09-11 22:06:52 +00:00
[email protected] c05e057a42 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
[email protected] 8046a6c013 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
[email protected] 0ca9654e96 Fixing hpux bustage.
The define needed in the header file, doesn't get set till after the
header file is included.
Also added newline to headerfile at the end for hpux.
2000-07-19 13:36:35 +00:00
[email protected] 629043ee05 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00