Commit graph

692 commits

Author SHA1 Message Date
bzbarsky@mit.edu
16e6040261 Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
bzbarsky@mit.edu
d936fb370d Hold a strong ref to the URI while we're using it. Bug 387968, r+sr=jst 2007-07-13 21:27:08 -07:00
peterv@propagandism.org
f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
kherron@fmailbox.com
4f3b4ab01c Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
bzbarsky@mit.edu
ac7d66789b Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
kaie%kuix.de
5af3e3656c Bug 107491, improve SSL error messages
Patch v9 - docshell and netwerk portions
Second and final checkin of this patch, enabling the new SSL error page
r/sr=biesi
2007-02-18 04:24:05 +00:00
jwatt%jwatt.org
bbb6339dc9 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
cvshook%sicking.cc
d74c15a5d6 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings and on redirects. r/sr=jst 2006-11-29 03:08:49 +00:00
cvshook%sicking.cc
b07fe2dcf6 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings. r/sr=jst 2006-11-28 20:47:10 +00:00
bzbarsky%mit.edu
725237b351 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky
2006-11-07 03:28:50 +00:00
bzbarsky%mit.edu
9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
darin%meer.net
979f82c981 fixes bug 326155 "Adds support for restricting pings to same origin and limiting pings to no more than one per anchor" r=biesi sr=bzbarsky 2006-06-02 04:28:48 +00:00
bzbarsky%mit.edu
e80a83a9fd Remove the keyword: protocol handler. Expose the functionality on nsIURIFixup
instead.  Bug 337339 and bug 264830, r=biesi, sr=darin
2006-05-16 03:02:28 +00:00
jag%tty.nl
6a12f2f513 Undo these changes now that we have a better fix for 2.95.2 2006-05-15 20:33:53 +00:00
jag%tty.nl
fa22f2cfb4 Attempt to fix btek bustage, or at least get some more information. 2006-05-15 10:28:26 +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
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +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
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
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
bf4998de17 Patch for bug 324642 "Add an API to expose the DOM node that the mouse is over when informing the WebBrowserChrome object to update the status bar." r=biesi sr=bzbarsky 2006-02-03 21:28:11 +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
darin%meer.net
387edde4eb fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky 2006-01-11 01:50:15 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +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
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +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
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
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
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
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
darin%meer.net
c7c0859ea1 fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa 2005-04-27 01:32:36 +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
jshin%mailaps.org
098662ef65 bug 283992 : keyword search for exactly one word with non-ASCII characters doesn't work (r=darin, sr=bz) 2005-03-16 13:33:27 +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
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
cst%andrew.cmu.edu
a7e181d92b Bug 62402 Do not fixup IP address literals [was: IPv6 IPs]
r=biesi sr=darin
2005-01-29 00:38:11 +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
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +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
dveditz%cruzio.com
430d42c69d bug 263546: move external protocol warning down a level, r=jsr,sr=darin 2004-10-25 07:46:01 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00