Commit Graph

706 Commits

Author SHA1 Message Date
tbogard%aol.net
c2819cb0ba Make sure to dump the xpConnectObjectHash when we load a new document. Use the new docShell API for loading a URI rather than the old nsIWebShell code. Since this takes a uri, this also allows us to avoid creating and destructing a uri/ a character spec. We can now just pass the URI to be loaded. 2000-03-29 06:16:16 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
hyatt%netscape.com
ca3c35c57d Enhancements to nsIScriptcontext. r=brendan@mozilla.org 2000-03-29 01:18:21 +00:00
akkana%netscape.com
1b96eaa6ca 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser 2000-03-28 00:15:56 +00:00
scc%netscape.com
c159ce9031 small changes to clients of string converting APIs 2000-03-26 09:07:50 +00:00
norris%netscape.com
4eb52aa84b Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
tbogard%aol.net
572cbf3733 Provided implementation for GetXPConnectObject, AddXPConnectObject and RemoveXPConnectObject. Changed RemoveXPConnectObject to only take the id since taking the pointer as well was useless. Also fixed an error in nsGlobalWindow.cpp with signed against unsigned of string lengths. 2000-03-24 00:11:48 +00:00
hyatt%netscape.com
88438460a7 XUL <textfield> lives! 2000-03-23 22:17:37 +00:00
av%netscape.com
aac4b2fb97 Fixing null-pointer access causing variuos crashes, bug #30372, r=jst 2000-03-23 21:42:23 +00:00
tbogard%aol.net
a02a62b0ad Adding new methods to domwindow to be able to set and get at XPConnect Objects based on an ID. This allows attaching an object from JS to the window and then retrieving and calling it from C++. This is just the specification for the interfaces. The implementation is not yet fully there. 2000-03-23 04:23:26 +00:00
jst%netscape.com
2745ce2c5d Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
norris%netscape.com
b4309b139a Fix
28387 nBookmarking javascript: URLs is dangerous
32343 Components object appears to be accessible via javascript: u
31707 Crash when logging into hotoffice.com
r=mstoltz
2000-03-21 23:16:55 +00:00
valeski%netscape.com
d4b0de78fc r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object. 2000-03-21 22:39:54 +00:00
hyatt%netscape.com
eb590233a8 Fix for bug #32587. 2000-03-21 02:05:15 +00:00
norris%netscape.com
d2401d0be5 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
norris%netscape.com
d6d9c3c79b Remove comment that is no longer true. 2000-03-17 22:18:54 +00:00
jst%netscape.com
872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
cmanske%netscape.com
fa8957446f Removed tableselection notification from nsIDOMSelectionListener -- no longer needed. r=mjudge 2000-03-16 23:44:49 +00:00
rickg%netscape.com
194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
tbogard%aol.net
6f99d05f74 Fixed ordering of member variable initialization to fix compiler warnings. Back() and Forward() now use the nsIWebNavigation interface instead of the old nsIWebShell one. 2000-03-11 11:58:13 +00:00
norris%netscape.com
060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
norris%netscape.com
9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net
ca737d3b79 Use the nsIWebNavigation interface for loading an URL where possible instead of the old webShell one. When calling FindChildWithName add the new parameter to state that a child of a different type if ok to return. 2000-03-11 00:59:08 +00:00
tbogard%aol.net
5ecfcfafb4 FindChildWithName now takes a new parameter for if children of different types should be returned. We pass FALSE here to say children of a different type is fine. 2000-03-11 00:57:01 +00:00
mscott%netscape.com
26d9b3ad83 Bug #30553 --> properly get the correct window sizes for new windows created with a window target. This code
was actually written by travis and was reviewed by danm. I'm just checking it in for him.
a=jevering
2000-03-09 08:19:22 +00:00
valeski%netscape.com
e34603f984 r=vidur. a=jevering. We now advertise Netscape like we always did in the AppName field 2000-03-07 15:35:48 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
mcafee%netscape.com
d43ab625b4 Fixing unix bustage, should use PR_TRUE. 2000-02-26 02:56:29 +00:00
vidur%netscape.com
53507a2af2 Fix for bug 27935. Found a FMR in nsGlobalWindow::Runtimeout that caused a timing-dependent crash. r=pinkerton,pollmann 2000-02-26 02:28:27 +00:00
pinkerton%netscape.com
4e3e72a47c saari at pink's machine again, another generated file 2000-02-26 02:03:04 +00:00
mjudge%netscape.com
fc3ebb697e part of checkin to add new getter and setter to nsIDOMSelection. a=jar r=jfrancis 2000-02-25 04:30:31 +00:00
tbogard%aol.net
58eb012885 Fixed build warnings. 2000-02-25 01:15:37 +00:00
tbogard%aol.net
9ebce62660 Reload now goes through the new nsIWebNavigation interface instead of the old nsIWebShell interface. Work on 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 03:57:32 +00:00
tbogard%aol.net
77d00ef7b2 Changed call to RemoveFocus to first try and set the focus to the parent docshell and then to the tree owner. Work for 13374. r=saari 2000-02-24 02:03:08 +00:00
pollmann%netscape.com
3cd70308f6 Bug 12513: Forgot a file, blast! r=vidur, a=rickg 2000-02-24 00:57:34 +00:00
pollmann%netscape.com
2ed06994e0 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
pollmann%netscape.com
b86d693799 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-23 22:46:11 +00:00
norris%netscape.com
d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
vidur%netscape.com
e5b64e43ae Fix for bug 27775. Introduced idl keyword 'replaceable' and marked some of the newer window properties with it. Fixes pages like www.oracle.com that have define window-scoped variables with the same name. r=rginda, a=chofmann 2000-02-22 22:08:36 +00:00
vidur%netscape.com
c15943f018 Fix for bug 28283. Crash setting window.innerHeight - fixed typo in setter. r=travis, a=chofmann 2000-02-22 22:03:55 +00:00
norris%netscape.com
641ee73ace Fix 26235.
r=mztoltz, a=jar
2000-02-19 00:47:21 +00:00
alecf%netscape.com
6aead1ab53 fix solaris bustage 2000-02-16 09:37:33 +00:00
rginda%netscape.com
37085fc3fd DOM fixes for bug 20721, r=vidur 2000-02-16 07:13:59 +00:00
joki%netscape.com
c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
vidur%netscape.com
262b187eee Fix for bug 9844. Added offsetTop/Left/Width/Height/Parent to nsIDOMHTMLElement. It should go on a new interface - to avoid the cost of new interface (a new vtable pointer per content instance), it's temporarily on the standard interface.r=pollmann 2000-02-16 02:25:27 +00:00
wtc%netscape.com
9377345e33 Bugzilla bug #27457: prepare the Windows build system for NSPR library
name change.  Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
vidur%netscape.com
4a99a365f0 Fix for bug 25269. We can now reenter GlobalWindowImpl::RunTimeout. This may happen if a modal dialog (and hence a subevent loop) is invoked from a timeout - as it does with the Mail Account Wizard window. r=norris 2000-02-15 01:32:19 +00:00
sfraser%netscape.com
3145b88aad Fix a bug where UpdateCommands() would recurse. r=hyatt 2000-02-15 01:08:04 +00:00
tbogard%aol.net
affdb28ed0 Changed to get the document from the nsIWebNavigation interface instead of the nsIDocShell interface. r=hyatt 2000-02-14 06:23:02 +00:00