Commit Graph
191 Commits
Author SHA1 Message Date
[email protected] aff32ff13b Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
[email protected] 790420f31d loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
[email protected] 836bec6329 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
[email protected] 5d4a8a8ba0 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
[email protected] 7316864ac3 Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
[email protected] 2ed83fa507 DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo. 1999-12-28 23:22:26 +00:00
[email protected] 71e811f9dd Starting to integrate the DocLoader and URI loader... Removed the Channel listener and the need for nsDocumentBindInfo objects. Now all URI loading is done by the URI loader. 1999-12-28 09:16:15 +00:00
[email protected] 267a03c068 needed for foreign-cookie pref, bug 13655, coded by rpotts, r=morse, a=chofmann 1999-12-18 05:16:18 +00:00
[email protected] f59c369bee back out last change temporarily until we can fix leak 1999-12-17 04:05:53 +00:00
[email protected] babac18478 Implement reject-foreign-cookies pref, bug 13655, a=chofmann, r=neeti nsDocLoader.cpp 1999-12-17 02:44:22 +00:00
[email protected] 4f1683bfef added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:18:52 +00:00
[email protected] 66a98d1946 Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.
r=travis
1999-12-06 22:32:06 +00:00
[email protected] 7b7ebf2b72 fix leak of document bind info when uri loading is turned on. 1999-12-02 09:37:36 +00:00
[email protected] 5a6daf2c78 openuri now takes a nsURILoaderCommand
remove protocol scheme check before using the uri loader. this
means that all urls will run through the uriloader regardless of
 type when it gets turned on.
webshell:
doContent and canHandleContent now take a nsURILoaderCommand
modify the handle link click event method to pass in
in the nsIURILoader::viewUserClick command to the uri loader
r=travis
1999-12-02 07:00:17 +00:00
[email protected] c513f5d441 Add chrome and res urls specs to the list of urls which now work with the uri loader.
Note: you need to enable uri loading under the debug menu for this code to be executed.
1999-12-01 03:21:51 +00:00
[email protected] 715281420b fix back and forward buttons when using uri dispatching. When we're about to call into the uri loader,
set the mLoadingDocument flag on the doc loader to true.
1999-11-30 22:15:35 +00:00
[email protected] 3abca0bf7e Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
[email protected] b87eaf58dc uri dispatching nit....retarget the load group if we are opening a channel which has a load group
different from our own.

THIS CODE IS NOT executed unless uri dispatching is turned on.
1999-11-30 00:10:17 +00:00
[email protected] cee3582696 Fix warning. 1999-11-29 21:06:49 +00:00
[email protected] f0bda407a6 temporary tweak to doc loader to use private uri loader
with post data stream support if we are trying to load
a url that has a post data stream.
r=travis
1999-11-29 21:01:15 +00:00
[email protected] 8ef77ff803 force uri dispatching to always be on if the url we are trying to load
is a mailto url. why? because it works so well for mailto =). No sense
in only allowing people turning uri dispatching on to get the benefits.
r=travis.
1999-11-23 07:14:45 +00:00
[email protected] 47b1045cbf bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
[email protected] 2faadce595 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
[email protected] 2a687c407e Bug #14928 --> phase one of uri dispatching landing. IF uri dispatching is turned on,
invoke the uri loader instead of opening the document ourselves.

Various changes for uri dispatching....

r=travis
1999-11-18 07:07:33 +00:00
[email protected] e32ce8fe06 r=rhp. nsDocumentBindInfo was returning NO_INTERFACE when asked for nsISupports. I can't believe we made it this far w/ that object not able to support nsISupports :/ 1999-11-18 02:19:13 +00:00
[email protected] d781c103fb Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
[email protected] 2f7df8ec71 Changed nsDocLoader to get Container by asking nsIWebShell rather than nsIContentViewerContainer. 1999-11-16 01:03:57 +00:00
[email protected] c38762555e Removed temporary QI to nsIContentViewerContainer as nsISupports is what is needed on the parameter anyway. r=pavlov 1999-11-15 07:47:01 +00:00
[email protected] 3b595d6fe3 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] afaf96c77d add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
[email protected] 86769d58b4 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:42:55 +00:00
[email protected] 8fc7746d68 Removed an unneccesary include statement. No bug number. 1999-10-13 10:28:10 +00:00
[email protected] e4b115c909 Removed dead code inside of #if 0 blocks... 1999-10-06 21:43:21 +00:00
[email protected] 285120e9f2 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
[email protected] c68e3855ce Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification 1999-10-05 23:57:20 +00:00
[email protected] 0e9ad26987 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
[email protected] d77ab3ec16 bug #14457. Getting the webcrawler working again for QA... 1999-09-22 22:58:29 +00:00
[email protected] 1693eadf69 take action to prevent re-entering the destructor 1999-09-21 21:10:22 +00:00
[email protected] e2921058cd The doc loader should release the underlying channel once the channel issues a OnStopRequest. This allows the
channel to go away after we load the url instead of making it stick around until the next url comes in (that's
when we used to get rid of the previous channel).
r=rpotts.
1999-09-21 05:36:49 +00:00
[email protected] 2df809bdf8 fix listener leak r+a=mscott,valeski 1999-09-20 21:10:46 +00:00
[email protected] 7530c3227d Fixed warnings. 1999-09-20 20:57:21 +00:00
[email protected] 6e290b65a7 DocLoader cleanup... Also trying to get the notifications correct :-) 1999-09-17 07:56:03 +00:00
[email protected] d1f98f7bc1 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
[email protected] f62f5c3027 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
[email protected] 7b17897c3b Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process. 1999-09-09 23:53:55 +00:00
[email protected] ee684c46a2 LoadDocument and LoadSubDocument now take an nsIURI instead of a unicode string. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:58:57 +00:00
[email protected] 39d8d01e33 If the to content type is message/rfc822 then we need to call into the stream converter service to find an appropriate
converter.
1999-09-05 19:54:28 +00:00
[email protected] b9ae91a40c added a context param to the stream converter service 1999-09-02 02:18:28 +00:00
[email protected] 60688fb1a6 fixed a memory leak (was leaking the strdup("?"), landed stream converter stuff on Mac. 1999-09-01 21:50:32 +00:00