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

44 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 998adb18ea Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D124349
2021-09-07 08:01:18 +00:00
Nika Layzell c0868a6edb Bug 1656753 - Track CrossGroupOpener on CanonicalBrowsingContext, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D90890
2020-09-22 16:28:37 +00:00
Andrea Marchesini 1e01916653 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-19 13:03:14 +00:00
Coroiu Cristina 0c837bbcd0 Backed out changeset 0453b0a0c49d (bug 1531289) for browser-chrome failures at uriloader/exthandler/tests/mochitest/browser_auto_close_window.js on a CLOSED TREE 2020-03-18 15:55:43 +02:00
Andrea Marchesini c486efbb58 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-18 12:08:24 +00:00
Matt Woodrow 8fe54626de Bug 1574372 - Allow using nsWebNavigationInfo statically. r=bzbarsky
IsTypeSupported requires a docshell in order to determine if plugins are allowed. This adds a static version that lets the caller provide their own value for allowing plugins.

Differential Revision: https://phabricator.services.mozilla.com/D56132

--HG--
extra : moz-landing-system : lando
2019-12-17 03:01:37 +00:00
Oana Pop Rus 5545e5a016 Backed out 9 changesets (bug 1574372) for bustage and wpt failures. on a CLOSED TREE
Backed out changeset b0183a606fec (bug 1574372)
Backed out changeset b7c96254826e (bug 1574372)
Backed out changeset 196d61adc272 (bug 1574372)
Backed out changeset 419b94b1210e (bug 1574372)
Backed out changeset c192e499eb47 (bug 1574372)
Backed out changeset 4e57038c3518 (bug 1574372)
Backed out changeset 6ec2aa542b59 (bug 1574372)
Backed out changeset d71b4c0aac1a (bug 1574372)
Backed out changeset a05c3b113ac1 (bug 1574372)
2019-12-17 03:26:38 +02:00
Matt Woodrow b8beb987f4 Bug 1574372 - Allow using nsWebNavigationInfo statically. r=bzbarsky
IsTypeSupported requires a docshell in order to determine if plugins are allowed. This adds a static version that lets the caller provide their own value for allowing plugins.

Differential Revision: https://phabricator.services.mozilla.com/D56132

--HG--
extra : moz-landing-system : lando
2019-12-16 21:25:17 +00:00
Matt Woodrow fea5e94ae8 Bug 1589270 - Part 3: Convert nsExternalHelperApp to use BrowsingContext instead of nsIInterfaceRequestor. r=bzbarsky
This also converts MaybeCloseWindowHelper, and results in the window close operations being always run in the parent (even without DocumentChannel).

Differential Revision: https://phabricator.services.mozilla.com/D49528

