Commit Graph
492 Commits
Author SHA1 Message Date
[email protected] 9dc8a8f31d Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
[email protected] 85b291ecb7 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
[email protected] d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
[email protected] 13630ef92f Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
[email protected] 9875af405d Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={[email protected], [email protected]}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
[email protected] 3ada6d5cfc Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
[email protected] ab5a165fec Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
[email protected] 64e3d7ab41 Bug 20315: Adding comment r=buster 2000-01-18 02:40:45 +00:00
[email protected] e47e911f5d r=pollmann. Fix for bug 22237. 2000-01-15 01:41:22 +00:00
[email protected] a8e7b95fb2 Bug 18478: Allow base tag in body to work for image maps (Fix courtesy [email protected]) r=self, harishd 2000-01-11 07:21:24 +00:00
[email protected] f04fda154d Use if instead of switch, to eliminate warnings. r=slamm 2000-01-11 02:24:29 +00:00
[email protected] fe2c0bc732 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored). 2000-01-08 10:09:00 +00:00
[email protected] cc587aad41 Fix a huge slew of warnings. r=pavlov 2000-01-08 01:20:58 +00:00
[email protected] 6e434f86d6 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
[email protected] 2e04e1dd4e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
[email protected] 9f3d8437f3 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to [email protected] for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
[email protected] bc1240b526 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
[email protected] f6bdf8c29e Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
[email protected] 3b0b7da02f Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
[email protected] 1efd0353a8 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00
[email protected] a07fd5d27d Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428). 1999-12-10 22:47:39 +00:00
[email protected] 6b2347657f Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann. 1999-12-10 03:36:50 +00:00
[email protected] e7c5724c44 bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann
1999-12-09 07:18:38 +00:00
[email protected] ad56c01301 Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg 1999-12-09 03:10:22 +00:00
[email protected] d1d12fa20a unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
[email protected] 2cfea76809 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
[email protected] 921041219c Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy 1999-12-08 03:47:05 +00:00
[email protected] 0681d418fd 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser
1999-12-08 02:05:16 +00:00
[email protected] 7521a75761 WIP on fixing <noscript> bug for real -- post dogfood. r=syd 1999-12-07 07:25:56 +00:00
[email protected] 1f31db671f For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth. 1999-12-04 01:27:46 +00:00
[email protected] 25baa5ff98 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +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] 743f7c4bee r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout). 1999-11-29 23:02:14 +00:00
[email protected] 914527261c Fix refcnt underflow bug, defend against null myObj ([email protected]). 1999-11-29 20:44:36 +00:00
[email protected] c582d09c9b nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
[email protected] 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
[email protected] 7beb8e6aee landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
[email protected] 624e6454d8 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
[email protected] 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
[email protected] 5219af7989 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +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] 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
[email protected] e8b476b7bf Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] a55677e6e6 notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
[email protected] 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
[email protected] 05f085a4b1 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00