norris%netscape.com
0871585c3d
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
warren%netscape.com
332749d6fa
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
f81d5969c6
(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
da899667a9
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
49f38b3cca
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
vidur%netscape.com
94bd218ec3
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
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
nisheeth%netscape.com
ef75c33b3c
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
b052eec318
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
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
norris%netscape.com
93538eafc8
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
a3d7e7cf09
r=vidur; fixed a memory of a script content object
1999-10-05 00:05:38 +00:00
beard%netscape.com
6a85f40725
fixed non-debug breakage. r=vidur
1999-10-01 01:11:40 +00:00
vidur%netscape.com
140612e133
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
nisheeth%netscape.com
38d524ab94
Use NSPR logging rather than printf's for stopwatch output.
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
8c1a201503
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
nisheeth%netscape.com
f097b55cdb
Add prefix string to content creation timer output.
1999-09-21 06:24:58 +00:00
pollmann%netscape.com
7cb9686716
Bug 14223: Typo, I'm sure.
1999-09-21 00:18:49 +00:00
nisheeth%netscape.com
660585d0d8
Stop the content creation stopwatch before it is printed.
1999-09-20 06:48:33 +00:00
rpotts%netscape.com
69eebbead3
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:20:49 +00:00
kipp%netscape.com
2157ff841e
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
8ab04ef069
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
harishd%netscape.com
32458c9067
Added support for setting DOCTYPE and DTD mode.
1999-09-15 17:57:16 +00:00
nisheeth%netscape.com
b7d6bb7da6
The stopwatch macros got converted to macros that accept an argument. Changed all macro calls in the content sink to play with that change.
1999-09-15 00:39:41 +00:00
briano%netscape.com
987374301c
Fixed the stopwatch macro definitions and usage that was breaking some of the Unix native compiler builds.
1999-09-14 22:10:13 +00:00
nisheeth%netscape.com
cd8a6da86e
Added start/stop calls for the stopwatch in the nsIContentSink and nsIHTMLContentSink method implementations. Added printing of content creation time in DidBuildModel().
1999-09-14 19:24:42 +00:00
bienvenu%netscape.com
788aa269e4
fix release mode build bustage
1999-09-14 16:25:59 +00:00
slamm%netscape.com
51ec568ce4
Start defines in first column.
1999-09-14 16:17:55 +00:00
nisheeth%netscape.com
7ee3e87d55
First cut to start measuring content creation time in the content sink. Only enabled if MOZ_PERF is set to 1 in the environment at build time.
1999-09-14 14:38:52 +00:00
rods%netscape.com
6a26defabe
Removing temporary fixes for option issues
1999-09-13 22:30:36 +00:00
rods%netscape.com
6c54a44b78
It now checks to see if option elements have a "\n" in them and it strips them out
1999-09-11 17:28:36 +00:00
rods%netscape.com
f6e0510a05
when <option></option> no text node gets created for the option element
...
it now checks and makes sure one gets created
1999-09-11 14:55:33 +00:00
evaughan%netscape.com
c9e6d7dafa
1) Made some fixes to splitter frame.
...
2) Fixed a bug that caused scrollbars to disappear after visiting a xul page.
1999-09-08 23:51:02 +00:00
kmcclusk%netscape.com
cf4f73e939
Bug#12729 Modified SinkContext::DemoteContainer to cache the child's mForm before
...
Removing it. After removing it the child's mForm is reset to the cached value.
1999-09-01 21:57:01 +00:00
nisheeth%netscape.com
d3eaaedcfb
The HTML Content sink now generates content IDs for each of the content objects it creates. The IDs start at NS_CONTENT_ID_COUNTER_BASE, defined in nsIContentSink.h, and increase monotonically as content objects get created.
1999-08-31 11:17:26 +00:00
kipp%netscape.com
78d89afc45
Fixed bug #10571 by always initializing 'ref'
1999-08-27 21:52:19 +00:00
valeski%netscape.com
08b22b266e
chofmann approved. fix for 11461, refresh for some meta refresh urls was happening irregularly.
1999-08-13 23:50:29 +00:00
valeski%netscape.com
05a902140c
we now handle the URL attribute in a http-equiv refresh tag
1999-08-04 21:19:22 +00:00
valeski%netscape.com
6fc14bc32a
we were refreshing _every_ url _every_ second. not anymore
1999-08-04 01:27:22 +00:00
valeski%netscape.com
0edfda477b
10720 fix - we now do meta tag refreshes
1999-08-03 21:48:40 +00:00
nisheeth%netscape.com
88a7a3eadb
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
harishd%netscape.com
49e2f26016
EnableParse() returns nsresult.
1999-07-27 23:33:16 +00:00
nisheeth%netscape.com
cbf9fde516
- Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
...
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
rickg%netscape.com
f4902b78bc
replaced calls to deprecated nsString API
1999-07-26 00:37:24 +00:00
vidur%netscape.com
0ebbf485db
Forms can now be container content.
1999-07-22 23:28:16 +00:00
warren%netscape.com
bf8423a769
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
peterl%netscape.com
7a4bc5e7cd
update to new tag and entity lookup apis
1999-07-18 00:21:41 +00:00
warren%netscape.com
61c8d73b43
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
peterl%netscape.com
e7584e516b
fixed body append notification a bit
1999-07-07 01:26:25 +00:00
kipp%netscape.com
83b55405b9
Map entities that expand to \r to \n (bug #6199 ); eliminate linux specific compiler warnings
1999-07-05 19:45:27 +00:00