Bug 1417696 - Port bug 1416343 to mailnews: Mark URI interfaces as [builtinclass]. rs=bustage-fix DONTBUILD
authorJorg K
Wed, 15 Nov 2017 15:12:00 +0100
changeset 22551 ac5e3ca48e15496fbec777e2a74110f808b253bd
parent 22550 41bc780f0d2ed4a0a0ee00668cd473074197a280
child 22552 8885e04ebabd5e529a86454e42225e375d886ea5
push id13753
push usermozilla@jorgk.com
push dateWed, 15 Nov 2017 23:33:15 +0000
treeherdercomm-central@ac5e3ca48e15 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1417696, 1416343
Bug 1417696 - Port bug 1416343 to mailnews: Mark URI interfaces as [builtinclass]. rs=bustage-fix DONTBUILD
ldap/xpcom/public/nsILDAPURL.idl
mailnews/addrbook/public/nsIAddbookUrl.idl
mailnews/base/public/nsIMsgMailNewsUrl.idl
--- a/ldap/xpcom/public/nsILDAPURL.idl
+++ b/ldap/xpcom/public/nsILDAPURL.idl
@@ -13,17 +13,17 @@
 /**
  * Strings in methods inherited from nsIURI, which are using XPIDL
  * |string| types, are expected to be UTF8 encoded. All such strings
  * in this interface, except attribute types (e.g. "cn"), should in fact
  * be UTF8. It's important to remember that attributes can not be UTF8,
  * they can only be of a limited subset of ASCII (see RFC 2251).
  */
 
-[scriptable, uuid(8e3a6d33-2e68-40ba-8f94-6ac03f69066e)]
+[scriptable, builtinclass, uuid(8e3a6d33-2e68-40ba-8f94-6ac03f69066e)]
 interface nsILDAPURL : nsIURI {
     /**
      * Initialize an LDAP URL
      *
      * @param aUrlType       - one of the URLTYPE_ flags @seealso nsIStandardURL
      * @param aDefaultPort   - if the port parsed from the URL string matches
      *                         this port, then the port will be removed from the
      *                         canonical form of the URL.
--- a/mailnews/addrbook/public/nsIAddbookUrl.idl
+++ b/mailnews/addrbook/public/nsIAddbookUrl.idl
@@ -8,12 +8,12 @@
 [scriptable, uuid(6EB9D874-01AA-11d4-8FBE-000064657374)]
 interface nsIAddbookUrlOperation 
 { 
     const long InvalidUrl = 0;  
     const long PrintAddressBook = 1;
 	const long AddVCard = 2;
 };
 
-[uuid(5f965083-e866-4bfb-ba40-13c344395798)]
+[builtinclass, uuid(5f965083-e866-4bfb-ba40-13c344395798)]
 interface nsIAddbookUrl : nsIURI {
   readonly attribute long addbookOperation;
 };
--- a/mailnews/base/public/nsIMsgMailNewsUrl.idl
+++ b/mailnews/base/public/nsIMsgMailNewsUrl.idl
@@ -17,17 +17,17 @@ interface nsICacheEntry;
 interface nsIMimeHeaders;
 interface nsIStreamListener;
 interface nsIMsgFolder;
 interface nsIMsgHeaderSink;
 interface nsIMsgDBHdr;
 interface nsIDocShellLoadInfo;
 interface nsIDocShell; 
 
-[scriptable, uuid(995455ba-5bb4-4643-8d70-2b877a2e1320)]
+[scriptable, builtinclass, uuid(995455ba-5bb4-4643-8d70-2b877a2e1320)]
 interface nsIMsgMailNewsUrl : nsIURL {
   ///////////////////////////////////////////////////////////////////////////////
   // Eventually we'd like to push this type of functionality up into nsIURI.
   // The idea is to allow the "application" (the part of the code which wants to 
   // run a url in order to perform some action) to register itself as a listener
   // on url. As a url listener, the app will be informed when the url begins to run
   // and when the url is finished. 
   ////////////////////////////////////////////////////////////////////////////////