333 Commits

Author SHA1 Message Date
mstoltz%netscape.com
b02c6f5516 Better fix for JS URL/session history exploit 88167 - JS URLs in session
history have no access to the current page. Other forms of loading (bookmarks,
URL bar, links) remain as they were. r=jesse, sr=jst.
2001-07-03 05:27:22 +00:00
radha%netscape.com
cfa09a4678 Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets 2001-07-03 00:00:12 +00:00
mstoltz%netscape.com
1c50a2a718 Bug 88167 - javascript URLs should never inherit the system principal or a
signed/privileged principal. r=bbaetz, sr=jst.
2001-07-02 06:39:29 +00:00
jaggernaut%netscape.com
5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
yokoyama%netscape.com
85371e742c Bug 82244
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
dbaron%fas.harvard.edu
9cfe266dc4 Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|. 2001-06-29 18:28:39 +00:00
bryner%uiuc.edu
89a8648447 Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
jaggernaut%netscape.com
0ba2fa56e3 Bug 83394: Tabindex attribute not working properly in mfcembed app''.
Fixes problems with tabbing from the document to elements with the index attribute set in both mfcembed and the regular browser app.

patch by bryner, r=jag, sr=hyatt, a=chofmann
2001-06-22 07:25:28 +00:00
ftang%netscape.com
6e691349fd check in for rpotts bug#82244
when we do meta charset reload, load it from cache by using the same load flag history using.
author=rpotts r=radha/adamlock sr=vidur a=chofmann
2001-06-22 00:54:27 +00:00
peterlubczynski%netscape.com
e951282fd6 More ^M bustage 2001-06-21 02:07:25 +00:00
peterlubczynski%netscape.com
8bdfa059a9 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman 2001-06-21 01:04:29 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 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 2001-06-20 03:27:48 +00:00
bryner%uiuc.edu
f6f70d2ed8 Bug 70484 - browser window would go keydead when clicking a link inside a FRAME which loaded a new document into the top-level content area. r=saari, sr=hyatt, a=asa. 2001-06-19 23:31:25 +00:00
bryner%uiuc.edu
b31514c245 Bug 77913 - tab focus not cycling around in dialogs. r=jag, sr=jst, a=blizzard. 2001-06-19 05:35:24 +00:00
blizzard%redhat.com
9fcc01a00a Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa 2001-06-14 17:42:16 +00:00
saari%netscape.com
5e97e47284 fix for 84560, intially focused url bar key bindings are broken. a=blizzard, r=jag, sr=hyatt 2001-06-14 03:49:07 +00:00
jaggernaut%netscape.com
a2ef1b7f0d Bug 77307: ``%27 codes after url redirection'', r=rpotts, sr=shaver, a=asa@mozilla.org
Bug 79582: ``content refresh with non-digit chars before ; not parsed "correctly"'', r=rpotts, sr=ben, a=asa@mozilla.org
2001-06-11 22:05:59 +00:00
dougt%netscape.com
e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
mstoltz%netscape.com
d6e2839371 bug 77485 - exploit inserting a function into another window using targeted
javascript URL links. Two-part fix: moving the call to GetCurrentDocumentOwner
in nsDocShell::LoadInternal to before the target docshell is called, and
changing nsScriptSecurityManager::GetFunctionObjectPrincipal to only get
the principal from the function object's scope chain if the function object's
principal is the system principal. r=jst, sr=vidur, a=asa.
2001-05-30 02:22:22 +00:00
saari%netscape.com
0b11af5980 fix for 82710, r=me, sr=hyatt, a=mcafee (blocker) make sure we set the focused element to null after the viewer is totoally torn down, and after we've suppressed focus 2001-05-29 23:26:50 +00:00
radha%netscape.com
553a99a133 Fix for bug # 82236. r=valeski sr=alecf a=blizzard(drivers@mozilla.org) 2001-05-29 22:45:57 +00:00
rpotts%netscape.com
5b394a26a3 bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly... 2001-05-29 22:10:50 +00:00
danm%netscape.com
5389a6bb30 reorganize SetFocus to be less likely to bail early on errors; more likely to default to focusing the whole window. and strip the extraneous braces rods added to my previous fix for this bug :) bug 50881 gets slapped down one more time. r=bryner,hyatt a=asa 2001-05-25 21:15:46 +00:00
roc+%cs.cmu.edu
8865fc53de Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
nisheeth%netscape.com
73edd4ea66 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
hwaara%chello.se
c0eb6ccbfc Fix smoketest blocker. bug 82141. r=saari, sr=hyatt 2001-05-25 00:53:47 +00:00
rods%netscape.com
2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
waterson%netscape.com
495d1e941d Bug 82073. Wallpaper over the crash until bryner can look at this. 2001-05-22 17:29:47 +00:00
simon%softel.co.il
f6ff04ed3b Remove superfluous include from nsDocShell.cpp. Bug #81179 r=fabian sr=jst 2001-05-22 08:15:37 +00:00
valeski%netscape.com
7f26ff6952 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
bryner%uiuc.edu
58e8da390f Part of bug 31809 -- Don't allow the user to tab into the sidebar if it's collapsed. r=saari, sr=hyatt. 2001-05-21 22:27:49 +00:00
rpotts%netscape.com
44626befc1 another patch for bug #65777. This one removes the intermediate window that is created for mailto:// URLs that are explicitly target to a new window... 2001-05-21 06:50:51 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
radha%netscape.com
30aeca6a33 Fix for bug 81229 r=valeski sr=rpotts 2001-05-18 21:43:29 +00:00
saari%netscape.com
37c7727d4e fix for bug 78427, r=dr, sr=hyatt. Fix for focus getting lost when clicking on a link from a page with an iframe, like cnn or washingtonpost.com. When the new page loads, it will now have correct focus, it won't be lost. 2001-05-18 08:58:17 +00:00
jst%netscape.com
96763b46ae Checking in serge@netscape.com's fix for bug 65777, this was a regression from the window targetting changes that caused a crash in some cases when an invalid url was typed into the URL bar. r=pollmann@netscape.com, jst@netscape.com, sr=rpotts@netscape.com 2001-05-17 21:38:27 +00:00
bstell%netscape.com
58699035e6 bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset
2001-05-17 02:12:51 +00:00
rpotts%netscape.com
f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com
921fa67a8d removing debug printfs 2001-05-12 01:42:31 +00:00
darin%netscape.com
b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com
f7460d0269 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. 2001-05-08 16:46:42 +00:00
radha%netscape.com
a0868f7527 fix for bug # 78756. shift-reload on a post result page causes repost. r=ccarlen sr=blizzard 2001-05-06 18:43:07 +00:00
valeski%netscape.com
939312c7fa sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug. 2001-05-04 20:15:38 +00:00
radha%netscape.com
8ca2dc65ba Fix for bug # 66564. Frameset navigation problem r=adamlock, sr=blizzard 2001-05-03 21:15:31 +00:00
scc%mozilla.org
6860a0a739 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
hyatt%netscape.com
9ac35d4459 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
danm%netscape.com
86fe4d027d focus the whole window if there is no tabbable content. bug 50881 r=attinasi,bryner,hyatt,saari 2001-05-01 00:30:33 +00:00
waterson%netscape.com
f7c1e220c9 Bug 76898. Add minimal logging to nsDocShell, r=dougt, sr=mscott. 2001-04-28 02:07:58 +00:00
valeski%netscape.com
00bca056ef mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332 2001-04-27 21:30:24 +00:00
sfraser%netscape.com
44cbfd57f8 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00