129 Commits

Author SHA1 Message Date
danm%netscape.com
321da8a95e active window must be a top-level docshell. bug 170693. r=blizzard,bryner
git-svn-id: svn://10.0.0.236/trunk@144446 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 21:13:01 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
jst%netscape.com
ecae24eff4 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
brendan%mozilla.org
675a66ff54 Don't include private js header files; fix gcc warnings.
git-svn-id: svn://10.0.0.236/trunk@143958 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:18:51 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
danm%netscape.com
30cbe64cc1 don't name windows using reserved target names. bug 208862 r=jag,jst,mscott
git-svn-id: svn://10.0.0.236/trunk@143628 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 07:08:12 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
danm%netscape.com
4c983992d6 add url of window to be opened to nsIWindowCreator2::CreateChromeWindow2. bug 195992 r=adamlock,blizzard
git-svn-id: svn://10.0.0.236/trunk@140857 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:47:18 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
pkw%us.ibm.com
341a50559d Bug 133754 - nsWindowWatcher.cpp uses AssignWithConversion. This causes
some translated builds to not work correctly when the "Reset Master
Password" button is clicked.
r=smontagu@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@135992 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:32:29 +00:00
danm%netscape.com
e781555233 prevent untrusted script from opening modal windows in general while still allowing alerts and the like. bug 180048 r=jst,mstoltz
git-svn-id: svn://10.0.0.236/trunk@134158 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 03:25:08 +00:00
danm%netscape.com
3950784443 hook up _parent target in window.open. it wasn't. bug 168807 code=keeda@hotpop.com r=jkeiser,jst,me
git-svn-id: svn://10.0.0.236/trunk@133669 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:05:17 +00:00
danm%netscape.com
f832d33f47 reinstating earlier version; Txul regression in hand. long live bug 166442 r=jag,jst,et al. still applies
git-svn-id: svn://10.0.0.236/trunk@129624 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 19:44:29 +00:00
danm%netscape.com
0a1e6ed72f bloody hell. backing out the rest of popup manager because of a suspected Txul regression. bug 167929
git-svn-id: svn://10.0.0.236/trunk@129293 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 02:42:44 +00:00
danm%netscape.com
030a5feee6 update popup window abuse check. bug 166442 r=jag,jst,timeles
git-svn-id: svn://10.0.0.236/trunk@129210 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:24:48 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
ccarlen%netscape.com
86b83ddabc Bug 160212 - Embedding window creators need flag to distinguish unrequested popups from other windows. r=pink/sr=jst/a=rjesup
git-svn-id: svn://10.0.0.236/trunk@126234 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 14:51:24 +00:00
bzbarsky%mit.edu
a34757fbf8 Add a nullcheck for the parentDocshell, since the parent window might
get closed out from under us.  Bug 160590, r=sicking, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126194 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 23:44:40 +00:00
hwaara%chello.se
38157b25b7 #125887, fix some cases where whitespace would make window.open() and openDialog() to not work.
r=jkeiser, sr=bzbarsky, a=brendan


git-svn-id: svn://10.0.0.236/trunk@125553 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 18:12:38 +00:00
shanjian%netscape.com
17e9bee4ca #70507 New Windows opened via Javascript do not inherit their parent's character set
pass default charset from parent window to new window.
r=jag, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@124785 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:14:48 +00:00
caillon%returnzero.com
b4ae1be072 Bug 107949, Allow the user to prevent sites from disabling window features via window.open(). r=danm, sr=jag
git-svn-id: svn://10.0.0.236/trunk@122707 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 22:24:00 +00:00
mscott%netscape.com
a82f957980 Bug #132643 --> add a new web browser chrome flag for a popup type.
r=danm
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@117201 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:20:54 +00:00
danm%netscape.com
78ba24c2df removing unused function InitializeDocshell. bug 130944 r=jst,timeless a=asa
git-svn-id: svn://10.0.0.236/trunk@116799 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 23:33:49 +00:00
timeless%mac.com
fe2170094d Bug 123409 optimization for nsWindowWatcher::OpenWindowJS
r=adamlock sr=sfraser a=asa


git-svn-id: svn://10.0.0.236/trunk@116639 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 12:50:20 +00:00
timeless%mac.com
ecea9fa50d Bug 123409 optimization for nsWindowWatcher::OpenWindowJS
r=adamlock sr=sfraser a=asa


git-svn-id: svn://10.0.0.236/trunk@116589 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:59:56 +00:00
morse%netscape.com
1bd627dc7c bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:49:30 +00:00
cathleen%netscape.com
c93312040a eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114904 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:36:56 +00:00
danm%netscape.com
65b198cffd during window creation, fetch the referring URL from the caller's document only if the document already exists. bug 36016 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@113750 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:51:14 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
a517f0d2fa Fixing bug 93513. Make window.open() use the base uri of the caller as the base, and not the document uri of the caller. r=danm@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109343 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 07:49:32 +00:00
rjc%netscape.com
1122aea9e8 Fix bug # 112176. r=danm sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109184 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:02:24 +00:00
rpotts%netscape.com
0bb079d92b bug #110179 (r=danm@netscape.com, sr=jst@netscape.com) The domwindowopened notification should *not* be fired while the window watcher is holding onto its internal lock.
git-svn-id: svn://10.0.0.236/trunk@108615 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 20:05:52 +00:00
danm%netscape.com
7d415546b0 get rid of nsPIWindowWatcher::CreateChromeWindow (no longer necessary) and get rid of alternate docshell about:blank initialization path which fired off an actual URL load. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108233 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:12:07 +00:00
danm%netscape.com
9eb95d4aed consolidating nsIWebBrowserChrome::CreateBrowserWindow and nsIWindowCreator::CreateChromeWindow. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:19:39 +00:00
jaggernaut%netscape.com
894154f57b Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106466 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:09:28 +00:00
mstoltz%netscape.com
47226a17a2 bug 104495 - don't allow unprivileged scripts to create a window without
a close box, or to disable key shortcuts. r=danm, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@106426 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:02:49 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
rpotts%netscape.com
25794bac66 bug #90722.(r=danm@netscape.com, sr=mscott@netscape.com) Added nsIWindowWatcher::GetWindowByName(...).
git-svn-id: svn://10.0.0.236/trunk@105296 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:42:24 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
aade3081c8 License changes, take 2. Bug 98089. mozilla/embedding/.
git-svn-id: svn://10.0.0.236/trunk@103758 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:58:40 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
danm%netscape.com
c2fbecce04 now _blank windows without a parent will actually open in a new window. wow. bugs like that shouldn't still exist. bug 98785 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@102558 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 23:24:34 +00:00
danm%netscape.com
bda3afbc6a ignore width or height of 0 (as in 'width=') when opening windows. bug 67947 r=hyatt,joki
git-svn-id: svn://10.0.0.236/trunk@102222 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:14:31 +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