Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com 7219da7de5 Back out last change; didn't mean to check it in. 1999-11-25 05:30:22 +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
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sspitzer%netscape.com e96fe99b53 fix for #14999. remove the profile appcore 1999-09-28 07:29:25 +00:00
law%netscape.com 7ae1d728f3 Remove browser app core 1999-09-14 22:42:49 +00:00
cyeh%netscape.com 34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
rjc%netscape.com a64e2bcf4f Bye bye, RDF AppCore. 1999-08-30 08:48:52 +00:00
waterson%netscape.com c312a4f2a3 Get rid of the DOMProps core. It's obsolete. 1999-07-03 04:35:57 +00:00
sfraser%netscape.com 3df12977f5 Removal of nsIDOMEditorAppCore.h and idl. 1999-06-21 22:32:22 +00:00
morse%netscape.com 0651f7eed5 remove wallet viewers from appcore 1999-06-19 21:12:44 +00:00
pinkerton%netscape.com 0c1afd4a65 remove the toolbar appCore from the build. 1999-06-16 00:32:12 +00:00
mcmullen%netscape.com 5b965c501d Removed PrefsCore from appcores - it's now an autoregistered, idlized component. 1999-06-09 20:42:55 +00:00
morse%netscape.com 9b4f8a23d0 reimplement cookie viewer 1999-06-04 21:51:57 +00:00
morse%netscape.com 24135d3563 added modal dialogs for wallet 1999-05-26 22:42:49 +00:00
gayatrib%netscape.com c49d61e28a Addd prfoile core 1999-05-19 05:06:58 +00:00
rods%netscape.com b3a6cba1c5 Removed MailCore.idl 1999-04-16 19:56:04 +00:00
law%netscape.com d1ef3830c5 Add support for setting IDLSRCS on command line 1999-04-15 21:02:10 +00:00
slamm%netscape.com 7f2d7cfe0c Adding properties appcore/window. 1999-04-07 04:26:43 +00:00
mcmullen%netscape.com 4c8d6d0484 Added PrefsCore.idl 1999-03-27 00:03:50 +00:00
danm%netscape.com 3a4cd8dae9 adding convenience makefile (not part of the normal build) 1999-03-05 20:25:48 +00:00