Граф коммитов

1009 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu e9379f3679 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
jwalden%mit.edu 833f88d123 Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz 2006-08-11 18:36:32 +00:00
marria%gmail.com 18980be0d7 Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. r=cbiesinger, sr=bzbarsky 2006-08-06 18:17:29 +00:00
marria%gmail.com 5defba927b Bug 344808 (Canceling a [download whose link tries to open a new window] causes current tab to close, when browser.link.open_newwindow is 1) This fix does not mark the window returned by Open as new, if it is the same as the original window. r=cbiesinger,sr=darin 2006-08-03 06:22:49 +00:00
marria%gmail.com b5b0c2a855 Bug 346586 (Non-PRBool values passed as PRBool in bug 241972) 2006-08-02 03:05:17 +00:00
bzbarsky%mit.edu 2d2f802923 Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner 2006-07-31 04:04:16 +00:00
bzbarsky%mit.edu 4c1ff8d750 Flush out layout when someone asks how big we are. Bug 344861, r+sr=jst 2006-07-21 00:46:17 +00:00
sharparrow1%yahoo.com 341097b456 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
gavin%gavinsharp.com 07fd113dd7 Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=biesi, sr=darin 2006-07-08 21:25:08 +00:00
marria%gmail.com 4776db2c47 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 2006-07-04 20:48:33 +00:00
beng%bengoodger.com 5a25ac8b43 336903 - feeds should not run with chrome privileges. Expose a currentDocumentChannel attribute on nsIDocShell to look at the channel of the currently loaded page (so that we can find out its actual real URI, etc vs. what webNavigation thinks it is (originalURI). r=bz sr=darin 2006-06-27 19:54:47 +00:00
bzbarsky%mit.edu 9a60679a4c Save the principal in the session history entry so that reloading a data: URL
will do the right thing.  Also, change CheckLoadURI to allow null
principals to load things that anyone can load (e.g. http:// URIs).  Bug
337260, r=dveditz, sr=jst
2006-06-19 21:08:45 +00:00
timeless%mozdev.org 27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
timeless%mozdev.org a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
bzbarsky%mit.edu 5c970102ff Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
Olli.Pettay%helsinki.fi 68d82c8fad Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner 2006-05-24 20:31:59 +00:00
jst%mozilla.jstenback.com ed47496c33 Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst. 2006-05-19 05:57:36 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu 3ae541c6c6 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst
2006-05-04 15:21:50 +00:00
roc+%cs.cmu.edu 55aa76077e Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin 2006-05-03 21:53:08 +00:00
bzbarsky%mit.edu 722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu 0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu d696d24e9e Prevent loads starting after docshell destruction. Bug 332901, r=biesi, sr=darin 2006-04-11 22:37:59 +00:00
bzbarsky%mit.edu 7be9e53164 Don't do third-party keyword lookup if the string we started with looked like a
URI (had a scheme, eg).  Bug 263213, r=biesi, sr=darin
2006-04-11 22:33:19 +00:00
martijn.martijn%gmail.com e75f7f31b2 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky 2006-04-05 23:57:30 +00:00
roc+%cs.cmu.edu aa92a80b72 Bug 331522. By default, do not allow keyword searches when navigating to URLs; modify browser UI code to enable keyword searches only on selected URL input mechanisms (e.g., typed into the URL bar). r+sr=darin,r=mconnor 2006-04-03 23:17:51 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu 046f910e72 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst 2006-03-24 19:38:17 +00:00
bryner%brianryner.com 7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
benjamin%smedbergs.us 094c06b97d Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
darin%meer.net 160c228151 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us ac2cdadfb2 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
cbiesinger%web.de 055af5662f bug 324985 Allow components to register in a category to get told about all page
loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz
2006-03-03 21:06:53 +00:00
bryner%brianryner.com 4bc4e83098 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky 2006-03-03 20:18:07 +00:00
bzbarsky%mit.edu 24944d8a8c Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
to nsIGlobalHistory3.  Bug 328928, r=brettw and smfr, sr=darin
2006-03-03 03:34:48 +00:00
bzbarsky%mit.edu 8f1452f41d Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin 2006-02-23 05:30:25 +00:00
mrbkap%gmail.com 37fb43f55b Only warn in debug builds, and don't assert on user defined actions. bug 153783, r+sr=jst 2006-02-22 02:28:04 +00:00
bzbarsky%mit.edu 34149c2f29 Document the channel owner stuff better. Bug 327070, r=biesi, sr=darin 2006-02-20 18:59:07 +00:00
cbiesinger%web.de 74892f0996 Bug 302115 "Try again" on XUL error page loads wrong thing after going back
r=bryner sr=bz
2006-02-19 17:33:31 +00:00
bzbarsky%mit.edu 0974549363 Fix bug 327073. r+sr=jst 2006-02-14 02:03:14 +00:00
bryner%brianryner.com edbb77ee17 Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst. 2006-02-11 05:52:33 +00:00
bzbarsky%mit.edu fc0b0f2bea 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
2006-02-07 20:46:39 +00:00
darin%meer.net c66a07be05 fixes bug 290090 "Meta refresh should pass VALIDATE_ALWAYS instead of LOAD_BYPASS_CACHE" r=biesi sr=bzbarsky 2006-02-07 15:45:36 +00:00
brettw%gmail.com c5706cf9ef Bug 326107 r=darin, sr=bzbarsky, branch-1.8.1=darin:
Send referrer to GlobalHistory even when it isn't being sent over the network
2006-02-07 02:02:56 +00:00
brettw%gmail.com 4c3ace6b8b Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history. 2006-02-06 20:52:18 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu 263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
bzbarsky%mit.edu f5b0e7ca81 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst
2006-01-27 01:04:48 +00:00
mrbkap%gmail.com 9f6aab3aff bug 322773: The prompt service asserts if there our window doesn't have a document. r+sr=bzbarsky 2006-01-18 23:06:06 +00:00
bryner%brianryner.com 328bf9d2f4 Make sure to save the layout state when navigating to a cached presentation, in case the content viewer for the previous page is not saved or is later evicted. Bug 321671, r=biesi. 2006-01-13 19:27:54 +00:00
dbaron%dbaron.org ee4cdca7c2 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin 2006-01-06 06:51:45 +00:00
timeless%mozdev.org df1599b4eb Bug 320488 crash [@ nsSHistory::EvictWindowContentViewer]
patch by marria@gmail.com r=biesi sr=darin
2005-12-25 04:04:36 +00:00
neil%parkwaycc.co.uk 0d29adadea Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst 2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com 7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
darin%meer.net f5dd096659 fixing build bustage (nsIDataChannel no longer exists) 2005-11-12 18:40:00 +00:00
bryner%brianryner.com 29eee87435 Make sure we capture all necessary state off the SHEntry before clearing its presentation (bug 312117). r=sicking, sr=bzbarsky. 2005-11-09 01:57:01 +00:00
bryner%brianryner.com f9c219472d Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky. 2005-11-06 19:23:03 +00:00
bryner%brianryner.com 55b66e80dc Make sure we notify the content viewer when a subframe load completes so that we call OnPageShow -- this fixes link coloring when navigating back to frameset/iframe pages with fastback. Bug 307178, r+sr=bzbarsky. 2005-11-01 18:35:47 +00:00
bzbarsky%mit.edu 98f7c9d9bf Make docshell visibility checking check with the tree owner so that embedding
gets a chance to claim docshells as invisible (eg in Camino's tab
implementation).  Bug 306245, patch by jst, r=sfraser, sr=bzbarsky
2005-10-19 02:59:30 +00:00
bzbarsky%mit.edu 59d03bcd84 Fix leak when closing window that has live refresh timers. Bug 312769,
r=darin, sr=bryner
2005-10-18 01:48:22 +00:00
mconnor%steelgryphon.com 6afc00e8f4 bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa 2005-10-04 03:50:05 +00:00
bryner%brianryner.com 4661df8775 Remove historyMaxTotalViewers from nsISHistoryInternal, and just use a static getter on nsSHistory instead. Bug 310597, r=marria@gmail.com, sr=darin. 2005-10-01 20:38:47 +00:00
aaronleventhal%moonset.net 67ee0e846e Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil 2005-09-29 13:16:46 +00:00
bryner%brianryner.com 6ba0ca043f Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu b070e13b41 Update some GetScriptGlobalObject() callers to the right signature. Bug
303084, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-09-23 14:50:43 +00:00
cbiesinger%web.de 35afe54802 observe the "browser.xul.error_pages.enabled" pref so that it takes effect
immediately
bug 282050 patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=biesi sr=jst
2005-09-22 20:38:56 +00:00
bzbarsky%mit.edu eabb28c936 Show a useful error message if a page claims to be compressed and isn't. Bug
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu 5abb3b2c19 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin
2005-09-16 15:51:14 +00:00
bryner%brianryner.com 53d768e870 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner%brianryner.com d67792fcc9 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-14 03:38:40 +00:00
cbiesinger%web.de 0e228a617d bug 300800 make CreateAboutBlankContentViewer store the current viewer in
shistory
r=bryner sr=bz
2005-09-01 12:12:04 +00:00
bzbarsky%mit.edu f82d146879 Fix crash bug 306580. r+sr=bryner 2005-09-01 04:04:10 +00:00
bryner%brianryner.com a475440a84 Abort restoring the presentation if firing pagehide/unload stopped the load. Bug 305995, r+sr=bzbarsky. 2005-08-31 22:01:46 +00:00
bryner%brianryner.com d60bb1dbb7 Walk the list of SHEntry children looking for the target id if it's not at the expected index, and don't crash if there isn't one. Bug 305531, r+sr=bzbarsky. 2005-08-30 20:56:49 +00:00
bryner%brianryner.com 5efc7980f6 Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky. 2005-08-25 21:21:07 +00:00
bryner%brianryner.com 6383a6ee5b Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst. 2005-08-25 07:06:59 +00:00
bryner%brianryner.com e5ed382220 If we created a transient about:blank content viewer, make sure we're locating the root view sibling for that viewer and not the viewer it's replacing. Bug 300533, r=cbiesinger. 2005-08-24 17:27:41 +00:00
smfr%smfr.org 8330cce37f Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz 2005-08-23 23:48:47 +00:00
mrbkap%gmail.com f6f8514c0c bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst 2005-08-23 00:24:57 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
mats.palmgren%bredband.net 83952914cf Fix crash when going back on pages with (I)FRAMEs. b=304639 r+sr=bryner 2005-08-21 12:43:42 +00:00
bryner%brianryner.com e5c9b5c90e Disable caching of documents when doing a subframe navigation, to help with site compatibility problems. Bug 304860, r=bzbarsky. 2005-08-19 20:58:17 +00:00
neil%parkwaycc.co.uk 2585bbcd72 Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc 2005-08-16 08:12:15 +00:00
roc+%cs.cmu.edu 7501dbbfad Bug 78510. Undoing backout; still no change. 2005-08-16 01:03:45 +00:00
roc+%cs.cmu.edu 85d3e0a8ee Bug 78510. Retry backing out of link-visited notifications, to see how Tp is affected. r+sr=bz 2005-08-15 22:39:29 +00:00
mrbkap%gmail.com 2b7c7bca7a bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
cbiesinger%web.de 26a83fee9a bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 59fbced3fe bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
darin%meer.net 48e5464417 fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg 2005-08-11 20:14:00 +00:00
roc+%cs.cmu.edu 70552e689c Bug 78510. bryner's checkin fixed the Firefox problems so I'm undoing my previous partial-backout. 2005-08-11 05:06:22 +00:00
roc+%cs.cmu.edu 3914dd73e7 Bug 78510. Try backing out the nsDocShell changes to see if the Tp changes still happen when visited notifications don't fire. 2005-08-10 23:23:53 +00:00
roc+%cs.cmu.edu c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
cbiesinger%web.de b8db03642d save the presentation even if the next load is an error page
Bug 299547 r=bryner sr=darin a=brendan+shaver
2005-08-09 12:31:36 +00:00
smfr%smfr.org 62c89ae49e Clean up backout of the nsDocShell part of the patches in bug 302958 (which, luckily, was not required to fix the bug); calling EnsureContentViewer() from GetPresContext() caused performance regressions. r/sr=bryner, going on a= for previous patch. 2005-08-07 22:49:51 +00:00
smfr%smfr.org dcc4448ecb Test backout of nsDocShell EnsureContentViewer() changes from bug 302962, to see impact on performance. 2005-08-07 15:49:15 +00:00
smfr%smfr.org cb4ed7c2b3 Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.
2005-08-06 20:28:42 +00:00
bryner%brianryner.com c4f7b55714 Fixing VC6 bustage - initialize with a ctor 2005-08-03 22:48:42 +00:00
bryner%brianryner.com 3064c2307e When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg 2005-08-03 22:32:10 +00:00
bryner%brianryner.com 214faae62f When restoring a presentation, move everything except adding the request to the loadgroup into the async plevent callback. This fixes the problem with restoring window properties when history.back() is used (with untrusted JS on the stack). Bug 301516, r=darin, a=asa 2005-08-02 18:35:07 +00:00
jst%mozilla.jstenback.com 8c2bc6fcb8 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 2005-07-30 20:57:07 +00:00
cbiesinger%web.de 3dfde76838 Bug 286811 don't add ("xul") error pages to global history
r=bz sr=darin a=bsmedberg
2005-07-27 12:38:38 +00:00
cbiesinger%web.de c603c0ce9c Bug 300863 Send onLocationChange even if we have no failed channel
r=bz sr=darin a=bsmedberg
2005-07-27 12:34:25 +00:00
bryner%brianryner.com 83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
bzbarsky%mit.edu 978cc44c42 Make setting document.location to itself not create a new history entry. Bug
300805, r=biesi, sr=darin, a=bsmedberg
2005-07-22 18:19:35 +00:00
bryner%brianryner.com 5ae7d73475 Fix stuck focus ring when restoring a presentation by making sure to save the focus before we clear the focused content state. Bug 298077, r+sr=dbaron, a=brendan. 2005-07-19 18:02:55 +00:00
bryner%brianryner.com c322d827aa Allow caching of the document when the load type is LOAD_STOP_CONTENT or LOAD_STOP_CONTENT_AND_REPLACE. Bug 292948, r+sr=darin, a=brendan. 2005-07-19 17:20:05 +00:00
bsmedberg%covad.net c70e951ba6 Bug 292624 - XUL error pages should not have chrome privileges, r=darin sr=dveditz a=asa 2005-07-14 17:46:55 +00:00
bryner%brianryner.com 0e7ee4a645 Fix stuck designMode when using fastback by making sure the DOM window still contains the old document when the STATE_START notification is sent. Bug 300411, r+sr=darin, a=asa. 2005-07-14 16:24:32 +00:00
bzbarsky%mit.edu 290c7c8457 nsIViewManager::InsertChild does things a little oddly if the sibling is null.
Work around that by twiddling the aAfter parameter appropriately.  Bug 300538,
r=bryner, sr=roc, a=asa
2005-07-13 19:27:07 +00:00
neil%parkwaycc.co.uk b16e6c35e2 Disable error pages in composer (webpage editor) b=300022 r=biesi sr=darin a=asa 2005-07-09 00:14:48 +00:00
cbiesinger%web.de 850147669c Bug 299008 set mOSHE at the right time, and don't clear mLSHE when loading the
error page
r=jst sr=bz a=bsmedberg
2005-07-07 11:51:19 +00:00
dveditz%cruzio.com 644b82f3f6 bug 298255: prevent browser screwiness caused by lazy extension authors loading their chrome extension in a content window instead of adding the -chrome commandline option. r=mconnor, sr=jst, a=chofmann 2005-07-07 09:45:47 +00:00
bzbarsky%mit.edu b1f8fe7021 Fix history navigation through anchors when the anchor loads were done by
changing window.location.  Bug 297122, r=biesi, sr=jst, a=bsmedberg
2005-07-03 16:11:06 +00:00
bryner%brianryner.com d99a80f804 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
bryner%brianryner.com 8d8409682a Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg 2005-06-30 20:58:33 +00:00
bryner%brianryner.com b52310b682 Fix fastback to not leave the documents-loading counter unbalanced, which would lead to not using the performance-favoring event loop hint after the first fastback. Bug 298794, r+sr=darin, a=chase. 2005-06-28 02:51:04 +00:00
bryner%brianryner.com cadc444e92 Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa. 2005-06-24 21:08:10 +00:00
bryner%brianryner.com f3f76cdc26 Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa. 2005-06-24 20:53:43 +00:00
bryner%brianryner.com 2536b6f6a1 For fastback, dispatch the title change notification after we've updated our history entry in the docshell, so that we don't set the title on the wrong history entry. Bug 296745, r+sr=darin, a=asa. 2005-06-20 22:06:30 +00:00
roc+%cs.cmu.edu 3876d7f8c7 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
bryner%brianryner.com e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
bryner%brianryner.com f4c0d8ef73 Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan. 2005-06-03 22:17:06 +00:00
bryner%brianryner.com 72c6c61b72 When restoring a presentation via fast-back, where we aren't going to save the existing presentation, defer destruction on a PLEvent to avoid hangs when reentering plugin code (bug 294231). r+sr=jst, a=chofmann. 2005-06-02 00:57:54 +00:00
cbiesinger%web.de 19d0f90398 295279 pass the origin charset of the URI to the error page, esp. for use by
embeddors
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bz a=shaver
2005-06-01 19:19:01 +00:00
jag%tty.nl 40b035a5a3 Attempt to fix btek bustage 2005-05-18 09:54:04 +00:00
bryner%brianryner.com 87f0855b0e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner%brianryner.com 71f3834f98 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00
dveditz%cruzio.com 7b49950fef bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa
2005-05-13 23:08:09 +00:00
bzbarsky%mit.edu c8c41508c3 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan
2005-05-08 21:44:16 +00:00
bryner%brianryner.com ed538371bf Don't crash when we've restored a presentation with a frame that has never loaded a document. Bug 292923, r+sr=bzbarsky, a=brendan. 2005-05-06 18:18:08 +00:00
bryner%brianryner.com aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu 84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
cbiesinger%web.de 2c8feb7c53 291876 fall back to Alert() instead of an error page when we have no nsIURI object
r=bz sr=darin a=asa
2005-04-27 11:53:27 +00:00
bzbarsky%mit.edu 209f868abf Reposting when expired from cache should make sure to use the right history
entry; otherwise docshell is confused about which page it currently has
loaded.  Bug 289301, r=biesi, sr=darin, a=asa
2005-04-20 04:41:48 +00:00
darin%meer.net 9791154211 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger%web.de 44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bzbarsky%mit.edu 46d70f86fc Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
roc+%cs.cmu.edu fb05d807b2 Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
bzbarsky%mit.edu 3ef5bbde03 Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst
2005-04-03 16:51:01 +00:00
bzbarsky%mit.edu 4cbcd59987 Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky
2005-03-30 04:22:00 +00:00
jst%mozilla.jstenback.com 09a59b3a29 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 2005-03-09 14:31:02 +00:00
cbiesinger%web.de e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst%mozilla.jstenback.com 822de539b8 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 2005-02-23 23:31:37 +00:00
jst%mozilla.jstenback.com d5804ef8f6 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky%mit.edu d029903af6 Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
jshin%mailaps.org 44c2409acd bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky) 2005-02-22 18:25:12 +00:00
bzbarsky%mit.edu 28d1b7868f Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bzbarsky%mit.edu acdd0d0b50 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu 34b03e8a02 Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
danm-moz%comcast.net 0925c4ec99 unnamed windows can't be a named target. bug 278143 r=bzbarsky 2005-02-08 23:16:52 +00:00
silver%warwickcompsoc.co.uk f7638f82bd Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)
2005-02-02 19:42:21 +00:00
bzbarsky%mit.edu bd9d2b5403 Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst
2005-01-31 22:49:42 +00:00
bzbarsky%mit.edu 7f9e2bbb9a Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
2005-01-31 20:46:24 +00:00
cbiesinger%web.de 57d7cad17b 157004 don't fire onLocationChange for error pages, and don't change the
docshell's currentURI either. be sure to add the failed URL to session history.

