340 Commits

Author SHA1 Message Date
radha%netscape.com
d1310750e7 Fix for topEmbed bug 93027 r=pollmann sr=darin
git-svn-id: svn://10.0.0.236/trunk@100756 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 14:43:03 +00:00
dbaron%fas.harvard.edu
2acd95d9aa Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100081 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
899cd312b2 Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
502a5c94aa Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +00:00
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +00:00
mscott%netscape.com
7124231a9c Bug #89628 --> don't create a session history entry if there is no session history for this docshell chain.
Fixes the problem where the mailnews message pane was suddenly getting the scroll bar state remembered across messages.
(checking in for radha)
r=valeski
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@99159 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 04:53:58 +00:00
mstoltz%netscape.com
31defe0b01 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.


git-svn-id: svn://10.0.0.236/trunk@98536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 05:27:22 +00:00
radha%netscape.com
b5ffdd96d0 Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets
git-svn-id: svn://10.0.0.236/trunk@98497 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 00:00:12 +00:00
mstoltz%netscape.com
85cb13c471 Bug 88167 - javascript URLs should never inherit the system principal or a
signed/privileged principal. r=bbaetz, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@98443 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 06:39:29 +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
yokoyama%netscape.com
d4ecaf45af Bug 82244
backout old patch
r= radha sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@98310 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:12:14 +00:00
dbaron%fas.harvard.edu
73f263f784 Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|.
git-svn-id: svn://10.0.0.236/trunk@98294 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 18:28:39 +00:00
bryner%uiuc.edu
c859fec205 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.
git-svn-id: svn://10.0.0.236/trunk@97913 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 01:19:11 +00:00
jaggernaut%netscape.com
7d9b30ae3a 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


git-svn-id: svn://10.0.0.236/trunk@97768 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 07:25:28 +00:00
ftang%netscape.com
63acb43ea5 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


git-svn-id: svn://10.0.0.236/trunk@97706 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 00:54:27 +00:00
peterlubczynski%netscape.com
2d4101576b More ^M bustage
git-svn-id: svn://10.0.0.236/trunk@97652 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 02:07:25 +00:00
peterlubczynski%netscape.com
84fe2b64c1 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman
git-svn-id: svn://10.0.0.236/trunk@97645 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 01:04:29 +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
bryner%uiuc.edu
881232ec6f 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.
git-svn-id: svn://10.0.0.236/trunk@97486 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 23:31:25 +00:00
bryner%uiuc.edu
2bdddc306e Bug 77913 - tab focus not cycling around in dialogs. r=jag, sr=jst, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@97409 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 05:35:24 +00:00
blizzard%redhat.com
b7d576b7aa Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@97155 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 17:42:16 +00:00
saari%netscape.com
b044b35fb2 fix for 84560, intially focused url bar key bindings are broken. a=blizzard, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@97123 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 03:49:07 +00:00
jaggernaut%netscape.com
a5b2e544cf 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


git-svn-id: svn://10.0.0.236/trunk@96898 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 22:05:59 +00:00
dougt%netscape.com
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +00:00
mstoltz%netscape.com
b51a5f7784 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.


git-svn-id: svn://10.0.0.236/trunk@96045 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 02:22:22 +00:00
saari%netscape.com
2ded545a76 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


git-svn-id: svn://10.0.0.236/trunk@96029 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 23:26:50 +00:00
radha%netscape.com
98707a9ea0 Fix for bug # 82236. r=valeski sr=alecf a=blizzard(drivers@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96019 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:45:57 +00:00
rpotts%netscape.com
d13a557074 bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly...
git-svn-id: svn://10.0.0.236/trunk@96012 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:10:50 +00:00
danm%netscape.com
2e47ba7d64 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
git-svn-id: svn://10.0.0.236/trunk@95930 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 21:15:46 +00:00
roc+%cs.cmu.edu
4404d25a96 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
nisheeth%netscape.com
a63df7b032 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
hwaara%chello.se
206777a279 Fix smoketest blocker. bug 82141. r=saari, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@95887 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 00:53:47 +00:00
rods%netscape.com
882b0d68a5 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt


git-svn-id: svn://10.0.0.236/trunk@95734 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:52:17 +00:00
waterson%netscape.com
1b5bc5e4af Bug 82073. Wallpaper over the crash until bryner can look at this.
git-svn-id: svn://10.0.0.236/trunk@95680 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 17:29:47 +00:00
simon%softel.co.il
c32b25e1a2 Remove superfluous include from nsDocShell.cpp. Bug #81179 r=fabian sr=jst
git-svn-id: svn://10.0.0.236/trunk@95665 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 08:15:37 +00:00
valeski%netscape.com
4cd7a0dc5d 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.
git-svn-id: svn://10.0.0.236/trunk@95622 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:42:46 +00:00
bryner%uiuc.edu
a8c5413032 Part of bug 31809 -- Don't allow the user to tab into the sidebar if it's collapsed. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@95615 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:27:49 +00:00
rpotts%netscape.com
2c9ec5ebb5 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...
git-svn-id: svn://10.0.0.236/trunk@95585 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:50:51 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
radha%netscape.com
1544507602 Fix for bug 81229 r=valeski sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@95422 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:43:29 +00:00
saari%netscape.com
0f4bc733b6 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.
git-svn-id: svn://10.0.0.236/trunk@95390 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 08:58:17 +00:00
jst%netscape.com
f8615a0e3b 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
git-svn-id: svn://10.0.0.236/trunk@95314 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:38:27 +00:00
bstell%netscape.com
65d0350b8c bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset


git-svn-id: svn://10.0.0.236/trunk@95194 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 02:12:51 +00:00
rpotts%netscape.com
9c40a95650 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
git-svn-id: svn://10.0.0.236/trunk@94842 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:16:27 +00:00
darin%netscape.com
d5ca28bda6 removing debug printfs
git-svn-id: svn://10.0.0.236/trunk@94723 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:42:31 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
jst%netscape.com
9d299d36ce 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@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
radha%netscape.com
d4080a9aab fix for bug # 78756. shift-reload on a post result page causes repost. r=ccarlen sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@94089 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 18:43:07 +00:00
valeski%netscape.com
c93bb536ef 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.
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +00:00