229 Commits

Author SHA1 Message Date
honzab.moz%firemni.cz
507b9aee01 Bug 514232, r=bzbarsky + bug 529119 - Funky behavior with XUL error pages, r=bzbarsky, a190=dveditz
git-svn-id: svn://10.0.0.236/trunk@259040 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-19 17:00:12 +00:00
honzab.moz%firemni.cz
4cb0f37704 Backing out bugs 514232+529119
git-svn-id: svn://10.0.0.236/trunk@259023 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 17:08:37 +00:00
honzab.moz%firemni.cz
443a8362bf Bug 514232, fix build bustage, missing header file changes
git-svn-id: svn://10.0.0.236/trunk@259022 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 16:54:58 +00:00
bzbarsky%mit.edu
8496b3458c Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst, a=dveditz.
git-svn-id: svn://10.0.0.236/trunk@257024 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 12:59:30 +00:00
bzbarsky%mit.edu
9c9adadbed Bug 474389. Fix the 'set up editor after this load' setup, which hasn't really
worked for a while, except for initial loads in the window. r+sr=peterv,
a=dveditz


git-svn-id: svn://10.0.0.236/trunk@255948 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-28 01:11:43 +00:00
peterv%propagandism.org
12abbe164f Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@251098 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 11:36:31 +00:00
roc+%cs.cmu.edu
2adfc316d8 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 21:36:19 +00:00
jst%mozilla.org
848e5e4245 Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@248431 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 16:50:49 +00:00
jst%mozilla.org
981793b5f4 Landing fix for bug 402983. Make security checks on file:// URIs symmetric. Patch by dveditz@cruzio.com, r=jonas@sicking.cc,bzbarsky@mit.edu. jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@248340 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 04:39:10 +00:00
dcamp%mozilla.com
818a3abe5f Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart
git-svn-id: svn://10.0.0.236/trunk@247681 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:52:55 +00:00
dcamp%mozilla.com
eba206c16f Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons
git-svn-id: svn://10.0.0.236/trunk@244412 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 23:49:20 +00:00
bzbarsky%mit.edu
5982fb6110 Allow certain restricted loads in unload events. Bug 409888, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@243999 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 20:31:44 +00:00
roc+%cs.cmu.edu
72395a3542 Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@243640 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 02:05:39 +00:00
jst%mozilla.org
fac3c1b64a Fixing bug 392532. Infinite recursion crash when getting scroll chrome flags off of a window at the wrong point in time. r+sr=bzbarsky@mit.edu, a=vladimir@pobox.com
git-svn-id: svn://10.0.0.236/trunk@239184 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 05:48:25 +00:00
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
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
da0a4bbfea Add comment for bug 388579
git-svn-id: svn://10.0.0.236/trunk@232999 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 01:50:14 +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
mats.palmgren%bredband.net
5a743d0a0b Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226604 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:49:15 +00:00
bzbarsky%mit.edu
a5510fca0d Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,
r=bsmedberg, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@226009 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 21:06:28 +00:00
bzbarsky%mit.edu
462a42d337 Don't make embedding of a content viewer in a child frame force a layout flush
on the parent.  The child doesn't really care that much about up-to-date layout
info at this point; if its size changes it will deal.  Bug 379485, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@225491 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:34:41 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +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
0583386559 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


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
bzbarsky%mit.edu
e87dae66f8 Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@206108 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 04:04:16 +00:00
marria%gmail.com
c8758b856c 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
git-svn-id: svn://10.0.0.236/trunk@201538 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 20:48:33 +00:00
bzbarsky%mit.edu
3e662003ef Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +00:00
jst%mozilla.jstenback.com
d2e3ffe355 Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst.
git-svn-id: svn://10.0.0.236/trunk@197976 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 05:57:36 +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
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
5eea6eae6d Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin
git-svn-id: svn://10.0.0.236/trunk@191004 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 05:30:25 +00:00
bryner%brianryner.com
f5b304db6e Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@189734 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 00:17:36 +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
brettw%gmail.com
a243524a04 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


git-svn-id: svn://10.0.0.236/trunk@189279 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:02:56 +00:00
brettw%gmail.com
01f2446de3 Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
git-svn-id: svn://10.0.0.236/trunk@189041 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:52:18 +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
cbiesinger%web.de
8a6592a565 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


git-svn-id: svn://10.0.0.236/trunk@180823 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 20:38:56 +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
bryner%brianryner.com
0fcc341de0 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.
git-svn-id: svn://10.0.0.236/trunk@178796 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 17:27:41 +00:00
mrbkap%gmail.com
e51f8de643 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
git-svn-id: svn://10.0.0.236/trunk@178653 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 00:24:57 +00:00
darin%meer.net
c8e1a406bd fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177590 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:14:00 +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
bryner%brianryner.com
b0e77fe7c5 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
git-svn-id: svn://10.0.0.236/trunk@176999 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 18:35:07 +00:00
cbiesinger%web.de
fda81c049e Bug 286811 don't add ("xul") error pages to global history
r=bz sr=darin a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176666 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 12:38:38 +00:00
bryner%brianryner.com
700734ca5c 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.
git-svn-id: svn://10.0.0.236/trunk@176095 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:24:32 +00:00
dveditz%cruzio.com
b88298d25d 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
git-svn-id: svn://10.0.0.236/trunk@175733 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 09:45:47 +00:00