r=bz sr=darin
2005-01-31 11:26:31 +00:00
bzbarsky%mit.edu 45c40e1d84 Session history traversals from URI with anchor to same URI without anchor
should scroll.  Bug 280215, r=biesi, sr=darin
2005-01-30 20:53:42 +00:00
bzbarsky%mit.edu 7241d7be6d When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst
2005-01-21 16:58:45 +00:00
bzbarsky%mit.edu 9cf134eb94 Add a webnavigation flag to allow callers to stop content, not just stop
network activity.  Make nsLocation use this so it doesn't stop content
unnecessarily.  Bug 277224, r=darin, sr=jst
2005-01-20 16:57:04 +00:00
bzbarsky%mit.edu 1d87c3297f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
bzbarsky%mit.edu 220748d802 If we run into a null child SHEntry while cloning, just clone it as null into
the new tree instead of bailing out on the clone altogether.  Bug 275890,
r=biesi, sr=darin
2005-01-12 02:49:24 +00:00
jst%mozilla.jstenback.com 21799339e6 Fixing bug 277564. Make sure to update the lock icon state correctly when dealing with wyciwyg: URLs. r=bugmail@sicking.cc, dveditz@cruzio.com, darin@meer.net, sr=brendan@mozilla.org, a=asa@mozilla.org 2005-01-12 00:00:53 +00:00
jst%mozilla.jstenback.com 265b0ff136 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 2005-01-11 19:36:40 +00:00
dveditz%cruzio.com 74bfd1dd41 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary) 2005-01-05 06:04:46 +00:00
bzbarsky%mit.edu 5e9b7fd80c Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.
2004-12-08 18:02:40 +00:00
bzbarsky%mit.edu 55ab8dd119 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu dfe254a7b1 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin
2004-12-08 17:02:56 +00:00
danm-moz%comcast.net 626ddff8ea single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv 2004-12-07 16:09:08 +00:00
scott%scott-macgregor.org f088f54df3 Bug #267665, Bug #260836 --> TB0.9 does not do proxy authentication for RSS feeds
RSS feeds which require HTTP authentication are rejected as invalid

