dbaron%fas.harvard.edu
bc313ef62a
Only clear the status when setting a new document, not when clearing the old document, because clearing the old document depends on when the document viewer's destructor is called (and it could be called from within JS GC). (And fix a build warning too.) r=disttsc@bart.nl sr=brendan@mozilla.org b=61840
...
git-svn-id: svn://10.0.0.236/trunk@83223 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-03 01:21:54 +00:00
pinkerton%netscape.com
0e07df9a54
Refactor some of the window key handler and add drag and drop handlers to the window root. Also move the html bindings (and platform bindings) to res, removing the chome dependency. a=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@83032 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:01:33 +00:00
hyatt%netscape.com
132d0db472
Patch for 55595. r=joki, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@82895 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 07:55:20 +00:00
danm%netscape.com
723b66ed02
force windows based on modal windows to themselves be modal. bug 56677 r=brendan,hyatt
...
git-svn-id: svn://10.0.0.236/trunk@82449 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:18:38 +00:00
hyatt%netscape.com
61b754fcae
Fix for 54203. r=saari, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@82310 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:21:20 +00:00
cls%seawood.org
aea7c54243
Declare local variables as static to avoid conflicts with variables of the same name in other modules. Fixes Irix AliveTest bustage. r=javi
...
git-svn-id: svn://10.0.0.236/trunk@82134 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 06:01:54 +00:00
locka%iol.ie
6b15cffdba
Fix for crash when closing main window while print dialog is open (checked in for Frank Tang). b=35896, sr=vidur, r=adamlock
...
git-svn-id: svn://10.0.0.236/trunk@82071 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:47:11 +00:00
javi%netscape.com
da4983de9e
Fix for Bug #57985 r=hyatt,ddrinan a=hyat
...
Have HandleDOMEvent gather some information about mouse left button
down events and pass it on to the entropy collector.
git-svn-id: svn://10.0.0.236/trunk@82064 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:33:34 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mstoltz%netscape.com
9f6c7e98d5
Bug 56851, regression in XPInstall dialog. r=jst, sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@81482 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:21:57 +00:00
danm%netscape.com
52233cf85c
drop timeouts without a JS context by using the runtime. bug 50705 r=brendan,jst
...
git-svn-id: svn://10.0.0.236/trunk@81241 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 23:23:12 +00:00
danm%netscape.com
96aa925b06
don't set status in SetNewDocument if window is partially destroyed. bug 49615 r=jst,waterson
...
git-svn-id: svn://10.0.0.236/trunk@80529 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:26:18 +00:00
heikki%netscape.com
93c8ede43a
Bug 51211. Image load event caused havoc in chrome, stop the event from getting into chrome. r=vidur, a=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@80484 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:40:13 +00:00
locka%iol.ie
437fcbc26d
Fixes window.title property so that the frame window's titlebar is changed when the property changes. b=50682, r=mscott, a=mscott
...
git-svn-id: svn://10.0.0.236/trunk@80259 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 13:35:30 +00:00
jst%netscape.com
b45fd7a390
Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc
...
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
hyatt%netscape.com
bd7730ac60
48758. r=ben,saari, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@79847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:31:36 +00:00
hyatt%netscape.com
0e0805138e
48758. r=ben,saari, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@79836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:02:20 +00:00
dveditz%netscape.com
4d29994735
bug 47080 change value of navigator.platform for backward compatibility, r=sgehani,a=scc
...
git-svn-id: svn://10.0.0.236/trunk@79834 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:52:22 +00:00
mstoltz%netscape.com
676f6215b3
Fixing 52497, security problem in document.implementation, r=jst a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@79671 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:38:28 +00:00
locka%iol.ie
b3b9b2c9a7
Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
...
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:23:53 +00:00
jst%netscape.com
75e09ddb65
Fixing nsbeta3+ bug 50393. Make frameset windows request the principal form their parent if there's no document object in the frameset nor a cached principal, this can happen with <frame src='javascript:...'> frames. r/a=vidur, r=mstoltz.
...
git-svn-id: svn://10.0.0.236/trunk@79516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:21:00 +00:00
saari%netscape.com
00c4bfcb32
fixing focus bugs for 53017. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@79506 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:14:31 +00:00
sean%beatnik.com
bd8880ddb6
fix for bug 50990 r=jst a=brendan prevent timeout list insertion pointer from being null
...
git-svn-id: svn://10.0.0.236/trunk@79351 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:22:03 +00:00
joki%netscape.com
0bc23fe2f3
Fix bug 47022 by fixing typo in mousemove listener registration. r: jst
...
git-svn-id: svn://10.0.0.236/trunk@79262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:51 +00:00
mjudge%netscape.com
2fc6190bef
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
...
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jst%netscape.com
7adb227f26
Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@79088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:18:09 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
locka%iol.ie
54d214147e
Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@79017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 13:06:07 +00:00
scc%mozilla.org
7ebc69efce
if you want a pointer to the characters, you're going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@78962 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:24:57 +00:00
hyatt%netscape.com
1427b769b3
Binding detached. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@78502 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:59:14 +00:00
jst%netscape.com
9c3c6165f2
Fixing regression wrt setting window.location='xxx'. r=rpotts&vidur
...
git-svn-id: svn://10.0.0.236/trunk@78483 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:21:29 +00:00
heikki%netscape.com
fe1232e006
Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki.
...
git-svn-id: svn://10.0.0.236/trunk@78418 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:37:01 +00:00
hyatt%netscape.com
cce7e6105d
Adding originalTarget to Event object. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@78316 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:07:29 +00:00
locka%iol.ie
590c8ec194
Attach nsGlobalWindow's title property to the primary content document's title property. b=41984, r=jst
...
git-svn-id: svn://10.0.0.236/trunk@77879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:31:21 +00:00
vidur%netscape.com
b10d4adc57
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
mstoltz%netscape.com
fc5da7534f
Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@77748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:53:32 +00:00
danm%netscape.com
84b08eede7
check for null context before clearing JS watchpoints. bug 49615. patch from afranke@ags.uni-sb.de. r=brendan, me a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@77726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:10:52 +00:00
rginda%netscape.com
c6b80f4c1a
adding nsIDOMWindowEventOwner to GlobalWindow.
...
r=vidur
git-svn-id: svn://10.0.0.236/trunk@77509 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:45:47 +00:00
jst%netscape.com
e4cf4ee717
Fixing nsbeta3+ bug 31997. Make the global window reset the status and default status for the window when the document changes. r=nisheeth@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77440 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:04:44 +00:00
vidur%netscape.com
cabe6c06b8
Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:14:23 +00:00
danm%netscape.com
522444d49a
hand mScriptObject off to the JSContext when tearing down the window so it can be unrooted for GC purposes a little later, after the JS glue has had a chance to retrieve it. bug 43466 r=brendan,jst,vidur
...
git-svn-id: svn://10.0.0.236/trunk@77318 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:35:50 +00:00
locka%iol.ie
09805179ae
API changes for embedding. b=46847, r=dougt, a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
brendan%mozilla.org
28e78190b3
Teach the DOM to use lazy JS class initialization (46703, r=jst@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@76853 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 03:51:17 +00:00
scc%mozilla.org
e26ccffd2e
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76722 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:38:38 +00:00
danm%netscape.com
e2a01acf37
adding handling for _top targets, which strangely seemed to just be missing. bug 32342 r=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@76389 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:16:11 +00:00
danm%netscape.com
a7f044e069
treat width/height=* features to mean size of parent window. compatibility with Nav 4. bug 30394.
...
git-svn-id: svn://10.0.0.236/trunk@76349 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 20:01:20 +00:00
jst%netscape.com
c69109493c
Backing out changes that should've been checked onto a branch. Sorry about that.
...
git-svn-id: svn://10.0.0.236/trunk@76159 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:10:35 +00:00
jst%netscape.com
82c4f10195
DOM API string changes...
...
git-svn-id: svn://10.0.0.236/trunk@76150 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:41:59 +00:00