--HG--
extra : moz-landing-system : lando
2019-11-08 04:35:05 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Christoph Kerschbaumer 6fbe557b4c Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug 2017-11-03 13:23:25 +01:00
Christoph Kerschbaumer 829704554e Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug 2017-06-19 06:59:44 +02:00
Christoph Kerschbaumer 632fd14dfa Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug 2017-06-07 21:17:49 +02:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Birunthan Mohanathas 42587e445b Bug 1129795 - Make modelines consistent in docshell/base/. r=mccr8 2015-02-13 21:36:47 +02:00
Birunthan Mohanathas 5776cdf83b Bug 1129795 - Convert docshell/base/ to Gecko style. r=mccr8,smaug 2015-02-13 21:36:37 +02:00
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Artem Sobolev 5b25273c1b Bug 625012 - Handle multipart responses in ImageDocument::OnStartRequest correctly. r=bz 2014-07-29 15:23:22 -07:00
Ehsan Akhgari f37662af0a Bug 1048242 - Fix more bad implicit constructors in docshell; r=smaug 2014-08-05 09:19:03 -04:00
Ehsan Akhgari 1bbecd33dc Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
--HG--
extra : rebase_source : b0c00f4b1c1f0c3c0754ff9fa8cb9bd28b78b1fd
2013-09-03 16:17:26 -04:00
Joshua Cranmer a7b443c4d3 Bug 884061 - Part 3e: Use NS_DECL_THREADSAFE_ISUPPORTS in docshell/, r=bz
--HG--
extra : rebase_source : dbc05e56fa9eb1ef273f40bd3278ccdea818df9a
2013-07-18 21:21:19 -05:00
Sid Stamm 65bfe783c9 bug 761667 - update x-frame-options channel scanning to include multipart channels. (r=bz)
--HG--
extra : rebase_source : d7bf736b52f1d54b0ae9b3f111148feef29de02d
2013-04-22 16:01:39 -07:00
Kyle Huey 87ab0338fd Bug 789776: Log an error message when X-Frame-Options vetoes a load. r=jst 2012-09-20 19:47:18 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Sid Stamm cd3a73b307 bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brandon Sterne 64c09ff0b9 Bug 581226 - fix assertion: DoContent returned no listener?: 'abort || m_targetStreamListener', a=blocking2.0 2010-10-14 15:26:59 -07:00
bzbarsky%mit.edu 8efc76dc9a Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin
2005-02-27 18:33:27 +00:00
bzbarsky%mit.edu 777e651006 Followup patch to bug 273785 -- don't trust the plugin service; it lies about
whether it really found new plugins.  r+sr=jst
2005-02-19 03:56:57 +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
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
locka%iol.ie 8287d3dffd Use proper weak refs over raw pointers to hold parent URI listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com 2002-07-09 21:30:13 +00:00
valeski%netscape.com bb2ed4e834 r=rpotts, r=heikki, sr=vidur. content types are no longer hardcoded for docshell load acceptance. we now ask layout what it can handle (indirectly via the category manager). 40772. 2001-04-16 23:05:08 +00:00
locka%iol.ie 9af9375eac NO CODE CHANGES. Reformatted to remove evil 3 space indentation 2001-04-13 13:05:16 +00:00
tbogard%aol.net d2c195372b Removed the Set and GetPresContext as they were not being used. 2000-03-25 03:43:58 +00:00
tbogard%aol.net 2cb79b00d5 Now call OnLoadingSite() when DoContent is processed. mLoadCookie is now stored on the docshell instead of the contentListenr. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:13:31 +00:00
tbogard%aol.net 0a9257dbd8 Some structure change to the DoContent function to get it closer to being ready to take requests. Removed the HandleInCurrentDocShell method as that is no longer needed. None of this code is called right now. Just checking in due to some v-table changes between this and docshell and docshell needs to be checked in for a PDT+ fix. This work is however actually in preparation for a PDT+ fix later this week. r=mscott 2000-02-17 01:58:34 +00:00
mscott%netscape.com 83287af82d Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
api synch of changes to nsIURIContentListener
r=travis
2000-01-29 06:10:54 +00:00
tbogard%aol.net ad0cec9bd2 mParentContentListener is now held as a weak reference as it should be. 1999-12-21 00:09:48 +00:00
mscott%netscape.com 2aa5ceb797 Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
tbogard%aol.net 6099e4fc4d Got more implementation for the DoContent methods. It now calls the new nsDocShell::CreateContentViewer method to kick off the content viewer creation and pairing to the stream. 1999-11-12 09:09:27 +00:00
tbogard%aol.net 4c8c939f0b Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00
tbogard%aol.net 4977cd5b19 Added methods to set and get the presContext for the content listener. Made nsDocShellBase a friend class so we could move the constructor and all the non-interface methods into protected area. 1999-11-07 10:00:53 +00:00
tbogard%aol.net 02a0390b07 Changed the nsIDocShell parent attribute to not create a cycle. Added notes about this. Framed out start of usage for the uriloader. Added code for the new nsDSURIContentListener object to be the callback object for nsIURIContentListener passed to uriloader. 1999-11-06 04:51:05 +00:00