danm%netscape.com
a9db94dfe7
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
norris%netscape.com
afb1f1e1e3
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
rods%netscape.com
3978a5d81b
removing all lower case version of this file
1999-12-01 16:10:00 +00:00
rods%netscape.com
bfff20d48a
bug 2253
1999-12-01 15:54:59 +00:00
buster%netscape.com
aa753bbcf7
bug 2253. added controller to html text input
...
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
hyatt%netscape.com
ce7a5655c1
More skin goodness. r=gimpy
1999-11-30 09:29:43 +00:00
warren%netscape.com
a265a32348
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
451a2d9ba9
Removing now that the interface definition can be found in the IDL file.
1999-11-30 04:09:16 +00:00
tbogard%aol.net
daf9aae013
Would help if I removed nsIScriptContextOwner.h instead of nsIScriptObjectOwner.h
1999-11-30 00:28:40 +00:00
dougt%netscape.com
67b387409f
Fix for 18078. R=mstoltz,warren
1999-11-30 00:14:55 +00:00
tbogard%aol.net
a53e75b252
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
5b3a50d235
added files: mozilla/dom/public/nsIScriptContextOwner.idl
1999-11-29 23:04:23 +00:00
tbogard%aol.net
983c95f3e6
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
cbe8a786f9
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
0acfc03931
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
f7594c869d
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
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
750b953527
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
506027739d
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
b62c04253e
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
5c7f1aa95b
Reverted to NPL 1.1. R=joki
1999-11-25 00:02:47 +00:00
vidur%netscape.com
fee8b4cf95
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
8c349c93ff
Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki
1999-11-25 00:00:21 +00:00
vidur%netscape.com
caac65472e
Added nsIJSEventListener.h
1999-11-24 23:59:08 +00:00
vidur%netscape.com
d4602715d7
Added window.scroll(). Reverted back to NPL 1.1. R=joki
1999-11-24 23:58:43 +00:00
vidur%netscape.com
9f18003595
Added window.scroll()
1999-11-24 23:56:39 +00:00
tbogard%aol.net
a0640b60c4
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
82bc6d307b
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
be6c6b1b12
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
1c4dac85f3
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
5e269fcf05
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
5d47f6d907
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
04cfddc50d
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg
1999-11-19 07:18:25 +00:00
waterson%netscape.com
a36e71d42e
Fix event listener leak in idlc-generated code. r=joki
1999-11-18 20:39:58 +00:00
waterson%netscape.com
28474b593f
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
d8bbb844e6
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
tbogard%aol.net
f8a659b2b6
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
b99b1dd9cf
fix for #19117 , crash. add check before dereferencing null.
1999-11-17 23:05:29 +00:00
warren%netscape.com
aaf83521f5
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
tbogard%aol.net
248a36c6bb
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
63a5a794a4
errr, Unix compilers don't understand the right value nsCOMPtr thing... Fixed.
1999-11-17 01:54:04 +00:00
tbogard%aol.net
c0b25a288d
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
8d278efa61
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
tbogard%aol.net
65790643ab
Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
1999-11-16 20:05:21 +00:00
jdunn%netscape.com
d70d78c6bf
Fixing all unresolved symbols on unix. The bug has the diff's
...
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
norris%netscape.com
411aade911
* 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
brendan%mozilla.org
90174055e4
Fix stupid logic bug (13163, r=sfraser@netscape.com).
1999-11-16 01:15:05 +00:00
saari%netscape.com
80a7ab6371
Landing focus changes. R: joki
1999-11-13 05:16:33 +00:00
brendan%mozilla.org
61969913a1
XULDOMJS_19991106_BRANCH landing (15146, r=vidur@netscape.com)
1999-11-12 06:08:14 +00:00
vidur%netscape.com
36a784a735
Fix for bug 13144. Check that private of JSObject is an nsISupports before trying to convert. R=pollmann.
1999-11-12 02:17:12 +00:00