drapeau%eng.sun.com
b12618788f
Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
...
Build'). Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found. The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.
r=drapeau@eng.sun.com . Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com ).
1999-12-03 00:26:09 +00:00
norris%netscape.com
98862d9415
Fix bug 18636 java script security problem when accessing my.netscape.com/
...
r=mstoltz
1999-12-02 23:56:25 +00:00
tbogard%aol.net
daa4db77af
Adding nsIScriptGlobalObjectOwner.idl to the manifest.
1999-12-02 06:18:32 +00:00
tbogard%aol.net
b0ab7a8495
added files: mozilla/dom/public/nsIScriptGlobalObjectOwner.idl
1999-12-02 06:17:29 +00:00
tbogard%aol.net
ec4119174e
Connecting nsIScriptGlobalObjectOwner.idl to be compiled. Not yet used anywhere.
1999-12-02 06:16:08 +00:00
tbogard%aol.net
5a3a6e0145
Adding new interface for people who can supply an nsIScriptGlobalObject. Not yet connected to the build.
1999-12-02 06:14:49 +00:00
danm%netscape.com
d25d8e587a
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
norris%netscape.com
d89d87531c
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
shaver%netscape.com
1a0aec6215
fix windows filename case damage, r=brade,sdagley
1999-12-01 16:11:07 +00:00
rods%netscape.com
f1a98d55ca
removing all lower case version of this file
1999-12-01 16:10:00 +00:00
rods%netscape.com
4749742331
bug 2253
1999-12-01 15:54:59 +00:00
buster%netscape.com
fd31de07ac
bug 2253. added controller to html text input
...
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
hyatt%netscape.com
074f2362e4
More skin goodness. r=gimpy
1999-11-30 09:29:43 +00:00
warren%netscape.com
2db26922a6
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
tbogard%aol.net
b79a4cc957
Removing now that the interface definition can be found in the IDL file.
1999-11-30 04:09:16 +00:00
tbogard%aol.net
887609d285
Would help if I removed nsIScriptContextOwner.h instead of nsIScriptObjectOwner.h
1999-11-30 00:28:40 +00:00
dougt%netscape.com
c031e1c389
Fix for 18078. R=mstoltz,warren
1999-11-30 00:14:55 +00:00
tbogard%aol.net
b000f75888
Connected nsIScriptContextOwner.idl to the build and removed the copy of the header file.
1999-11-29 23:05:19 +00:00
tbogard%aol.net
d5726554c8
added files: mozilla/dom/public/nsIScriptContextOwner.idl
1999-11-29 23:04:23 +00:00
tbogard%aol.net
6a6f6507e7
Added nsIScriptContextOwner.idl to the list of IDL files to build. Removed nsIScriptContextOwner.h from the list of export header files.
1999-11-29 22:51:42 +00:00
tbogard%aol.net
dbb4e575f9
Added nsIScriptContextOwner.idl to the list of IDL files to build. Removed nsIScriptContextOwner.h from the list of export header files. r=vidur.
1999-11-29 22:44:28 +00:00
tbogard%aol.net
c54b48ce20
Changed the UUID back to the one that nsIScriptContextOwner had in the .h file.
1999-11-29 22:42:07 +00:00
tbogard%aol.net
ec36c2ff05
First cut at putting nsIScriptContextOwner interface into idl. (Not connected to the build yet.)
1999-11-29 22:32:58 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
fc861622a5
GlobalWindow now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
1999-11-27 02:35:54 +00:00
shaver%netscape.com
89607b7de2
Repair missing newlines at end of files, and remove lines of the form
...
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
norris%netscape.com
51842ef45e
Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
...
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.
I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.
Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.
r=joki
There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.
r=jband
1999-11-25 05:28:18 +00:00
vidur%netscape.com
bc1a90e967
Reverted to NPL 1.1. R=joki
1999-11-25 00:02:47 +00:00
vidur%netscape.com
58c1de27fd
Fix for 19650 and 15133. Added nsIJSEventListener. JS event listener now stores script context and script object owner for late compilation of script event handlers.
1999-11-25 00:01:30 +00:00
vidur%netscape.com
3ddb8869ea
Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki
1999-11-25 00:00:21 +00:00
vidur%netscape.com
6d1174d90c
Added nsIJSEventListener.h
1999-11-24 23:59:08 +00:00
vidur%netscape.com
0d4cde9c06
Added window.scroll(). Reverted back to NPL 1.1. R=joki
1999-11-24 23:58:43 +00:00
vidur%netscape.com
bf26e759a4
Added window.scroll()
1999-11-24 23:56:39 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
tbogard%aol.net
515e4d9739
Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
1999-11-23 09:57:47 +00:00
joki%netscape.com
fc077ea0be
Add initialization of named Event class to script. part of fix for 9544. r:vidur
1999-11-22 19:39:55 +00:00
norris%netscape.com
24778bda71
Modify generated dom code to use a enum rather than a string for codesize
...
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz
1999-11-20 07:28:34 +00:00
buster%netscape.com
93551f1751
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
buster%netscape.com
2de668fe3c
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg and vidur
1999-11-19 07:19:10 +00:00
buster%netscape.com
57e8b347a2
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg
1999-11-19 07:18:25 +00:00
waterson%netscape.com
833fe7f7f8
Fix event listener leak in idlc-generated code. r=joki
1999-11-18 20:39:58 +00:00
waterson%netscape.com
c38842c56b
Fix event listener leak in code that is generated to take functions. Fix to generate new NPL 1.1 license. r=joki
1999-11-18 20:38:43 +00:00
warren%netscape.com
59ef7fadbf
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
tbogard%aol.net
ceb3dd7a02
Fixed some calls on GetTopLevelWindow() and the assumptions made on the return value with the returned pointer. Added some pseudo code that is commented out for prompter stuff. r=seth (This is a cleanup of the checkin made in an effort to get the tree open.)
1999-11-18 00:33:54 +00:00
sspitzer%netscape.com
e69a8417da
fix for #19117 , crash. add check before dereferencing null.
1999-11-17 23:05:29 +00:00
warren%netscape.com
34ecf73507
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
tbogard%aol.net
81036c2c73
Seems Solaris' compiler is on the bus... Doesn't understand what nsISupports to grab or something. Anway adding the .get() fixes it.
1999-11-17 03:55:35 +00:00
tbogard%aol.net
81513dba8a
errr, Unix compilers don't understand the right value nsCOMPtr thing... Fixed.
1999-11-17 01:54:04 +00:00
tbogard%aol.net
50ecb4c11b
Changed nsPIDOMWindow::GetPrivateParent() to be implemented using it's own mChromeElement so it doesn't have to rely on the nsIWebShell::GetParentEvenIfChrome(). r=hyatt.
1999-11-17 00:43:19 +00:00
vidur%netscape.com
d34feb8eb0
Fix for bug 18301. window.closed returns true for all windows that have been closed. R=troy. Fix for typo from earlier checkin from Travis that caused window.open to fail. R=travis
1999-11-16 23:11:50 +00:00