{"id":6700,"date":"2013-08-27T14:50:50","date_gmt":"2013-08-27T21:50:50","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=6700"},"modified":"2013-08-27T14:50:50","modified_gmt":"2013-08-27T21:50:50","slug":"nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/","title":{"rendered":"nsIBrowserSearchEngine interface change in latest Firefox 24 beta"},"content":{"rendered":"<p>There is a longer Firefox 24 add-on compatibility blog post coming up, but this change is particularly important because it was introduced during the beta cycle and could lead to stability problems for binary add-ons that use this interface.<\/p>\n<p>In <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=493051\">bug 493051<\/a>, the nsIBrowserSearchEngine interface was changed, specifically the signature of the <em>addEngine<\/em> function. However, the interface UUID was not updated along with it. This is now corrected in <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=907893\">bug\u00a0907893, <\/a>fixed on the latest beta. This means that if you use nsIBrowserSearchEngine from a binary XPCOM component and you built it against one of the early betas, it will not work correctly with the latest beta or the final release version. The solution is to rebuild the component using the latest beta.<\/p>\n<p>We avoid as much as possible to make compatibility-breaking changes during the beta cycle, but they can sometimes slip through the cracks. We&#8217;re working on improving our analysis tools so we can catch accidents like this one before they become a problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a longer Firefox 24 add-on compatibility blog post coming up, but this change is particularly important because it was introduced during the beta cycle and could lead to &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/\">Read more<\/a><\/p>\n","protected":false},"author":173,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[388,44,295],"tags":[278877,28095],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>nsIBrowserSearchEngine interface change in latest Firefox 24 beta - 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\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jorge Villalobos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/\",\"name\":\"nsIBrowserSearchEngine interface change in latest Firefox 24 beta - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2013-08-27T21:50:50+00:00\",\"dateModified\":\"2013-08-27T21:50:50+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nsIBrowserSearchEngine interface change in latest Firefox 24 beta\"}]},{\"@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\/a098261b4b5510d408ff31f492606925\",\"name\":\"Jorge Villalobos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g\",\"caption\":\"Jorge Villalobos\"},\"description\":\"Jorge is the Product Manager for addons.mozilla.org\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/jvillalobosmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nsIBrowserSearchEngine interface change in latest Firefox 24 beta - 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\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/","twitter_misc":{"Written by":"Jorge Villalobos","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/","url":"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/","name":"nsIBrowserSearchEngine interface change in latest Firefox 24 beta - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2013-08-27T21:50:50+00:00","dateModified":"2013-08-27T21:50:50+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2013\/08\/27\/nsibrowsersearchengine-interface-change-in-latest-firefox-24-beta\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"nsIBrowserSearchEngine interface change in latest Firefox 24 beta"}]},{"@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\/a098261b4b5510d408ff31f492606925","name":"Jorge Villalobos","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d1966118f16e4b99a6e3ad07883be33?s=96&d=mm&r=g","caption":"Jorge Villalobos"},"description":"Jorge is the Product Manager for addons.mozilla.org","url":"https:\/\/blog.mozilla.org\/addons\/author\/jvillalobosmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6700"}],"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\/173"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=6700"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/6700\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=6700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=6700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=6700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}