696 Commits

Author SHA1 Message Date
reed%reedloden.com
ba0dc7bcab Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238312 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:29:18 +00:00
dmose%mozilla.org
210b7f773c Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz
git-svn-id: svn://10.0.0.236/trunk@233779 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 04:44:26 +00:00
dcamp%mozilla.com
1a066ed8a8 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@233523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:18:48 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 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


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
bzbarsky%mit.edu
1420b2bffc Hold a strong ref to the URI while we're using it. Bug 387968, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229942 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 04:27:08 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
kherron%fmailbox.com
dd7c9d0784 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@228200 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 13:50:53 +00:00
bzbarsky%mit.edu
7bd3f5ccc3 Don't allow loads to start in a docshell that's firing the unload event. Also
don't allow document.open of the document in that docshell.  Bug 371360,
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228064 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:18:06 +00:00
kaie%kuix.de
905aa04b98 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


git-svn-id: svn://10.0.0.236/trunk@220499 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 04:24:05 +00:00
jwatt%jwatt.org
c08a026ac8 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
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
cvshook%sicking.cc
57f03ac9c1 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings and on redirects. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@216045 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 03:08:49 +00:00
cvshook%sicking.cc
0f2957680d Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215999 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:47:10 +00:00
bzbarsky%mit.edu
5525c8b256 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:28:50 +00:00
bzbarsky%mit.edu
d5a75db7bf Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@213730 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 00:55:14 +00:00
darin%meer.net
91d8c11ae5 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
git-svn-id: svn://10.0.0.236/trunk@198854 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 04:28:48 +00:00
bzbarsky%mit.edu
12cfe9827f Remove the keyword: protocol handler. Expose the functionality on nsIURIFixup
instead.  Bug 337339 and bug 264830, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@196633 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 03:02:28 +00:00
jag%tty.nl
3c351db442 Undo these changes now that we have a better fix for 2.95.2
git-svn-id: svn://10.0.0.236/trunk@196578 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 20:33:53 +00:00
jag%tty.nl
4998c07b06 Attempt to fix btek bustage, or at least get some more information.
git-svn-id: svn://10.0.0.236/trunk@196511 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 10:28:26 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
c4f7acfe09 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


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
roc+%cs.cmu.edu
e9fd34c810 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
git-svn-id: svn://10.0.0.236/trunk@193458 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:17:51 +00:00
bzbarsky%mit.edu
e446371b8e 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


git-svn-id: svn://10.0.0.236/trunk@189344 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 20:46:39 +00:00
darin%meer.net
4c402841b4 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
git-svn-id: svn://10.0.0.236/trunk@188880 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 21:28:11 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
darin%meer.net
cea1dc23ec fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 01:50:15 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bzbarsky%mit.edu
b19fc8d9eb Fix leak when closing window that has live refresh timers. Bug 312769,
r=darin, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@182434 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:48:22 +00:00
bryner%brianryner.com
ae6e7085e4 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.
git-svn-id: svn://10.0.0.236/trunk@180875 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu
69fdd9201c 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


git-svn-id: svn://10.0.0.236/trunk@180424 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
6e99396530 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@180400 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:51:14 +00:00
bryner%brianryner.com
a63c759946 Backing out 292965 until Tp regression is understood.
git-svn-id: svn://10.0.0.236/trunk@180182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 07:28:05 +00:00
bryner%brianryner.com
ffbf79b866 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.
git-svn-id: svn://10.0.0.236/trunk@180171 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 03:38:40 +00:00
smfr%smfr.org
981725806b 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
git-svn-id: svn://10.0.0.236/trunk@178751 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:48:47 +00:00
bryner%brianryner.com
dc7a8d1985 When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177082 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:32:10 +00:00
darin%meer.net
76ed9d7ac3 fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@172760 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
fea41970b2 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


git-svn-id: svn://10.0.0.236/trunk@172476 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 04:41:48 +00:00
darin%meer.net
d57073c4b3 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171761 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:33:28 +00:00
jshin%mailaps.org
942b3b86e1 bug 283992 : keyword search for exactly one word with non-ASCII characters doesn't work (r=darin, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@170775 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 13:33:27 +00:00
bzbarsky%mit.edu
72a6885a89 Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:02:02 +00:00
cbiesinger%web.de
f69f427f1a 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


git-svn-id: svn://10.0.0.236/trunk@168541 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 11:26:31 +00:00
cst%andrew.cmu.edu
616bcafe79 Bug 62402 Do not fixup IP address literals [was: IPv6 IPs]
r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@168483 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 00:38:11 +00:00
dveditz%cruzio.com
8b9d168c56 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary)
git-svn-id: svn://10.0.0.236/trunk@167292 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 06:04:46 +00:00