39 Commits

Author SHA1 Message Date
jst%mozilla.org
4abaf2e122 Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:30:30 +00:00
silver%warwickcompsoc.co.uk
f5ff685a56 Partial backout of bug 341919 to fix bustage caused by DOM_AGNOSTIC3_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@200855 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 11:11:57 +00:00
silver%warwickcompsoc.co.uk
bc82662e97 Bug 341919 - Remove widget dependency from JSD. r=rginda sr=jst
git-svn-id: svn://10.0.0.236/trunk@200854 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 10:36:28 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
a29f4399fa Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@182120 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 20:16:35 +00:00
bzbarsky%mit.edu
1517e962f4 Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@181102 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 02:44:16 +00:00
mrbkap%gmail.com
1990895d08 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
jst%mozilla.jstenback.com
d13d172f7d Fixing comments.
git-svn-id: svn://10.0.0.236/trunk@153454 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 04:01:33 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%netscape.com
ce2c73b7b7 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@124818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:49:58 +00:00
jst%netscape.com
d9eff4d98e Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:48:31 +00:00
jst%netscape.com
818ffd7c28 Fixing part of bug 111213. Make nsIScriptContext::SetScriptsEnabled() 'restart' scripts if they were turned off earlier in this context (print preview relies on this). r=jkeiser@iname.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108994 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 09:18:28 +00:00
mstoltz%netscape.com
44c4e93b04 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:54:44 +00:00
gerv%gerv.net
612ee840db License changes, take 2. Bug 98089. mozilla/dom/.
git-svn-id: svn://10.0.0.236/trunk@103755 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:43:09 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +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
tbogard%aol.net
c416db8338 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
arielb%netscape.com
ad40dbfcd5 includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.


git-svn-id: svn://10.0.0.236/trunk@43798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:51:02 +00:00
scc%netscape.com
9ea8cebe57 Added |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:28:56 +00:00
danm%netscape.com
814056a0e4 added window.openDialog. a:brendan
git-svn-id: svn://10.0.0.236/trunk@31568 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:10:51 +00:00
rods%netscape.com
8ba2c2c961 Added GetWebShell
git-svn-id: svn://10.0.0.236/trunk@20254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:25:49 +00:00
joki%netscape.com
968d59a50f Adding window.opener, window.focus, window.blur, event.cancelBubble, and modifying window.open
git-svn-id: svn://10.0.0.236/trunk@9187 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:19:58 +00:00
joki%netscape.com
e562c4ba4b Adding window.open method, fixing editormode in release builds, various event fixes
git-svn-id: svn://10.0.0.236/trunk@7528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:45:03 +00:00
joki%netscape.com
ff52657708 Hooking up the 'window' object into the event chain.
git-svn-id: svn://10.0.0.236/trunk@6375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:05:42 +00:00
vidur
1b41003b82 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in.
git-svn-id: svn://10.0.0.236/trunk@5501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:44:44 +00:00
vidur
140a853e4f Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4313 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:06 +00:00