66 Commits

Author SHA1 Message Date
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
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
danm%netscape.com
d88daa61cb remove compiler warning
git-svn-id: svn://10.0.0.236/trunk@97521 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 01:29:21 +00:00
danm%netscape.com
75ae6ec06b URL loading security check moved from WindowWatcher to GlobalWindow. base URL calculation also reset to preferentially use the caller's context over the parent window's. bug 59748 r=hyatt,jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97520 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 01:25:09 +00:00
danm%netscape.com
0740dd460d OpenWindow 'gracefully' handles disconnected parent windows. bug 78504 r=dr,hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@96988 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:05:17 +00:00
mstoltz%netscape.com
c0d9b31b40 Re-checking-in workaround fix for 79775 - don't call GetSubjectPrincipal for chrome URLs, as this sometimes causes a failure and is not necessary for chrome URLs anyway. Fixed a crasher by moving the initialization of LoadInfo out of the if block. r=vidur, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95494 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:40:52 +00:00
blizzard%redhat.com
b684f8fcbc Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775.
git-svn-id: svn://10.0.0.236/trunk@95401 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 17:41:23 +00:00
mstoltz%netscape.com
55577f536b Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@95378 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:56:29 +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
danm%netscape.com
04b51a8a51 just changing the name of internal classes nsWindowEnumerator (and WindowInfo). the old name was causing problems with the static build and noisy leak logs. bug 46775 r=hyatt,jband
git-svn-id: svn://10.0.0.236/trunk@93679 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:16:10 +00:00
blizzard%redhat.com
11b3cc08d3 Part of bug #75745. Get modal dialogs from the window watcher service working on linux. r=ccarlen, sr=tor
git-svn-id: svn://10.0.0.236/trunk@93610 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 02:49:07 +00:00
danm%netscape.com
de9fcdd499 hooking up windowwatcher active window. bug 44809,76011 r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@92425 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:35:46 +00:00
ccarlen%netscape.com
d0cf8c7fff Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91893 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 18:30:25 +00:00