{"id":313,"date":"2009-02-10T08:45:38","date_gmt":"2009-02-10T15:45:38","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=313"},"modified":"2009-05-06T14:10:04","modified_gmt":"2009-05-06T21:10:04","slug":"iid-changes-to-some-gecko-191-interfaces","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/","title":{"rendered":"IID Changes to Some Gecko 1.9.1 Interfaces"},"content":{"rendered":"<p>This post is here to warn a subset of add-on authors that we&#8217;re making some late changes to the IID for some interfaces on the Gecko 1.9.1 branch.\u00a0 A very small subset of people are likely affected based on our scan of a bunch of add-ons.\u00a0 Note that this doesn&#8217;t affect the methods on the interfaces themselves, just the IIDs for interfaces.\u00a0 So it should not require a functional change.<\/p>\n<p><strong>What we&#8217;re changing:<\/strong><\/p>\n<p>Based on a <a href=\"http:\/\/groups.google.com\/group\/mozilla.dev.platform\/browse_thread\/thread\/3bd5f5599caf2e14#\">report on the dev-platform mailing list<\/a> there are some interfaces that were changed between Gecko 1.8.0 and Gecko 1.9.0 <a href=\"https:\/\/developer.mozilla.org\/en\/Creating_XPCOM_Components\/An_Overview_of_XPCOM#Components\">without changing the IID<\/a> for that interface.\u00a0 Gecko 1.9.1, which inherited the code from Gecko 1.9.0, currently contains this error as well.\u00a0 [Note that most of the discussion of the reported issue appears to be missing from Google Groups.\u00a0 We are not sure why this is, but we assure you there was a long discussion of the issues.]<\/p>\n<p>There are apparently some extensions for Thunderbird which need to be able to detect which version of an interface is being used based on the IID.\u00a0 (Thunderbird 2 and Firefox 2 were both based on Gecko 1.8.0 and Thunderbird 3 and Firefox 3.1 will be based on Gecko 1.9.1.)\u00a0 In order to make detecting that difference possible we need to make the change in the 1.9.1 branch before we release Firefox 3.1, as that will also serve as the baseline for Thunderbird 3.<\/p>\n<p>These are the affected interfaces <a href=\"http:\/\/groups.google.com\/group\/mozilla.dev.platform\/browse_thread\/thread\/3bd5f5599caf2e14#\">listed in the post<\/a> and have been changed ahead of the release of Firefox 3.1 Beta 3:<\/p>\n<p><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475897\">475897<\/a> imgIContainer<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475898\">475898<\/a> jsdIDebuggerService<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475900\">475900<\/a> nsIAbDirectoryQueryArguments<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475901\">475901<\/a> nsIAccessibleValue<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475912\">475912<\/a> nsITokenDialogs<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475913\">475913<\/a> nsIXULWindow<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475915\">475915<\/a> nsPIWindowWatcher<\/p>\n<p>These interfaces will be changed by the mailnews team before the release of Thunderbird 3:<\/p>\n<p><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475909\">475909<\/a> nsIMailtoUrl<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475903\">475903<\/a> nsIFolderListener<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475904\">475904<\/a> nsIImapMailFolderSink<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475906\">475906<\/a> nsIImportMail nsIImportMailboxDescriptor<br \/>\n<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=475907\">475907<\/a> nsINNTPNewsgroupList<\/p>\n<p><strong>Am I affected?<\/strong><\/p>\n<p>Very few people are likely affected by this change.\u00a0 You might be affected if:<\/p>\n<ol>\n<li>Your extension includes binary components written in C++ and uses the affected interfaces.<\/li>\n<li>Your extension is loading an affected component using the IID instead of by name.<\/li>\n<\/ol>\n<p><em>JavaScript-only extensions that refer to components by name instead of by IID will not be affected by this change.\u00a0 This is almost all extensions.<\/em><\/p>\n<p><strong>What do I have to do if I&#8217;m affected?<\/strong><\/p>\n<p>If you&#8217;ve got an affected C++ component all you will have to do is rebuild your component with the new header files and re-release it.\u00a0 We&#8217;re not changing interfaces, just the IID associated with them.<\/p>\n<p>If you&#8217;ve got a component in JavaScript and you&#8217;re using interfaces by IID instead of name you will have to change the IID in your extension and re-release.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is here to warn a subset of add-on authors that we&#8217;re making some late changes to the IID for some interfaces on the Gecko 1.9.1 branch.\u00a0 A very &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/\">Read more<\/a><\/p>\n","protected":false},"author":94,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44],"tags":[278877,278858],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IID Changes to Some Gecko 1.9.1 Interfaces - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Blizzard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/\",\"name\":\"IID Changes to Some Gecko 1.9.1 Interfaces - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2009-02-10T15:45:38+00:00\",\"dateModified\":\"2009-05-06T21:10:04+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/2d1830e2d566ec1fc4f2c2c1c3c1ec01\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IID Changes to Some Gecko 1.9.1 Interfaces\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/\",\"name\":\"Mozilla Add-ons Community Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/2d1830e2d566ec1fc4f2c2c1c3c1ec01\",\"name\":\"Christopher Blizzard\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/60e8d4680b2951023e8396b48b3daff7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/60e8d4680b2951023e8396b48b3daff7?s=96&d=mm&r=g\",\"caption\":\"Christopher Blizzard\"},\"description\":\"Making the web better, one release at a time.\",\"sameAs\":[\"http:\/\/www.0xdeadbeef.com\/weblog\"],\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/blizzardmozillacom\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IID Changes to Some Gecko 1.9.1 Interfaces - Mozilla Add-ons Community Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/","twitter_misc":{"Written by":"Christopher Blizzard","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/","url":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/","name":"IID Changes to Some Gecko 1.9.1 Interfaces - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2009-02-10T15:45:38+00:00","dateModified":"2009-05-06T21:10:04+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/2d1830e2d566ec1fc4f2c2c1c3c1ec01"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2009\/02\/10\/iid-changes-to-some-gecko-191-interfaces\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"IID Changes to Some Gecko 1.9.1 Interfaces"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/addons\/#website","url":"https:\/\/blog.mozilla.org\/addons\/","name":"Mozilla Add-ons Community Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/2d1830e2d566ec1fc4f2c2c1c3c1ec01","name":"Christopher Blizzard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/60e8d4680b2951023e8396b48b3daff7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/60e8d4680b2951023e8396b48b3daff7?s=96&d=mm&r=g","caption":"Christopher Blizzard"},"description":"Making the web better, one release at a time.","sameAs":["http:\/\/www.0xdeadbeef.com\/weblog"],"url":"https:\/\/blog.mozilla.org\/addons\/author\/blizzardmozillacom\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/313"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}