Commit Graph

585 Commits

Author SHA1 Message Date
hyatt%netscape.com
0248ddd28c 30511. r=ben 2000-06-14 04:50:20 +00:00
mjudge%netscape.com
44280fcc41 commiting generated file from SelectionListener.idl. r=hyatt bug = 34896 2000-06-09 04:14:53 +00:00
mjudge%netscape.com
cc69465978 34896, change to move constants to this file. r=hyatt 2000-06-09 04:12:50 +00:00
danm%netscape.com
cadb12d58a window.prompt() returns jsval instead of string, allowing it to return null when required. wants to be changed back to a string once the DOM APIs support this same thing. bug 12021. r=jst@netscape.com 2000-06-09 00:14:44 +00:00
akkana%netscape.com
5530c009d8 Needed for bug 40457: Add API for range methods to tell
whether a node or point intersects the range. r=vidur, a=beppe.
2000-06-07 22:56:55 +00:00
jst%netscape.com
0f3586fdaf Fixing nsbeta2+ bug 30249, the problem was that the type of various attributes (in the DOM spec) on image elements was string and not number (long), this broke backwards compatibility with 4.x and also compatibility with IE. r=vidur 2000-06-07 01:23:55 +00:00
hyatt%netscape.com
d69e9db8ca Updating tree selection. bug#30511. r=danm 2000-06-07 00:01:04 +00:00
hyatt%netscape.com
d0a6787edf Tree/grid XBL foundation work. 2000-06-02 08:11:55 +00:00
hyatt%netscape.com
a7baf1212b More XBL work for tree/grid rewrite. 2000-06-02 08:11:27 +00:00
hyatt%netscape.com
cfbf3533d1 Removing XUL DOM elements. 2000-05-30 08:20:06 +00:00
hyatt%netscape.com
c8bc84a0a3 Removing obsolete headers from the build. 2000-05-30 08:07:54 +00:00
hyatt%netscape.com
62b074a8ce Removing obsolete C++ code. 2000-05-30 08:06:59 +00:00
hyatt%netscape.com
430af5709b Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
jst%netscape.com
46e894cbec Fix typo. 2000-05-25 14:48:50 +00:00
jst%netscape.com
ffb0b2b591 Exporting nsIDOMHTMLEmbedElement.h on the mac too. 2000-05-25 14:37:02 +00:00
joki%netscape.com
c22fd60f54 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
joki%netscape.com
08d1d06617 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
joki%netscape.com
a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
jst%netscape.com
798ded8a8e Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
jst%netscape.com
ee926f445f Adding DOM Level 2 LinkStyle interface. 2000-05-14 00:01:02 +00:00
mjudge%netscape.com
4674af6de9 changing api for 2 string to force a output type. 2000-05-13 08:01:47 +00:00
jst%netscape.com
c7e8bcaa77 Fix the DOM prop enum table, seems like putting tabs in the file doesn't work. 2000-05-12 02:05:23 +00:00
saari%netscape.com
6d85c44bba missed this file 2000-05-11 23:08:13 +00:00
jst%netscape.com
1eeff4277a Add the glue code for more DOM Level 2 interfaces to the build. 2000-05-11 23:03:25 +00:00
saari%netscape.com
62bcd1b1eb last checkin for 29800 2000-05-11 22:54:14 +00:00
saari%netscape.com
127a21c2fc more for 29800 2000-05-11 22:43:32 +00:00
jst%netscape.com
8fff1cbbbd Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201. 2000-05-11 21:49:16 +00:00
jst%netscape.com
4e3ceb93f9 Checkin in headers for new DOM Level 2 interfaces. 2000-05-11 19:31:07 +00:00
jst%netscape.com
3b9f583f69 Adding more DOM Level 2 CSS interfaces. 2000-05-11 19:24:31 +00:00
javi%netscape.com
769af07e62 Update header files with new constant so that dom recognizes the crypto
JS object as part of the window object. r=jst@netscape.com
2000-05-11 19:20:59 +00:00
javi%netscape.com
1d0ef43775 Public headers for getting crypto object into the window object. r=jst@netscape.com 2000-05-11 19:18:44 +00:00
javi%netscape.com
77683d86ed Adding new idl files for the crypto object. r=jst@netscape.com 2000-05-11 19:13:31 +00:00
hyatt%netscape.com
11c8e7cf5c XBL now works with HTML, SVG, MathML, XML, and XUL. 2000-05-09 21:41:01 +00:00
bryner%uiuc.edu
e8170d1269 Fixing the out of order DOM properties assertion. r=shaver. 2000-05-07 20:19:08 +00:00
brendan%mozilla.org
655468fe9a Make sure the enumerator names are sorted (r=waterson@netscape.com). 2000-05-07 07:10:55 +00:00
jst%netscape.com
36cc288ddd Hooking up document.getOverrideStyle() in the DOM JS glue code, no implementation yet. 2000-05-06 18:05:10 +00:00
jst%netscape.com
d4e71dae49 Adding header for the DOM Level 2 interface DocumentCSS, not used yet. 2000-05-06 17:09:24 +00:00
jst%netscape.com
9886f61c7b Add DOM Range error codes. 2000-05-06 13:50:39 +00:00
jst%netscape.com
7673c27ca3 DOM Level 2 exception updates. 2000-05-06 13:35:53 +00:00
waterson%netscape.com
3a3b744651 Bug 34623. Add 'rebuild()' API to XUL elements. 2000-05-05 23:39:59 +00:00
jst%netscape.com
f2c84f284b Checking in DOM JS glue and stub implemetation for getComputedStyle(). 2000-05-03 13:03:17 +00:00
jst%netscape.com
04667519c6 Adding header for the DOM Level 2 interface ViewCSS, not used yet. 2000-05-03 12:30:05 +00:00
nisheeth%netscape.com
7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
jst%netscape.com
2e5aeec95e Hooking up window.getSelection() to return a selection object. 2000-04-28 14:02:29 +00:00
jst%netscape.com
c0e9a8a365 Removing files that must be in another directory. 2000-04-26 14:11:07 +00:00
jst%netscape.com
af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
jst%netscape.com
63bf1a14ea Adding headers for new DOM Level 2 interfaces to the build, not used yet. 2000-04-26 12:30:42 +00:00
jst%netscape.com
995a110196 Adding new files to the makefiles, not part of the normal build. 2000-04-26 12:17:05 +00:00
jst%netscape.com
9789279b47 Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:43:24 +00:00
jst%netscape.com
df1742f34d Adding new DOM Level 2 interfaces, not part of the build yet. 2000-04-26 00:38:08 +00:00
jst%netscape.com
b99a57af4b Adding new DOM Level 2 CSS interfaces CSSRuleList and CSSCharsetRule, not part of the build yet. 2000-04-26 00:32:52 +00:00
jst%netscape.com
16543967f8 Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet. 2000-04-26 00:27:59 +00:00
joki%netscape.com
bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
jst%netscape.com
9fc5b3a994 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API. 2000-04-21 21:36:26 +00:00
jst%netscape.com
65686de7fb Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
jst%netscape.com
65013f77f6 Adding CSSValue interface, not part of the build yet. 2000-04-20 11:07:16 +00:00
pinkerton%netscape.com
4a35c96f6d Adding top and left to screen object. 2000-04-20 01:59:24 +00:00
pinkerton%netscape.com
c794e77872 Adding top and left because they are not always at 0,0. 2000-04-20 01:58:36 +00:00
pinkerton%netscape.com
412c7b250a Adding screen.top and screen.left 2000-04-20 01:57:16 +00:00
jst%netscape.com
b28d0d6298 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2. 2000-04-18 23:00:58 +00:00
jst%netscape.com
a4ce9e598d Updating the HTMLObjectElement interface to DOM Level 2. 2000-04-18 22:57:42 +00:00
jst%netscape.com
d563ed28aa Adding DOM Level 2 interface definitions for AbstractView and DocumentView, not part of the build. 2000-04-18 17:07:52 +00:00
mccabe%netscape.com
71eac1e422 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
mjudge%netscape.com
6dd854c7e8 adding reason to notification 2000-04-14 23:03:16 +00:00
mjudge%netscape.com
aab121da58 new spi addition for reason for notification 2000-04-14 23:02:51 +00:00
mjudge%netscape.com
9aad98b95a added new parameters to NotifySelectionlisteners 2000-04-14 11:27:59 +00:00
mjudge%netscape.com
d72a90e1cb new api more details on notification 2000-04-14 11:27:22 +00:00
jst%netscape.com
5cd69c3154 Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
sfraser%netscape.com
46d55f87a5 Adding methods to NSHTMLInputElement to allow control of the selection from JS. 2000-04-13 05:02:35 +00:00
sfraser%netscape.com
932121c8e2 Adding methods to nsHTMLNSInputElement to support getting/setting the selection from JS. Also added a textLength attribute. 2000-04-13 04:50:59 +00:00
ducarroz%netscape.com
245059c4ee Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
hyatt%netscape.com
878a4d9d58 Fixing an XBL event handling bug and a menu shortcut bug. r=brendan, a=leaf 2000-04-06 22:32:36 +00:00
jst%netscape.com
059979d5e5 Eliminating the last traces of NS_COMFALSE from the DOM code, fixes M15 bug #11594. 2000-04-05 02:40:08 +00:00
jst%netscape.com
44d3c72ca2 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
jst%netscape.com
94e684ba9d Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
jst%netscape.com
ae22dfeb8b Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame. 2000-04-02 14:04:19 +00:00
jst%netscape.com
9f4e5b9940 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
tbogard%aol.net
a154678139 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set. 2000-03-31 09:26:02 +00:00
tbogard%aol.net
092d752c7a Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject. 2000-03-31 06:59:30 +00:00
tbogard%aol.net
f382be7ec2 Removed GetDocShell from nsPIDOMWindow as it can be retrieved using nsIScriptGlobalObject. Added SetXPConnectObject and GetXPConnectObject which hooks up or retrieves an xpconnect object to a property on the dom window. Removed some old XXXEMBEDDING comments as they were wrong. The old methods on nsIDOMWindow for adding and getting an object now call through to the property code. Those methods will soon be removed. 2000-03-31 03:33:49 +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
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
norris%netscape.com
593a12b912 Fix bug 32904 Asserts at startup in nsScriptSecurityManager.cpp
r=mstoltz
2000-03-23 23:42:46 +00:00
hyatt%netscape.com
eed6f05955 Adding a couple of props. 2000-03-23 22:20:34 +00:00
hyatt%netscape.com
88438460a7 XUL <textfield> lives! 2000-03-23 22:17:37 +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
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
jst%netscape.com
3c8ef123b8 Checking in patch from jband@netscape.com that makes it possible to build on Win98 again. r=me 2000-03-20 14:12:57 +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
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
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
hyatt%netscape.com
d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
pinkerton%netscape.com
bd834b5c7f saari checking in on pink's machine, fixing build, adding generated DOM idl file 2000-02-26 01:48:04 +00:00
saari%netscape.com
dbaa79f38a Fix PDT+ 28467, windows jumping z-order to front on load. r=hyatt a=jar 2000-02-26 00:58:12 +00:00
hyatt%netscape.com
5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
mjudge%netscape.com
0035fc652a r=jfrancis, a=jar Part of checkin including layout/base/src/nsRangeList.cpp to fix caret issues 2000-02-25 04:29:28 +00:00
pollmann%netscape.com
1fc6e17a67 Bug 12513: Fix typo (win build bustage). 2000-02-24 00:24:10 +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
e9cd1dc77d Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-23 22:38:00 +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
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
tbogard%aol.net
3a54bd5f2a Adding the new interfaces for browserElement and iframeElement. r=hyatt 2000-02-15 04:43:29 +00:00
hyatt%netscape.com
5b1a23bf63 Fix for bug #20764. 2000-02-12 10:08:52 +00:00
hyatt%netscape.com
f4ca859684 Fix for PDT+ bug #20764. 2000-02-12 10:08:23 +00:00
norris%netscape.com
5567200a75 Fix 18439 windows.status allows reading links
r=mstoltz
2000-02-11 04:18:39 +00:00
mjudge%netscape.com
af209960ee added new java property. added it to nsDOMPropEnums.h to allow genprops.pl to give correct method name 2000-02-11 01:04:56 +00:00
mjudge%netscape.com
933891bf36 fixes left out last night for range removal bug 2000-02-11 01:00:56 +00:00
hyatt%netscape.com
59c456d260 Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
hyatt%netscape.com
38b667748a Fix for 20471. Basic focus memory framework being checked in as well. 2000-02-11 00:57:54 +00:00
mjudge%netscape.com
0854f001ce adding remove range for table selection and for completeness. 26460 r=cmanske 2000-02-10 09:17:02 +00:00
mjudge%netscape.com
3eabfb6192 clearing strange M flag on file. must ahve checked in a space instead of tab or something 2000-02-10 08:24:23 +00:00
mjudge%netscape.com
442f9d6103 adding one more prop for selection 2000-02-10 08:21:42 +00:00
mjudge%netscape.com
b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
joki%netscape.com
3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
pp%ludusdesign.com
f318953848 Added generated file directories to .cvsignores, r=mozbot. 2000-02-03 22:17:22 +00:00
vidur%netscape.com
8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
hyatt%netscape.com
b697933700 Getting rid of createPopup on the DOM window. 2000-01-28 03:02:04 +00:00
hyatt%netscape.com
2347cb1b47 Left out two files. 2000-01-27 00:12:00 +00:00
saari%netscape.com
c2981cef58 fix for 14346, 21854, 24380 and other caret bugs. r= hyatt, brade for the mac menu stuff. 2000-01-26 22:41:43 +00:00
norris%netscape.com
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
hyatt%netscape.com
0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
waterson%netscape.com
d100985675 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
vidur%netscape.com
41d1ed74ad Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann. 2000-01-18 23:41:27 +00:00
vidur%netscape.com
7aa3c33c9c Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
vidur%netscape.com
61085e3a2a Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang 2000-01-15 02:26:10 +00:00
tao%netscape.com
da49ef2262 bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
pollmann%netscape.com
ea78836d79 Bug 14419 (3 of 4): Make option text read/write (glue header) r=harishd 2000-01-15 01:49:39 +00:00
pollmann%netscape.com
dfef0be8c9 Bug 14419 (2 of 4): Make option text read/write (idl) r=harishd 2000-01-15 01:45:02 +00:00
alecf%netscape.com
714e7a48a9 expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
hyatt%netscape.com
21a48fa26a adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
norris%netscape.com
ddb2282b6c Fix
858  [Feature] JavaScript auto-disable per-domain RFE
    13023 Users must be able to disable Java and JavaScript (for JS in mail)
    21923 Executing functions in "chrome:" protocol - #2.
    r=mstoltz

    (Checked in with red on Mac; Wan-Teh says his changes are localized so
     it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
brendan%mozilla.org
cfe8cb3e89 (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
vidur%netscape.com
b845753fb6 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
norris%netscape.com
3133f8c77d Fix assertion failure at startup caused by failure to run genPropNames.pl.
r=mstoltz@netscape.com
2000-01-06 22:04:18 +00:00
alecf%netscape.com
cb1027f2f0 add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner
2000-01-06 07:54:43 +00:00
vidur%netscape.com
3cc928f744 Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann 2000-01-06 01:15:55 +00:00
norris%netscape.com
4f128298d2 Fix 22909 previousSibling vulnerability
r=mstoltz
2000-01-06 00:59:18 +00:00
vidur%netscape.com
d37c5c5323 Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar 1999-12-22 22:42:06 +00:00
vidur%netscape.com
70de582cc6 Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
jband%netscape.com
ef9c82db1e 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
syd%netscape.com
9ad549aeef Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
1999-12-17 06:11:45 +00:00
syd%netscape.com
180c85a27e Window.idl was not being built if you did this on Linux (Makefile.in
rot). r=vidur, a=brendan (related to but does not fix PDT+ 18518).
1999-12-14 23:48:08 +00:00