Re-work the docshell auth prompt logic to disable prompts for any url running in chrome unless the chrome window
explicitly sets allowAuth on its docshell.

r=darin
sr=jst
2004-11-24 17:45:44 +00:00
darin%meer.net 1b7fe5d860 fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz 2004-11-12 03:24:24 +00:00
jst%mozilla.jstenback.com 0d96026257 Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() (prefs is a service). This caused a crash on the aviary branch after 172962 landed. Also remove unnecessary null check now that we know mPrefs can't be null. r=dbaron@mozilla.org, sr=brendan@mozilla.org 2004-11-10 22:07:17 +00:00
dbaron%dbaron.org 92120bcfd4 Null-check for unreproducable topcrash. b=267804 r+sr=jst 2004-11-06 07:59:46 +00:00
darin%meer.net b17c9098aa backing out part of my patch for bug 267367 that broke mailnews auth prompting 2004-11-03 22:15:48 +00:00
darin%meer.net f9ae579033 fixes bug 267367 "image loading from chrome results in auth prompts if src is protected" r=biesi sr=jst 2004-11-03 07:52:27 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
dveditz%cruzio.com dda30fd22f bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
timeless%mozdev.org 0ddcac19fc Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 08:01:48 +00:00
timeless%mozdev.org 1d1d158fd2 Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 05:23:40 +00:00
bzbarsky%mit.edu 92c70b57d7 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin
2004-10-19 21:53:54 +00:00
cbiesinger%web.de bbf994180c backing out part of bug 234257 checkin to fix camino orange a=shaver 2004-09-29 22:05:12 +00:00
jst%mozilla.jstenback.com c1f737ffb0 Fixing bug 261998. Don't fire the beforeunload event when loading a link to an anchor in the current document. r+sr=bzbarsky@mit.edu 2004-09-29 05:29:48 +00:00
cbiesinger%web.de 281c8602e1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
cbiesinger%web.de 067450e6ec Bug 128398 store referrer in history patch by James Andrewartha
<trs80@tartarus.uwa.edu.au> r=biesi sr=neil
2004-09-19 20:50:32 +00:00
jst%mozilla.jstenback.com 1a86b2d55d Fixing bug 259117. Prevent popups when closing a window even if the close came from a user action that would normally enable popups. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2004-09-14 06:03:34 +00:00
darin%meer.net f40f923a0a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
kjh-5727%comcast.net d01ed2368b Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
Patch by Mikael Parknert (mikael@parknert.se), r=bzbarsky, sr=roc.
2004-09-06 19:31:22 +00:00
dbaron%dbaron.org 9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron%dbaron.org ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org 31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org 8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
vladimir%pobox.com 8b6be2cf93 b=205947, proxy: mailnews does not display proxy auth dialog, r=darin, sr=shaver 2004-09-02 05:13:25 +00:00
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
timeless%mozdev.org 1da3f66e11 Bug 255710 nsDocShell::GetDocShellEnumerator leaks docShellEnum in failure cases
patch by cst@andrew.cmu.edu r=timeless sr=jst
2004-08-19 00:48:19 +00:00
cbiesinger%web.de ff85bfe543 Bug 254586 don't store views in nsCOMPtrs - they are not refcounted anyway.
r=bzbarsky sr=darin
2004-08-10 23:58:56 +00:00
cbiesinger%web.de b131530880 Bug 254586 don't assume cacheToken can be qi'd to nsICacheEntryDescriptor
r=bzbarsky sr=darin
2004-08-10 23:57:25 +00:00
neil%parkwaycc.co.uk a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu 591a71b031 Don't throw from location.reload() if it's a POST page and the user cancels the
reload.  Bug 249405, r=darin, sr=jst
2004-08-04 03:35:39 +00:00
bryner%brianryner.com 6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu 7458686abf When target=_blank is blocked, don't block existing named targets in other
windows. Bug 174266, r=danm, sr=jst
2004-07-28 04:04:02 +00:00
bzbarsky%mit.edu 02d0d94b73 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
bzbarsky%mit.edu c11e64a71e nsIContentPolicy should pass the frameelement for loads in frames as
aRequestingNode.  Bug 245836, r=mvl, sr=jst
2004-07-18 20:02:31 +00:00
jst%mozilla.jstenback.com 23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
timeless%mozdev.org 652553c5cc Bug 172077 Need a way for embedders to disable all plugins
patch by locka, chpe@gnome.org r=bz sr=mscott
2004-07-07 07:15:35 +00:00
cbiesinger%web.de 3509138eb5 bug 249107 directory listings coming from session history (cache?) displayed in raw form
r=jst sr=darin
2004-07-01 17:04:31 +00:00
jst%mozilla.jstenback.com 972d4c6a1f Fixing regression bug 248753. Always permit loads that are targeted at other top-level windows. r=dveditz@cruzio.com, sr=darin@meer.net 2004-06-29 23:06:55 +00:00
cbiesinger%web.de 6fa8bd737d bug 247607 http-index-format -> html conversion should be done by the necko caller, not by the channels
r+sr=darin
2004-06-25 18:30:22 +00:00
jst%mozilla.jstenback.com bf4843bd9b Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net 2004-06-23 17:48:36 +00:00
jst%mozilla.jstenback.com 4125c1ef7a Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net 2004-06-23 17:42:31 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com e7c9f2b51c Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org 2004-06-15 08:28:52 +00:00
jshin%mailaps.org cc5eefe6dc bug 240300 : IDN in 'Connection refused alert' garbled. (r=cbie, sr=darin) 2004-06-11 14:20:14 +00:00
timeless%mozdev.org b49d33e07d Bug 140324 NS_ENSURE_TRUE(NS_SUCCEEDED(),) used needlessy in some places
patch by Morten@Nilsen.com r=hwaara sr=alecf
2004-05-25 06:09:43 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com 5665acb467 Fixing regression bug 244178. Don't advertise the charset of a docshell that was loaded from a wyciwyg channel since the stored charset has no relationship to the original charset any more. r=bzbarsky@mit.edu, sr=darin@meer.net 2004-05-20 22:47:20 +00:00
roc+%cs.cmu.edu cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
mvl%exedo.nl fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
jst%mozilla.jstenback.com 21131fdb8f Fixing bug 243213. Don't waste time looking up the nsIURIFixup service for every docshell, and move some members around to make things align up and pack better on some 64-bit platforms. r=bzbarsky@mit.edu, sr=darin@meer.net 2004-05-11 00:12:09 +00:00
roc+%cs.cmu.edu e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
cbiesinger%web.de f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
bzbarsky%mit.edu 2a21577680 When creating a frame after a page has loaded and loading a new document into
it, don't try to treat it as a subframe history traversal, since there is no
original history entry involved so the cloning operation fails.  Just append
the session history entry for the newly loaded frame to the history entry for
the page as we would have if the load were done during pageload.  Bug 237717,
r=adamlock, sr=darin
2004-04-13 01:42:40 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 281d184ab2 Make sure to init mValidateOrigin in the constructor. Bug 234030, patch by
Malcolm Rowe <malcolm-bmo@farside.org.uk>, r=peterv, sr=bzbarsky
2004-02-24 19:23:20 +00:00
cbiesinger%web.de fa66a3f5b5 Bug 234030 this makes docshell use the correct default value for prefs if they don't exist
r=peterv sr=bzbarsky a=chofman
2004-02-12 18:49:15 +00:00
bzbarsky%mit.edu 817f6d4f30 Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com 64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bsmedberg%covad.net 814b876053 Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes. 2004-02-11 02:10:04 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com 433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
jst%mozilla.jstenback.com f894d79c80 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jst%mozilla.jstenback.com c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu 6896d051a4 Change logic for detecting whether two loads with the same URI (up to anchor)
are actually different to be smarter about dealing with postdata (both loads
may have postdata and may be the same or different depending on what that post
data is).  Bug 227554, r=adamlock, sr=darin
2004-01-08 04:23:22 +00:00
bzbarsky%mit.edu 89108d40d0 History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin
2004-01-08 04:18:08 +00:00
peter%propagandism.org feda8614f8 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
bryner%brianryner.com dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
bryner%brianryner.com 605cc06382 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. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com 66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu b781b399a3 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2003-10-03 22:11:47 +00:00
uid502 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org 323f01b140 Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
caillon%returnzero.com f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
bryner%brianryner.com e85dd2b8a9 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa. 2003-08-12 06:43:48 +00:00
hyatt%mozilla.org 9c31b342f2 Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben 2003-08-04 18:33:24 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon%returnzero.com 91b7c60bee Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00