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

309 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 8f9e916c89 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Justin Lebar 46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Robert O'Callahan a1e9364edb Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Honza Bambas 6eea6f058f Bug 514232, r=bzbarsky 2009-11-11 21:39:34 +01:00
jlebar 8e7e8ce329 Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Mark Smith 83c646ef2f Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Olli Pettay 97c05dcd63 Bug 498319, r+sr=bz
--HG--
extra : rebase_source : 3e2865232a43ef4e3a63627abf0f603e37351412
2009-06-16 12:05:09 +03:00
Neil Deakin 15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Honza Bambas 398af60e56 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-21 00:27:31 +02:00
Honza Bambas 962ff4d62d Backed out changeset b2e48c0aa965 2009-05-20 22:30:21 +02:00
Honza Bambas 450643be76 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 20:19:38 +02:00
Honza Bambas bcfd364ba5 Backed out changeset ef25b4175b78 2009-05-20 10:37:31 +02:00
Honza Bambas 4fd6964f28 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 10:23:41 +02:00
Arpad Borsos bbcea38eb6 Bug 492376 - Optimize Docshell for memory usage; r=bz 2009-05-13 10:26:47 +02:00
Boris Zbarsky 4c2a5712cb Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Honza Bambas 2cc8843616 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Boris Zbarsky ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Boris Zbarsky e7be5bbeb9 Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst 2009-04-09 21:36:42 -04:00
Arpad Borsos 9ac5c0fe01 Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky 2009-04-03 23:21:40 +02:00
Jeremy D. Lea 0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Boris Zbarsky c0c69ccd9b 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 2009-01-23 10:16:10 -05:00
Dave Camp 1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Jeremy Lea ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Dave Camp d92aa7006b Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp a925063a4f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp a80443658d Bug 458091: Don't store an mURI in nsDOMStorage. r=bz 2009-01-12 21:52:00 -08:00
Dave Camp 36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp 32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Boris Zbarsky 08121c0b9d Bug 445725. Copy over the history entry owner to the clone on anchor scroll, so that we get the right owners on reload of scrolled file:// pages. r+sr=jst 2008-12-11 14:16:05 -05:00
Boris Zbarsky a2b28f6144 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Dave Camp 65de892f3f Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Brad Lassey 819ff924cb Bug 454235 - IME events not fired when clicking on text input box, adds IsOffScreenBrowser property to DocShell r=smaug sr=bz 2008-09-19 12:57:56 -04:00
Robert Strong b1636cc5a5 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz 09f93d94f8 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky 9e228136ee Bug 436990. Make sure to remove already-fired timers from our refresh URI list. r+sr=jst 2008-09-08 09:19:49 -04:00
peterv@propagandism.org 6f9bbd6446 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
roc+@cs.cmu.edu e39f69c653 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 2008-04-23 14:36:17 -07:00
jst@mozilla.org a4d3a2e2e3 Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
jst@mozilla.org 29a96a03b8 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 2008-03-20 21:39:08 -07:00
dcamp@mozilla.com c7226a1f3d Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart 2008-03-12 14:52:47 -07:00
dcamp@mozilla.com fd14ef4029 Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons 2008-01-29 15:49:20 -08:00
bzbarsky@mit.edu d7d706efba Allow certain restricted loads in unload events. Bug 409888, r+sr=jst 2008-01-25 12:31:44 -08:00
roc+@cs.cmu.edu 0e9e236c9e Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
jst@mozilla.org dc71994164 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 2007-11-11 21:48:24 -08:00
reed@reedloden.com 4894cad90d Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9] 2007-10-29 11:29:14 -07:00
dcamp@mozilla.com 2b3259d83f 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 2007-08-31 16:18:46 -07:00
bzbarsky@mit.edu 9448321b0b Add comment for bug 388579 2007-08-23 18:50:14 -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
mats.palmgren@bredband.net 039f630bca 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 2007-05-17 20:49:14 -07:00
bzbarsky@mit.edu 7e3d62ddea Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu b2bf331b94 Don't make embedding of a content viewer in a child frame force a layout flushon the parent. The child doesn't really care that much about up-to-date layoutinfo at this point; if its size changes it will deal. Bug 379485, r+sr=jst 2007-05-02 13:34:41 -07:00
Olli.Pettay%helsinki.fi 805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
bzbarsky%mit.edu 8a1b6c5e34 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
2006-11-22 18:27:54 +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 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
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
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
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
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 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 8f1452f41d Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin 2006-02-23 05:30:25 +00:00
bryner%brianryner.com 8270be210c Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky. 2006-02-11 00:17:36 +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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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 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
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 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
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 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
danm-moz%comcast.net bd1155b88d single window mode aviary branch merge. bug 172962 r=jst,peterv 2004-12-07 16:08:57 +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
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
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