norris%netscape.com
e753eaa792
Files:
...
caps/include/nsScriptSecurityManager.h
caps/src/nsScriptSecurityManager.cpp
modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson
Files:
dom/src/base/nsGlobalWindow.cpp
layout/base/src/nsDocument.cpp
layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.
Files:
dom/src/jsurl/nsJSProtocolHandler.cpp
webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth
Files:
layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
waterson%netscape.com
903106b34d
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
michael.lowe%bigfoot.com
3326c2959e
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
2000-01-21 21:56:09 +00:00
vidur%netscape.com
cde2e07dc6
Fix for bug 24215. Misspelled constant.
2000-01-19 01:40:48 +00:00
vidur%netscape.com
c18e98ecea
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
9679502c54
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
2000-01-18 23:35:47 +00:00
sfraser%netscape.com
2bbdd20f6c
More of fix for 14026; call through to the controller for edit menu items, now that it does the right thing. r=saari
2000-01-18 21:07:54 +00:00
sfraser%netscape.com
50b774fdf2
Fix idlc code generation with nsCOMPtr. r=vidur.
2000-01-18 01:01:27 +00:00
morse%netscape.com
ebf393028e
fix crash on e-mail startup, jar's suggested fix
2000-01-17 08:50:16 +00:00
danm%netscape.com
7870064955
let webshell window know when a window has a size specified in JS. bug 15555. r:hyatt
2000-01-15 02:32:31 +00:00
vidur%netscape.com
e0f519fdef
Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang
2000-01-15 02:26:10 +00:00
vidur%netscape.com
e6ad550a8a
Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
2000-01-15 02:02:27 +00:00
tao%netscape.com
36794ca76e
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
2000-01-15 02:01:05 +00:00
pollmann%netscape.com
51809530fe
Bug 14419 (4 of 4): Make option text read/write (glue implementation) r=harishd
2000-01-15 01:50:18 +00:00
pollmann%netscape.com
97e95d0b11
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
33e0bf4fce
Bug 14419 (2 of 4): Make option text read/write (idl) r=harishd
2000-01-15 01:45:02 +00:00
alecf%netscape.com
8d94f68ba7
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
danm%netscape.com
ca7d021c5a
explicitly skip URL load if no URL param was specified in window.open. fixes bug 20757. similar to rev 1.200 (backed out in 1.201), though something went wrong with that one. not sure what. this one tests well. patch submitted by bissiri@eecs.umich.edu. r:me
2000-01-11 22:52:04 +00:00
pp%ludusdesign.com
13efd9e8c6
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
hyatt%netscape.com
3d186ddce8
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
norris%netscape.com
18d9ee89da
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
bd00bf675b
(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
bc3cf76724
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
norris%netscape.com
336a9a916a
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
4a01d2ad5a
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
6a8920958f
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
8343c4ead7
Fix 22909 previousSibling vulnerability
...
r=mstoltz
2000-01-06 00:59:18 +00:00
norris%netscape.com
32de97c459
Work on 18860 impossible to call applet's public methods from JavaScript
2000-01-06 00:58:16 +00:00
norris%netscape.com
dab3d2f9d6
Fix error when getting property names only one character long.
...
r=vidur
2000-01-06 00:55:23 +00:00
vidur%netscape.com
ec309fcf14
Temporary fix for bug 22795. The scope link should only be broken in the brutal sharing case. Brendan to provide a better fix later. r,a=brendan
2000-01-06 00:39:18 +00:00
danm%netscape.com
f117044432
backing out 1.199, which breaks sooooo many things. oops.
2000-01-05 01:27:40 +00:00
danm%netscape.com
f0e86880bf
explicitly skip URL load if no URL param specified in window.open. fixes bug 20757. patch submitted by bissiri@eecs.umich.edu. r:me
2000-01-04 22:29:57 +00:00
vidur%netscape.com
949d52cd68
Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar
1999-12-22 22:42:06 +00:00
vidur%netscape.com
edbe1b7dad
Partial fix for bug 22413. Create generic script instances for layer and ilayer elements. a=don r=waqar
1999-12-22 22:32:41 +00:00
vidur%netscape.com
996381c8eb
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
vidur%netscape.com
1f28ba5582
added files: mozilla/dom/src/html/nsJSHTMLFormControlList.cpp
1999-12-22 01:48:41 +00:00
vidur%netscape.com
00c07c9b98
Fix for 20955. Fixed FMMs in window.navigator methods. a=dagley r=pollmann
1999-12-22 01:43:48 +00:00
jband%netscape.com
7d0cb0f4bb
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
tbogard%aol.net
5377e2aabe
DOMWindow List now holds on to a docshell interface rather than a webshell. Tweaked some of the finding of named frames to adhere to spec. GlobalWindowImpl now in many places talks to the webshell object as a docshell rather than the old webshell interfaces. Fixed bug #21970 . r=vidur
1999-12-17 22:25:22 +00:00
syd%netscape.com
76d39e5500
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
mscott%netscape.com
c10aa4f6c1
fix antother webshell leak. Add a CleanUp method to the global window. When the global window is told it is closing,
...
call the CleanUp method to force it to release all of it's state.
r=vidur, a=chofmann
1999-12-17 00:50:17 +00:00
waterson%netscape.com
be62782e91
Bug 21668. Ugh. Totally botched my patch application. Let's try that again.
1999-12-17 00:26:08 +00:00
waterson%netscape.com
1697d59bff
Bug 21668. Use Linss-ptr (or nsCOMPtr) to avoid leaking nativeThis. (Unfortunately, I also picked up some whitespace diffs from previously un-regenerated files. Ignore that!) r=shaver
1999-12-17 00:15:51 +00:00
waterson%netscape.com
03a15dfd82
Bug 21668. Use nsCOMPtr (or Linss-ptr) to get the nativeThis. r=shaver
1999-12-17 00:11:03 +00:00
waterson%netscape.com
9fd346a651
Bug 21364. Break parent and proto pointers after compiling shared event handler. shaver mostly did this. r=brendan. Also, fix extra addref of global object, thanks mscott!
1999-12-17 00:08:28 +00:00
mjudge%netscape.com
5e4c07ae7d
adding in lineup/down code
1999-12-15 03:59:38 +00:00
danm%netscape.com
7504c685f2
check for null context in CheckTimeout. add another deathgrip in HandleDOMEvent. part of fix for bug 19302. r:hyatt a:chofmann
1999-12-15 02:14:53 +00:00
vidur%netscape.com
3d22ed7e09
Backing out because of bogus checkin comment
1999-12-15 00:28:32 +00:00
vidur%netscape.com
7bec6370c1
Fix for bug 21368. navigator.plugins methods were returning an error code if the plugin wasn't found instead of returning null. a=jar R=pollmann.
1999-12-15 00:25:00 +00:00
vidur%netscape.com
12e50bccc1
Fix for bug 21368. navigator.plugins methods were returning an error code if the plugin wasn'
1999-12-15 00:24:24 +00:00
vidur%netscape.com
cc028b878d
Fix for bug 10644. In cases where we expect boolean attributes, accept anything that can be converted to a boolean. a=jar r=pollmann.
1999-12-15 00:24:02 +00:00
syd%netscape.com
02e36a6d94
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
vidur%netscape.com
1b616e7c2d
Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann.
1999-12-14 23:32:26 +00:00
danm%netscape.com
51e7acaff7
deathgrip chrome event handler in HandleDOMEvent. partial fix for bug 21397. r:hyatt a:chofmann
1999-12-14 02:28:16 +00:00
mjudge%netscape.com
3a180384c3
forgot newline at end of file. causing warning
1999-12-14 01:41:27 +00:00
mjudge%netscape.com
0a95ad1e14
2 files mcluskey reviewed, saari also. fix for keybindings pageup/down. ya
1999-12-14 01:38:17 +00:00
akkana%netscape.com
c4db584578
Fixing build bustage on Linux
1999-12-14 00:55:37 +00:00
davidm%netscape.com
c70ce7fd5a
#ifdef out code for controller. Checkin to unblock mjudge and other
r= mjudge
1999-12-13 23:13:33 +00:00
jdunn%netscape.com
2cf2fda629
nsCOMPtr is supposed to wrap interface references and not class references
...
r= chofmann@netscape.com danm@netscape.com
# 20193
1999-12-09 21:44:16 +00:00
hyatt%netscape.com
2f25a4ed69
Modifications to support the command dispatcher. r=saari
1999-12-08 04:58:05 +00:00
hyatt%netscape.com
540fd03206
Massive rewrite of the key binding system and the command dispatcher. Key
...
bindings are now fully hierarchical. In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file. This
allows configurable key bindings.
Massive rewrite of the command dispatcher system. The command dispatcher now
deals with DOM windows in addition to DOM elements. It now tracks both
successfully and works in conjunction with the new focus/blur architecture.
r=saari
1999-12-08 04:56:56 +00:00
vidur%netscape.com
1eb3d4e793
Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
1999-12-08 03:52:01 +00:00
brendan%mozilla.org
c939085774
- Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
...
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work).
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners.
- Improve doc comments and whitespace.
1999-12-07 22:14:17 +00:00
danm%netscape.com
63db80c4cc
add deathgrip to JSContext to prevent its untimely destruction. fixes bug 20193. r:brendan@mozilla.org
1999-12-07 02:39:17 +00:00
ftang%netscape.com
723af171cd
add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
1999-12-07 01:29:00 +00:00
waterson%netscape.com
25862b3ec9
Bug 20785. Clone function object to define as event handler property. Checked in for brendan@mozilla.org
1999-12-06 08:27:03 +00:00
waterson%netscape.com
72e0d22417
Bug 20786. Use function object, rather than function, as the thing which is executed, ensuring that the correct bindings are used when the function is shared across several contexts. This checkin is really brendan@mozilla.org; I'm just landing the code.
1999-12-05 07:29:25 +00:00
warren%netscape.com
bf4ef9672f
Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
1999-12-04 10:01:32 +00:00
vidur%netscape.com
7cbc73af50
Changed IID to remove conflict in IIDs.h
1999-12-04 01:29:54 +00:00
tbogard%aol.net
f40a3d1f06
Fixing the mail bustage. Was accidently using the internal object instead of the one passed in.
1999-12-03 21:41:35 +00:00
tbogard%aol.net
4df561d398
Fixed the merge.
1999-12-03 21:13:50 +00:00
tbogard%aol.net
2afc29ceda
Flipped the if. Was not continuing on success.
1999-12-03 21:11:30 +00:00
waterson%netscape.com
11ed52d42d
Use more mundane macros to fix backwards logic.
1999-12-03 21:08:56 +00:00
tbogard%aol.net
6f0131f7df
Fixed a bug where the first time to try and get the location object was failing.
1999-12-03 19:41:22 +00:00
tbogard%aol.net
c381b18ecd
Fixes to get rid of relying on webShell implementing nsIScriptContextOwner. It now implements nsIScriptGlobalObjectOwner or can do a GetInterface to nsIScriptGlobalObject.
1999-12-03 19:02:31 +00:00
tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
2563e3588d
Mac doesn't have ctype.h, or something.
1999-12-03 06:11:54 +00:00
brendan%mozilla.org
f3855ca6b0
- Doc-comments for nsIScriptContext methods I added or modified.
...
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
(bug 13218, r=waterson@netscape.com ,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com
f0789172d2
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
f19259af3e
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
ca89dc75d3
Adding nsIScriptGlobalObjectOwner.idl to the manifest.
1999-12-02 06:18:32 +00:00
tbogard%aol.net
600371864f
added files: mozilla/dom/public/nsIScriptGlobalObjectOwner.idl
1999-12-02 06:17:29 +00:00
tbogard%aol.net
abcaa9eac8
Connecting nsIScriptGlobalObjectOwner.idl to be compiled. Not yet used anywhere.
1999-12-02 06:16:08 +00:00
tbogard%aol.net
09447ba051
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
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
vidur%netscape.com
0e4411d67e
Added error string for NS_ERROR_DOM_RETVAL_UNDEFINED since Nisheeth forgot to do it. R=pollmann.
1999-11-12 02:09:32 +00:00
vidur%netscape.com
d2808ba000
Added comment to remind people modifying nsDOMError.h to also add an error string.
1999-11-12 02:08:45 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
joki%netscape.com
bd3ab57a91
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
1999-11-05 23:37:40 +00:00
nisheeth%netscape.com
c4b152d3ea
r=norris,warren,radha. a=chofmann. Fix for 1646. Javascript: urls return NS_ERROR_DOM_RETVAL_UNDEFINED when the javascript: url evaluates into an undefined value. This error is propagated back up to nsWebShell::DoLoadURL().
1999-11-04 22:02:19 +00:00
joki%netscape.com
bb9f99b9ed
Fixing dom event key set errors. bug 17887, a:chofmann
1999-11-03 20:53:13 +00:00
joki%netscape.com
1e6e741087
Reverting key set to previous version. Fixes 17887. a:chofmann r:brade.
1999-11-03 20:40:35 +00:00
joki%netscape.com
4ea6b39321
added files: mozilla/dom/src/events/nsJSKeyEvent.cpp
1999-11-03 07:12:13 +00:00
joki%netscape.com
d5c05ea133
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
warren%netscape.com
813f9f7c13
Structural changes for MakeAbsolute performance. bug#10736 r=valeski
1999-11-03 05:13:44 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org
9354e1a54e
Gross workaround for VC5 bug.
1999-10-31 03:04:02 +00:00
brendan%mozilla.org
fe51b61664
(13163, r=alecf, scc, waterson, others; names available on request)
...
- Fix most of bug 13163 (see TODO for rest). This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks.
- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp. These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that.
- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString. Also changed various nsresult vars to be named rv. Also restored brace/style conformity to nsJSProtocolHandler.cpp.
- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject.
- Lots of nsCOMPtr uses added. I'm using one for mNameSpaceManager. Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak). These two managers should be moved to the window object -- TODO item below.
- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver.
- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated. This meant factoring nsJSUtils.cpp code.
- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace.
- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
dougt%netscape.com
dda537c7c1
adding license.
1999-10-29 01:10:00 +00:00
ftang%netscape.com
79161b6191
fix bustage.
1999-10-28 22:38:58 +00:00