gecko-dev/uriloader/base
Kris Maglione 8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
..
moz.build Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug 2016-10-31 16:38:54 -04:00
nsCURILoader.idl
nsDocLoader.cpp Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
nsDocLoader.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
nsIContentHandler.idl
nsIDocumentLoader.idl
nsITransfer.idl
nsIURIContentListener.idl
nsIURILoader.idl
nsIWebProgress.idl Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug) 2017-07-28 13:11:59 -07:00
nsIWebProgressListener.idl Bug 1409259 - Add a console warning for soon-to-be-distrusted roots r=keeler,ttaubert 2017-10-18 22:29:42 -07:00
nsIWebProgressListener2.idl
nsURILoader.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsURILoader.h Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug 2016-08-08 18:16:15 +08:00