rpotts%netscape.com
ec1ad68225
bug #37434 . Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately...
...
git-svn-id: svn://10.0.0.236/trunk@78654 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:00:46 +00:00
rpotts%netscape.com
5f1022d223
bug #37434 . Stop() is now called on the content viewer, before the old document is destroyed. This allows the old document to release some stuff :-)
...
git-svn-id: svn://10.0.0.236/trunk@78453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:29:13 +00:00
rpotts%netscape.com
7a644ef163
Moved the firing of the OnLoad event from WebShell into DocumentViewer...
...
git-svn-id: svn://10.0.0.236/trunk@78256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:11:38 +00:00
edburns%acm.org
f4ed6ebe07
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.
git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
vidur%netscape.com
b10d4adc57
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
mstoltz%netscape.com
fc5da7534f
Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@77748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:53:32 +00:00
locka%iol.ie
09805179ae
API changes for embedding. b=46847, r=dougt, a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
scc%mozilla.org
a57c788e93
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:35:49 +00:00
jst%netscape.com
fcf4ccc897
(Merging nsbeta2 checkin to the tip) Fixing nsbeta2+ bug 28572, the docshell was fireing the script unload handler too early in some cases and in some other cases the unload handler was fired even if the document wasn't unloaded. r=nisheeth, a=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@75014 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:55:54 +00:00
dbaron%fas.harvard.edu
38b11b0554
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
...
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
mscott%netscape.com
f73ba6913b
Bug #45226 --> fix security hole in keywords by only allowing keyword searches if the url was an http (or https) url.
...
Currently other urls (like imap, news, ftp, etc) would end up getting sent to the keyword server if we weren't able to
connect to the host specified in the url.
r=valeski
git-svn-id: svn://10.0.0.236/trunk@74684 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:14:53 +00:00
jdunn%netscape.com
ab359db843
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.
git-svn-id: svn://10.0.0.236/trunk@74459 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 13:36:35 +00:00
valeski%netscape.com
37012edc37
45723. r=rpotts. webshell-docshell consolodation changes.
...
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
ruslan%netscape.com
5038376f85
WIP on 40449, a/r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@73846 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:02:47 +00:00
radha%netscape.com
8949f863cb
Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
...
as well as several previous checkins related to this bug is rpotts.
git-svn-id: svn://10.0.0.236/trunk@73654 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 18:51:14 +00:00
radha%netscape.com
c8ae707155
More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
...
feature is enabled.
git-svn-id: svn://10.0.0.236/trunk@73539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:18 +00:00
radha%netscape.com
83f086107a
More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
...
when feature is enabled.
git-svn-id: svn://10.0.0.236/trunk@73125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:30 +00:00
mscott%netscape.com
c7232c80dc
Bug #10802 --> expose load types to load info class so callers can set the load type
...
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.
I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
git-svn-id: svn://10.0.0.236/trunk@72909 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:22:23 +00:00
rpotts%netscape.com
d40c34e0a8
DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer
...
git-svn-id: svn://10.0.0.236/trunk@72889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:38:07 +00:00
nhotta%netscape.com
ba83736aa1
Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata.
...
git-svn-id: svn://10.0.0.236/trunk@72838 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:26:36 +00:00
rpotts%netscape.com
406f61beb3
Reworked the nsIWebProgress interfaces and implementation...
...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
mstoltz%netscape.com
ab175b2de3
Fix for bug 31818. Dogfood. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@72152 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:56:30 +00:00
mscott%netscape.com
badf7d8557
Bug #40160 --> fix annoying assertion in on end document load for cases where the url doesn't have a host
...
r=rpotts
git-svn-id: svn://10.0.0.236/trunk@71738 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:13:12 +00:00
locka%iol.ie
357cc859eb
Put pointer test around smprintf to prevent crash for invalid IMG links.
...
b=40094,r=adamlock,approved valeski
git-svn-id: svn://10.0.0.236/trunk@71562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:21:37 +00:00
joki%netscape.com
fab946580d
Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
...
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
valeski%netscape.com
47c824959d
38695. r=alecf. i18n network error strings
...
git-svn-id: svn://10.0.0.236/trunk@70474 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:52:23 +00:00
heikki%citec.fi
88ce63f411
Enable show=new for simple XLink. Works at least when the link is clicked, does not seem to work with actuate=onLoad. Bug 15086.
...
git-svn-id: svn://10.0.0.236/trunk@70319 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:43:14 +00:00
warren%netscape.com
1958638f6c
Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
...
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
nisheeth%netscape.com
8a6a52bef1
1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
...
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
attinasi%netscape.com
232d899893
Removed the rest of the PERF_METRICS stuff that was removed when the WebShell changes were landed (the code is now in the Viewer itself).
...
git-svn-id: svn://10.0.0.236/trunk@67592 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:07:40 +00:00
mjudge%netscape.com
24b8f29c46
ender lite checkin.
...
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
mscott%netscape.com
d464cd0c36
Bug #33156 --> webshell no longer implements nsIProgressEventSink, the doc loader does.
...
it's getting smaller! *yeah*
git-svn-id: svn://10.0.0.236/trunk@66883 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:19:40 +00:00
tbogard%aol.net
16119f1693
Removed some old ifdef 0 code. Removed some unused variables. Some cleanup to OnStart and OnEndDocumentLoad to get ready to move them over to the progress interface code.
...
git-svn-id: svn://10.0.0.236/trunk@66799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:41 +00:00
waterson%netscape.com
9730aa1e21
Back out changes my changes to nsILinkHandler because of performance problems.
...
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
scc%netscape.com
1621a4cffc
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66194 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:24:01 +00:00
tbogard%aol.net
8ba6a91529
DocShell is now handling all the loading and navigation. The new session history is now being used in place of the old.
...
git-svn-id: svn://10.0.0.236/trunk@66133 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:41 +00:00
waterson%netscape.com
76b91f9af2
Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
...
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
tbogard%aol.net
1799dc127e
Moved the implementation of nsIRefreshURI into the docShell. When the webShell is getting destructed make sure we call Destroy.
...
git-svn-id: svn://10.0.0.236/trunk@65756 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:11:25 +00:00
tbogard%aol.net
b65c1a8b6c
WebShell no longer creates the plugin host. nsObjectFrame now gets it from the service manager instead of trying to get it from the webshell.
...
git-svn-id: svn://10.0.0.236/trunk@65752 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:56:05 +00:00
tbogard%aol.net
1bac2e91d8
Put the GetInterface for the uriContentListener into an ifndef for DOCSHELL_LOAD so when DOCSHELL_LOADING is turned on, we get the right handler.
...
git-svn-id: svn://10.0.0.236/trunk@65691 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:00:04 +00:00
tbogard%aol.net
8c7494bc47
Removed the file fixup and completely rely on docShell fro Creating the uri.
...
git-svn-id: svn://10.0.0.236/trunk@65688 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:46:40 +00:00
tbogard%aol.net
10067a9afc
Removed nsIWebShellContainer methods that are no longer part of the interface. Removed convertFileToURL and convertURLToFileCharset as the implementation in docShell is now relied upon. LoadURL now largely relies on docShell's CreateFixupURI to get a uri. No longer call nsIWebShellContainer::BeginLoadURL or EndLoadURL as the nsIWebProgressListener interface provides all these needed listeners. No longer call nsIWebShellContainer::WillLoadURL as the uriLoader code provides the ability to cancel or stop a load from happening. DoLoadURL now relies on the implementation in docShell for talking to the uriloader. Fixed a bug with nsWebShell::GoTo pointed out by Conrad.
...
git-svn-id: svn://10.0.0.236/trunk@65626 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:28 +00:00
mscott%netscape.com
1229f5f777
backing out my bug fix because it appears to have broken the page cycler.
...
thanks to sspitzer for helping me figure this out.
git-svn-id: svn://10.0.0.236/trunk@65507 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:36:09 +00:00
mscott%netscape.com
a1a3736941
Bug #34769 --> don't set the refferer as the original url on the channel in the webshell.
...
r=warren
a=leaf
git-svn-id: svn://10.0.0.236/trunk@65501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:25:42 +00:00
tbogard%aol.net
7398fb87ea
Removed some old code that was ifdefed out. Removed the isMail test in webshell as that path is no longer being hit due to the fact that "mailto" does succeed in creating a nsIURI. Changed InternalLoadURI due to changes in the docshell parameter list.
...
git-svn-id: svn://10.0.0.236/trunk@65087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:03:11 +00:00
tbogard%aol.net
424cc3748a
My webshell, your diet is working, you've lost some more weight..... Removed one of the LoadURL calls and combined it with the other. Removed the localIP address parameter as it is not used and is not the way we will specify binding. Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState and GetHistoryState. Prompter is now retrieved through the correct path, up the treeOwner.
...
git-svn-id: svn://10.0.0.236/trunk@64919 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:19:27 +00:00
tbogard%aol.net
1fc8b4694a
Removed the unused mViewSource member. Fixed ::InternalLoad to call ::LoadURI instead of LoadURL since destroying and then re-creating the uri is pointless when it's passed in for us. Not to mention if the person calling this load had actually setup listeners on this uri then this information would be lost (which is actually causing bug 34167).
...
git-svn-id: svn://10.0.0.236/trunk@64911 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:28:31 +00:00
nisheeth%netscape.com
dea3118b7e
Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
...
git-svn-id: svn://10.0.0.236/trunk@64828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:15 +00:00