{"id":3752,"date":"2011-12-01T14:19:15","date_gmt":"2011-12-01T22:19:15","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=3752"},"modified":"2011-12-01T14:19:15","modified_gmt":"2011-12-01T22:19:15","slug":"compatibility-for-firefox-10","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/","title":{"rendered":"Add-on Compatibility for Firefox 10"},"content":{"rendered":"<p>Firefox 10 was pushed to the Aurora channel a few weeks ago, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. It&#8217;s a pretty long list this time, but most are removals of obscure and rarely-used XPCOM and DOM interfaces.<\/p>\n<p>As usual, you should check <a href=\"https:\/\/developer.mozilla.org\/en\/Firefox_10_for_developers\">Firefox 10 for Developers<\/a> for additional information.<\/p>\n<h3>DOM Changes<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=687400\">Remove isSameNode<\/a>. This is the change that has the greatest impact by far, since it is used in many add-ons and web sites. To compare nodes you can use the === operator instead.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=687422\">Remove isElementContentWhitespace<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=683482\">Remove replaceWholeText()<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=687426\">Remove Document.xmlEncoding<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=693154\">Remove Document.xmlStandalone<\/a>.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=693162\">Remove Document.xmlVersion<\/a>.<\/li>\n<\/ul>\n<h3>XPCOM Changes<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=691524\">Remove support for browser.startup.page == 2<\/a>. This setting wasn&#8217;t in use, but a consequence of this change is that the lastPageVisited property in nsIBrowserHistory was removed.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=677085\">Remove nsIDOMNSHTMLFrameElement<\/a>. Use nsIDOMHTMLFrameElement instead.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=684821\">Remove nsIDOMNSHTMLElement<\/a>. Use nsIDOMHTMLElement instead.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=675553\">Switch from PRBool to bool<\/a>. The PRBool type was cleaned up all around in favor of bool.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=540433\">Remove nsIDocumentViewer<\/a>.<\/li>\n<li>\u00a0<a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=687361\">Implement IndexedDB setVersion API changes<\/a>. This changes several DB interfaces, but they are meant for internal usage.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=700314\">Remove nsNavHistory nsICharsetResolver implementation<\/a>.<\/li>\n<\/ul>\n<h3>Other Changes<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=94199\">fastload XBL methods and properties<\/a>. If you use XBL, make sure you test it thoroughly. If you run into bugs that can&#8217;t be reproduced in Firefox 9, please let us know!<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=683838\">Different regular expression result since Firefox 7<\/a>. A small RegExp fix, but it can change the result of certain expressions.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=677797\">Mandatory ASLR on Windows<\/a>. Binary components should work with ASLR, otherwise there will be a performance penalty when loading them in Firefox. We&#8217;re also considering adding detection for non-NX and non-ASLR binaries on AMO, possibly rejecting them.<\/li>\n<\/ul>\n<h3>New stuff!<\/h3>\n<ul>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=515907\">Support taskbar icon overlay in Windows 7<\/a>. This allows extensions to add icons to the taskbar icon on Windows 7. There&#8217;s a <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=515907#c52\">sample<\/a> linked in the bug in case you&#8217;re interested.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=675371\">Load\/unload chrome.manifest files for bootstrapped addons dynamically<\/a>. Chrome in bootstrapped add-ons, whoo! Well, it has been possible since before, but now it&#8217;s real easy.<\/li>\n<li><a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=432698\">Add support for mouseenter and mouseleave events<\/a>.<\/li>\n<\/ul>\n<p>Please let me know in the comments if there&#8217;s anything missing or incorrect on these lists. If your add-on breaks on Firefox 10, I&#8217;d like to know.<\/p>\n<p>The compatibility bump to Firefox 10 will happen very soon. If you want your add-on to qualify for this, it should be compatible with 9.*. Versions awaiting review also qualify.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 10 was pushed to the Aurora channel a few weeks ago, so it&#8217;s time again to round up all bugs that could be breaking add-on compatibility. It&#8217;s a pretty &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/\">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,278873,278876,7123],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add-on Compatibility for Firefox 10 - 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\/2011\/12\/01\/compatibility-for-firefox-10\/\" \/>\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=\"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\/2011\/12\/01\/compatibility-for-firefox-10\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/\",\"name\":\"Add-on Compatibility for Firefox 10 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2011-12-01T22:19:15+00:00\",\"dateModified\":\"2011-12-01T22:19:15+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add-on Compatibility for Firefox 10\"}]},{\"@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":"Add-on Compatibility for Firefox 10 - 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\/2011\/12\/01\/compatibility-for-firefox-10\/","twitter_misc":{"Written by":"Jorge Villalobos","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/","url":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/","name":"Add-on Compatibility for Firefox 10 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2011-12-01T22:19:15+00:00","dateModified":"2011-12-01T22:19:15+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/a098261b4b5510d408ff31f492606925"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2011\/12\/01\/compatibility-for-firefox-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Add-on Compatibility for Firefox 10"}]},{"@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\/3752"}],"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=3752"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/3752\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=3752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=3752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=3752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}