Commit Graph
457 Commits
Author SHA1 Message Date
vidur@netscape.com 91ec5e1e27 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
rickg@netscape.com 7beb8e6aee landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
rods@netscape.com 624e6454d8 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
buster@netscape.com cd7c34c530 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
harishd@netscape.com 5219af7989 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +00:00
warren@netscape.com d781c103fb Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
norris@netscape.com 6e920731f8 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard@aol.net e8b476b7bf Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
rods@netscape.com a8cc090732 Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
vidur@netscape.com 2b8043b5f3 Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur@netscape.com ca2c7c2c92 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
rods@netscape.com a55677e6e6 notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
jdunn@netscape.com 6e45bc00de removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth@netscape.com 05f085a4b1 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
norris@netscape.com 2b028e0044 Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
cls@seawood.org 824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren@netscape.com 98a64ebc39 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
brendan@mozilla.org 9835f2a8ec (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
vidur@netscape.com b7b7dc0504 Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd 1999-10-29 19:07:24 +00:00
vidur@netscape.com 3c898855ae Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki. 1999-10-27 14:03:15 +00:00
norris@netscape.com cc96115d1c Fix 16836 "Security error accessing DOM elements inside an IFrame"
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
1999-10-26 22:45:32 +00:00
vidur@netscape.com ed0aa1a3e4 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur@netscape.com 12a3e37669 Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp 1999-10-26 14:55:51 +00:00
troy@netscape.com b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
nisheeth@netscape.com c5c03a7c1b Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
nisheeth@netscape.com f96d427084 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
kipp@netscape.com ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
harishd@netscape.com bf69e24a4e Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
norris@netscape.com 2b67e28b30 Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
Reviewed by vidur.
1999-10-06 21:13:37 +00:00
kipp@netscape.com e60b8617ed r=vidur; fixed a memory of a script content object 1999-10-05 00:05:38 +00:00
norris@netscape.com c71c60b2b9 Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
beard@netscape.com a598d90a02 fixed non-debug breakage. r=vidur 1999-10-01 01:11:40 +00:00
vidur@netscape.com 7f051e3171 Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
kipp@netscape.com 14498bdaac Removed atom table hacks 1999-09-30 21:17:28 +00:00
warren@netscape.com 47bdce759b Fixed uninitialized variables 1999-09-26 10:07:16 +00:00
ftang@netscape.com da573ab5e2 fix bug 14802. reviewed by harishd. 1999-09-24 21:50:49 +00:00
nisheeth@netscape.com e99f7f9cef Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth@netscape.com 4feb600587 Move the message that announces that time is being measured for layout processes from the content sink to the webshell. 1999-09-24 07:19:44 +00:00
ftang@netscape.com f1812b0bb5 fix crash when the pref callback get call. Part of bug 14219 1999-09-23 02:10:15 +00:00
ftang@netscape.com 86a56ef14d add pref callback for charset detectors 1999-09-22 08:49:28 +00:00
joki@netscape.com a7014ac4c9 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
rpotts@netscape.com 9389162a9a The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
nisheeth@netscape.com b2e58175fe Add prefix string to content creation timer output. 1999-09-21 06:24:58 +00:00
pollmann@netscape.com 4f8ea6ed7c Bug 14223: Typo, I'm sure. 1999-09-21 00:18:49 +00:00
nisheeth@netscape.com 1b4f8c0c74 Stop the content creation stopwatch before it is printed. 1999-09-20 06:48:33 +00:00
rpotts@netscape.com 4a05d248cd Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
vidur@netscape.com 13dea57c9a Implemented nsIDOMHTMLDocument::GetReferrer. The referrer is obtained from the request header of the document channel 1999-09-17 06:56:39 +00:00
kipp@netscape.com de1ead7ab7 Don't evaluate script tags inside an IFRAME tag since we support IFRAME's (partial fix for bug #5847) 1999-09-16 23:30:51 +00:00
vidur@netscape.com 9a861d6f69 Memory leak fix and #ifdef NECKO removals from shaver. Thanks to bruce@cybersight.com for the MLK identification. 1999-09-16 00:10:54 +00:00