Commit Graph

198 Commits

Author SHA1 Message Date
dbaron%dbaron.org
0f19ff6169 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 03:41:01 +00:00
bzbarsky%mit.edu
76a68559b5 Diverting window.open into a tab doesn't stop the about:blank load before
returning the new window. Bug 348272, r=bsmedberg, sr=jst, a=beltzner


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207395 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 00:06:30 +00:00
bryner%brianryner.com
981b646cf8 Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. Patch by marria@gmail.com, r=cbiesinger, sr=bzbarsky, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206839 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:51:55 +00:00
bzbarsky%mit.edu
4993a3c757 Don't set the dependent bit on windows not being opened at chrome, even if it's
in the features. Bug 344257, r=bsmedberg, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203312 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 23:50:32 +00:00
jst%mozilla.jstenback.com
de57879100 Fixing bug 334891. Ignore close calls on windows that have a modal dialog parented at them. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu, a=dbaron@mozilla.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202108 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 01:19:33 +00:00
marria%gmail.com
6da521e535 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin, branch approval=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201704 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 20:30:09 +00:00
darin%meer.net
3e5fed6645 fixes bug 313101 "HTTP auth dialog is titled 'Prompt'" patch by gavin sharp and darin, r+a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200547 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 00:21:16 +00:00
bzbarsky%mit.edu
456c8f2cd6 Keep track of the original window opener (or rather whether one was present)
even if window.open calls target the window. Bug 266371 and bug 212298,
r=bsmedberg, sr=jst, branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196544 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:35:11 +00:00
gerv%gerv.net
f08fd5a3dd Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193307 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:15:13 +00:00
mrbkap%gmail.com
0c45264173 Hold a strong reference to our context if we're using a script context from a window, since the window could navigate away before we're done with the context. bug 310508, r=jst sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191336 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 20:55:34 +00:00
mark%moxienet.com
cbc62d91b7 190307 nsINonBlockingAlertService.idl is not frozen, moving out of SDK_XPIDLSRCS
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190985 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 04:04:44 +00:00
mark%moxienet.com
69c3535f9a 190307 Add MathML support to Camino, adding a non-blocking alert service to handle MathML's missing-font dialog. Patch by Makoto Yamashita <makotoy@ms.u-tokyo.ac.jp>, fixed up for CaminoStatic by me. r=smfr sr=pink a/1.8=rbs a/1.8.0=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190923 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 23:31:52 +00:00
mark%moxienet.com
b079e2ec39 190307 Add MathML support to Camino, adding a non-blocking alert service to handle MathML's missing-font dialog. Patch by Makoto Yamashita <makotoy@ms.u-tokyo.ac.jp>, fixed up for CaminoStatic by me. r=smfr sr=pink a/1.8=rbs a/1.8.0=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190922 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 23:15:26 +00:00
bryner%brianryner.com
bceab5b400 Dispatch a notification that a newly-opened window has been initialized (bug 326784). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189997 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 21:25:24 +00:00
bzbarsky%mit.edu
56cd4b5122 Make nsIWindowProvider report whether it created a new window. Bug 326006,
r=bsmedberg, sr=jst, branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189932 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 05:35:41 +00:00
bzbarsky%mit.edu
685f9740d8 Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing. Bug 323810, r=bsmedberg, sr=jst, branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189931 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 05:28:33 +00:00
roc+%cs.cmu.edu
d1648cec2e Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182433 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:47:31 +00:00
bzbarsky%mit.edu
79f44af421 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182121 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 20:19:49 +00:00
mrbkap%gmail.com
108d77ceaa Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap, patch by bzbarsky, r=mrbkap, sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181184 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 23:03:08 +00:00
bzbarsky%mit.edu
53726abd0f Throw if window.open is called on a window that has no chrome. Bug 306804,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180084 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 01:27:37 +00:00
roc+%cs.cmu.edu
3ccd8d696b 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/branches/MOZILLA_1_8_BRANCH@177889 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:03:12 +00:00
bzbarsky%mit.edu
2d7f2d7ca1 Removing unused code. Bug 303102, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177742 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 02:50:31 +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