179 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
2e0a876085 Throw if window.open is called on a window that has no chrome. Bug 306804, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@179949 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 04:16:59 +00:00
roc+%cs.cmu.edu
57bffe2488 Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa
git-svn-id: svn://10.0.0.236/trunk@177889 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:03:12 +00:00
bzbarsky%mit.edu
45924dadca Removing unused code. Bug 303102, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@177741 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:49:22 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +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
jst%mozilla.jstenback.com
454862af81 Fixing bug 295093. Check the window chrome flags when opening a new window before pushing the callee context onto the context stack. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=dveditz@curzio.com
git-svn-id: svn://10.0.0.236/trunk@174962 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:42:08 +00:00
jst%mozilla.jstenback.com
e9863e3952 Fixing bug 296850. Unregress frame injection bug 246448. r=bzbarsky@mit.edu, sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174259 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 23:34:22 +00:00
mconnor%steelgryphon.com
888756dba6 land windowwatcher portions of jst's fix for bug 289949, r+sr+a=brendan
git-svn-id: svn://10.0.0.236/trunk@172577 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:21:11 +00:00
bryner%brianryner.com
d73c7fa274 Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@170483 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 00:39:28 +00:00
jst%mozilla.jstenback.com
caebf07943 Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@170437 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 14:31:02 +00:00
bzbarsky%mit.edu
d1350f8017 Add the prompt-service contract to nsEmbedCID.h
git-svn-id: svn://10.0.0.236/trunk@170283 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 16:07:11 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
baca2afa60 Fix nsWindowWatcher::FindItemWithName to pass in the right requestor; expose it
on nsPIWindowWatcher and use it from nsDocShellTreeOwner.  Bug 282296, r=danm,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@170137 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 17:26:34 +00:00
jst%mozilla.jstenback.com
8c0a4e56f8 Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@169699 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:31:37 +00:00
pedemont%us.ibm.com
20b65d2019 Bug 256911 - Implement weakref support for SetWebBrowserChrome. r=darin, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@168822 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 23:32:32 +00:00
jst%mozilla.jstenback.com
a15240a6ab Fixing bug 103638 (and bug 273699). Targets with same name in different windows open in the wrong window. Patch by bzbarsky@mit.edu and myself, r=danm.moz@gmail.com, bzbarsky@mit.edu, sr=dveditz@cruzio.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@167537 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 19:36:40 +00:00
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
darin%meer.net
853f4fc94e freezing nsIPromptService, bug 99615, r=timeless sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165404 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 20:36:26 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
1eceb876b2 Try to keep window.arguments from being wiped out by scope-clearing by setting
the document in the window to null before setting window.arguments in
AttachArguments.  Bug 25040, r=danm, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163138 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 16:11:57 +00:00
peterv%propagandism.org
01e29b99dc Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162447 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 12:39:49 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
c5b5d65fd6 Fixing bug 235457. Making it possible to open a window from chrome as if it was opened from untrusted script. r=danm-moz@comcast.net, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@157535 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-07 21:50:25 +00:00
dveditz%cruzio.com
701ccb5c8d bug 162020 option to delay enabling confirmation buttons r=mkaply,sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@157430 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 09:26:01 +00:00
bsmedberg%covad.net
f391570c80 Bug 244965 - untrusted web content can use the "chrome" flag to window.open() r=danm sr=jst
git-svn-id: svn://10.0.0.236/trunk@157305 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 12:36:51 +00:00
mkaply%us.ibm.com
365db455e3 #239580
r=danm, sr=dveditz
Extend ConfirmEx to allow setting the default button - change default button for script security to no


git-svn-id: svn://10.0.0.236/trunk@156844 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 13:33:51 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
danm-moz%comcast.net
bdde9f0ee0 rewrite of new window sizing and placement. bug 239876. also addresses bugs 118717,176342,183633,240381. r=jag sr=blizzard (previous version of patch)
git-svn-id: svn://10.0.0.236/trunk@155591 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 17:34:13 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +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%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
timeless%mozdev.org
0525487b9c Bug 191408 Change security policy check in nsWindowWatcher::OpenWindowJS so that xpcshell can use the prompt service
patch by danm r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@147024 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 14:32:06 +00:00
locka%iol.ie
d07bc3aee5 Set check value in ConfirmCheck even if cancel is pressed. b=218021 r=adamlock sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146992 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 17:51:33 +00:00
bryner%brianryner.com
101a9e4e72 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
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
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +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
bzbarsky%mit.edu
f037bb02c1 Make some strings in prompt service char arrays instead of pointers to move
them to readonly data.  Bug 201355, patch by ataylor@its.to (Andrew Taylor),
r=adamlock, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@141052 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 03:17:15 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +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
dougt%netscape.com
fdffcd9198 removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00