{"id":244,"date":"2009-01-13T11:06:19","date_gmt":"2009-01-13T18:06:19","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=244"},"modified":"2009-05-06T14:30:23","modified_gmt":"2009-05-06T21:30:23","slug":"the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/","title":{"rendered":"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2"},"content":{"rendered":"<p>As I&#8217;m sure you&#8217;ve noticed, we&#8217;re pretty hot on getting as many add-ons as possible up to Firefox 3.1 beta 2 compliance. For users, it&#8217;s extremely important that the add-ons that make their browser unique and useful are immediately available when a new version of Firefox is released.<\/p>\n<p>The most cumbersome part of this whole process is having to do a new build of your add-on just to change the maxVerison in install.rdf so you can test it out. Well, that&#8217;s not necessarily the case and while more experienced developers may know this, I want to ensure that contributors that are new to the Mozilla platform are aware that you can test your add-on in Fx 3.1b2 <em><strong>without having to physically update it<\/strong><\/em>.<\/p>\n<p>All builds of Firefox allow you to turn off the add-on compatibility check which prevents unsupported add-ons from running in newer versions of the browser. By disabling this check, you&#8217;ll be able to install your add-on and run it through its paces. The process is painless and described below:<\/p>\n<p>1. In your address bar, type the following: <strong>about:config<\/strong><\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-237\" title=\"about_config-mozilla-firefox-31-beta-2\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg\" alt=\"\" width=\"300\" height=\"33\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/about_config-mozilla-firefox-31-beta-2.jpg 344w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>2. You may see a message that says, &#8220;This might void your warranty!&#8221;. Click on the &#8220;I&#8217;ll be careful&#8230;&#8221; button<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/void.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-242\" title=\"void\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/void-300x84.jpg\" alt=\"\" width=\"300\" height=\"84\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/void-300x84.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/void.jpg 699w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>3. Right click on any entry to display the context menu and select New &gt; Boolean<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/newboolsetting.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-241\" title=\"newboolsetting\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/newboolsetting-300x167.jpg\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/newboolsetting-300x167.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/newboolsetting.jpg 328w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>4. Set the preference name to <strong>extensions.checkCompatibility<\/strong> and the value to <strong>false<\/strong><\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/newboolean.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-240\" title=\"newboolean\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/newboolean-300x164.jpg\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/newboolean-300x164.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/newboolean.jpg 326w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/booleanfalse.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-238\" title=\"booleanfalse\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/booleanfalse-300x163.jpg\" alt=\"\" width=\"300\" height=\"163\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/booleanfalse-300x163.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/booleanfalse.jpg 307w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>5. You should now see the new entry listed<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/compatentry.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-239\" title=\"compatentry\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/compatentry-300x35.jpg\" alt=\"\" width=\"300\" height=\"35\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/compatentry-300x35.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/compatentry.jpg 531w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>6. Finally, restart Firefox and install your add-on<\/p>\n<p>Once you&#8217;ve tested your add-on, you can then decide how to best handle the maxVersion update. In many cases, if your add-on works perfectly and does not require any Fx 3.1-specific code changes, you can simply update the maxVersion via the developer tools on AMO.<\/p>\n<p><a href=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/maxversion.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-247\" title=\"maxversion\" src=\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/maxversion-300x65.jpg\" alt=\"\" width=\"300\" height=\"65\" srcset=\"https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/maxversion-300x65.jpg 300w, https:\/\/blog.mozilla.org\/addons\/files\/\/2009\/01\/maxversion.jpg 502w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If you find that your add-on isn&#8217;t working correctly, then that&#8217;s when you&#8217;ll need to correct any issues and upload a new version for review. The following page lists common issues that may cause your add-on to break:<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/En\/Updating_extensions_for_Firefox_3.1\">https:\/\/developer.mozilla.org\/En\/Updating_extensions_for_Firefox_3.1<\/a><\/p>\n<p>As <a href=\"http:\/\/blog.mozilla.org\/addons\/2009\/01\/09\/public-service-announcement-update-your-add-ons-to-31\/\">Nick mentioned earlier<\/a>, as of Fx 3.1b2, no changes are planned which should affect add-on compatibility so now is a great time to ensure you&#8217;re compliant and that your users will be able to continue to take advantage of your excellent work.<\/p>\n<p><strong>NOTE: Please be sure to set <\/strong><strong>extensions.checkCompatibility <\/strong><strong>back to &#8220;true&#8221; once you&#8217;re done testing. Otherwise, you&#8217;ll bypass checks during your normal browsing that could dramatically affect your experience. It should ONLY be set for testing your add-on and is not recommended for normal browser usage.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;m sure you&#8217;ve noticed, we&#8217;re pretty hot on getting as many add-ons as possible up to Firefox 3.1 beta 2 compliance. For users, it&#8217;s extremely important that the add-ons &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/\">Read more<\/a><\/p>\n","protected":false},"author":120,"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>The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2 - 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\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\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\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/\",\"name\":\"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg\",\"datePublished\":\"2009-01-13T18:06:19+00:00\",\"dateModified\":\"2009-05-06T21:30:23+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage\",\"url\":\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg\",\"contentUrl\":\"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2\"}]},{\"@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\":\"\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2 - 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\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/","twitter_misc":{"Written by":"","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/","url":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/","name":"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage"},"thumbnailUrl":"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg","datePublished":"2009-01-13T18:06:19+00:00","dateModified":"2009-05-06T21:30:23+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#primaryimage","url":"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg","contentUrl":"http:\/\/blog.mozilla.org\/addons\/files\/2009\/01\/about_config-mozilla-firefox-31-beta-2-300x33.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2009\/01\/13\/the-quick-dirty-way-to-test-your-add-ons-in-fx-31b2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"The Quick &amp; Dirty Way to Test Your Add-ons in Fx 3.1b2"}]},{"@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":"","url":"https:\/\/blog.mozilla.org\/addons\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/244"}],"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\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}