2010-11-05 22:14:19 +03:00
<!DOCTYPE html>
< html >
< head >
< title > QUnit Test Suite< / title >
2011-05-26 03:43:46 +04:00
< link rel = "stylesheet" href = "{{ url('qunit_css') }}?v={{ timestamp }}" type = "text/css" media = "screen" >
2010-11-05 22:14:19 +03:00
< / head >
< body
data-app="{{ request.APP.short }}"
data-appname="{{ request.APP.pretty }}"
data-appid="{{ request.APP.id }}"
2011-02-03 00:06:24 +03:00
data-min-beta-version="{{ settings.MIN_BETA_VERSION }}"
2011-09-15 08:44:29 +04:00
data-nightly-version="8.0"
2010-11-05 22:14:19 +03:00
data-anonymous="true"
data-readonly="false"
2011-01-06 02:53:57 +03:00
data-media-url="{{ MEDIA_URL }}"
2011-04-16 02:29:12 +04:00
data-paypal-url="/paypal"
2011-01-06 02:53:57 +03:00
data-default-locale="en-us">
2010-11-05 22:14:19 +03:00
< h1 id = "qunit-header" > QUnit Test Suite ({{ suite.name }})< / h1 >
< h2 id = "qunit-banner" > < / h2 >
< div id = "qunit-testrunner-toolbar" > < / div >
{% if in_directory or subsuites %}
< div id = "navigation" >
{% if in_subdirectory %}
< a href = "{{ url('qunit_test_overview', previous_directory) }}" > ..< / a >
{% endif %}
{% for suite in subsuites %}
< a href = "{{ suite }}/" > {{ suite }}< / a >
{% endfor %}
< / div >
{% endif %}
< h2 id = "qunit-userAgent" > < / h2 >
< ol id = "qunit-tests" > < / ol >
< div id = "qunit-fixture" > test markup, will be hidden< / div >
2010-12-08 20:04:33 +03:00
< div id = "sandbox" > <!-- custom Zamboni sandbox area --> < / div >
2010-11-05 22:14:19 +03:00
2010-11-23 01:06:18 +03:00
{# The following HTML can be applied to #qunit-fixture in test setup #}
< div id = "addon-validator-template" >
< div class = "addon-validator-suite" id = "addon-validator-suite-test"
2010-11-23 21:57:39 +03:00
data-validateurl="/validate">
2010-11-23 01:06:18 +03:00
{% with validate_url="/validate" %}
{% include "devhub/addons/includes/validation_test_results.html" %}
{% endwith %}
< / div >
< / div >
2011-05-07 03:23:03 +04:00
< div id = "addon-compatibility-template" >
< div class = "addon-validator-suite" id = "addon-validator-suite-test"
data-validateurl="/validate">
2011-05-12 23:25:46 +04:00
{% with app_trans={'{ec8030f7-c20a-464f-9b0e-13a3a9e97384}': 'Firefox'},
2011-06-06 20:05:24 +04:00
version_change_links={'{ec8030f7-c20a-464f-9b0e-13a3a9e97384} 6.*': '/firefox-6-changes'},
target_version={'{ec8030f7-c20a-464f-9b0e-13a3a9e97384}': '6.*'} %}
2011-05-07 03:23:03 +04:00
{% include "devhub/addons/includes/validation_compat_test_results.html" %}
{% endwith %}
< / div >
< / div >
2010-12-01 03:27:01 +03:00
< div id = "l10n-translation" >
< div data-name = "summary" class = "trans" id = "trans-summary" >
< textarea lang = "en-us" name = "summary_en-us" cols = "40" rows = "10"
id="id_summary_0" style="display: block;">
Firebug integrates with Firefox to put a wealth of development tools...
< / textarea >
< textarea lang = "ja" name = "summary_ja" cols = "40" rows = "10" id = "id_summary_1"
style="display: none;">
Firebug は、Web ページを閲覧中にクリック一つで使える豊富な開発ツールを Firefox に統合します。あなたはあらゆる
< / textarea >
< / div >
< / div >
< div id = "l10n-menu" >
< ul >
< li > < a href = "#en-us" class = "default-locale" > English (US)< / a > < / li >
< li > < a href = "#ja" > 日本語< / a > < / li >
< li > < a href = "#id" > Bahasa Indonesia< / a > < / li >
< / ul >
< / div >
2011-01-06 02:29:35 +03:00
< div id = "preview-list" >
< div id = "edit-addon-media" >
2011-01-19 07:55:14 +03:00
< div id = "file-list" >
< div class = "preview" >
< span class = "handle" style = "display: none;" > < / span >
2011-04-02 01:21:02 +04:00
< div class = "preview-thumb" data-url = "" style = "background-image: url();" >
2011-01-19 07:55:14 +03:00
< / div >
< input type = "hidden" id = "id_files-0-id" name = "files-0-id" >
< span class = "js-hidden delete" > < input type = "checkbox" id = "id_files-0-DELETE" name = "files-0-DELETE" > < label for = "id_files-0-DELETE" > Delete< / label > < / span >
< div class = "edit-previews-text" >
< label class = "above-the-field" data-for = "files-0-caption" for = "id_files-0-caption_0" >
Please provide a caption for this screenshot:
< span class = "locale" >
English (US)
< / span > < / label >
< div data-name = "files-0-caption" class = "trans" id = "trans-files-0-caption" > < textarea lang = "en-us" id = "id_files-0-caption_0" cols = "40" name = "files-0-caption_en-us" rows = "10" class = "unsaved" > < / textarea > < textarea lang = "init" class = "trans-init" cols = "40" name = "files-0-caption_init" rows = "10" style = "display: none;" > < / textarea > < / div >
< a class = "remove" href = "#" > x< / a >
< / div >
< div class = "js-hidden position" >
< input type = "text" id = "id_files-0-position" value = "0" name = "files-0-position" >
< / div >
< div class = "preview_extra" >
< input type = "text" id = "id_files-0-upload_hash" name = "files-0-upload_hash" >
< / div >
< / p >
< / div >
2011-01-06 02:29:35 +03:00
< / div >
< / div >
< / div >
2011-01-05 02:02:47 +03:00
< div id = "addon-platform-chooser" >
2011-03-24 21:48:57 +03:00
<!-- TODO(Kumar) create faux form objects and include add_file_modal.html here -->
2011-01-05 02:02:47 +03:00
< form method = "post" id = "create-addon" class = "item" action = "" >
2011-03-24 21:48:57 +03:00
< div class = "platform" >
< div class = "desktop-platforms" >
< label > Which desktop platforms is this file compatible with?< / label >
< ul >
< li > < label for = "id_desktop_platforms_0" >
< input value = "1" checked = "checked" name = "desktop_platforms" id = "id_desktop_platforms_0" type = "checkbox" class = "platform" >
All Platforms< / label > < / li >
< li > < label for = "id_desktop_platforms_1" >
< input value = "2" id = "id_desktop_platforms_1" type = "checkbox" class = "platform" name = "desktop_platforms" >
Linux< / label > < / li >
< li > < label for = "id_desktop_platforms_2" >
< input value = "3" type = "checkbox" id = "id_desktop_platforms_2" name = "desktop_platforms" class = "platform" >
Mac OS X< / label > < / li >
< li > < label for = "id_desktop_platforms_3" >
< input value = "5" class = "platform" type = "checkbox" id = "id_desktop_platforms_3" name = "desktop_platforms" >
Windows< / label > < / li >
< / ul >
< / div >
< div class = "mobile-platforms" >
< label > Which mobile platforms is this file compatible with?< / label >
< ul >
< li > < label for = "id_mobile_platforms_0" >
< input value = "9" type = "checkbox" class = "platform" name = "mobile_platforms" id = "id_mobile_platforms_0" / >
All Platforms< / label > < / li >
< li > < label for = "id_mobile_platforms_1" >
< input value = "7" id = "id_mobile_platforms_1" type = "checkbox" class = "platform" name = "mobile_platforms" / >
Android< / label > < / li >
< li > < label for = "id_mobile_platforms_2" >
< input value = "8" type = "checkbox" id = "id_mobile_platforms_2" name = "mobile_platforms" class = "platform" / >
Maemo< / label > < / li >
< / ul >
< / div >
< / div >
2011-01-05 02:02:47 +03:00
< / form >
< / div >
2011-03-14 00:56:38 +03:00
2011-03-24 21:48:57 +03:00
< div id = "addon-platform-exclusion" >
<!-- TODO(Kumar) create faux form objects and include add_file_modal.html here -->
< div id = "file-upload-template" >
< form >
<!-- for testing this has to be a non - input element, since
you can't access ".file" on an input element -->
2011-03-15 03:42:08 +03:00
< div data-upload-url = "/" id = "upload-file-input" > < / div >
2011-03-24 21:48:57 +03:00
< / form >
< / div >
2011-01-29 00:37:42 +03:00
< div class = "platform" >
2011-03-24 21:48:57 +03:00
< div class = "desktop-platforms" >
< label > Which desktop platforms is this file compatible with?< / label >
< ul >
< li > < label for = "id_desktop_platforms_0" >
< input value = "1" checked = "checked" name = "desktop_platforms" id = "id_desktop_platforms_0" type = "checkbox" class = "platform" >
All Platforms< / label > < / li >
< li > < label for = "id_desktop_platforms_1" >
< input value = "2" id = "id_desktop_platforms_1" type = "checkbox" class = "platform" name = "desktop_platforms" >
Linux< / label > < / li >
< li > < label for = "id_desktop_platforms_2" >
< input value = "3" type = "checkbox" id = "id_desktop_platforms_2" name = "desktop_platforms" class = "platform" >
Mac OS X< / label > < / li >
< li > < label for = "id_desktop_platforms_3" >
< input value = "5" class = "platform" type = "checkbox" id = "id_desktop_platforms_3" name = "desktop_platforms" >
Windows< / label > < / li >
< / ul >
< / div >
< div class = "mobile-platforms" >
< label > Which mobile platforms is this file compatible with?< / label >
< ul >
< li > < label for = "id_mobile_platforms_0" >
< input value = "9" type = "checkbox" class = "platform" name = "mobile_platforms" id = "id_mobile_platforms_0" / >
All Platforms< / label > < / li >
< li > < label for = "id_mobile_platforms_1" >
< input value = "7" id = "id_mobile_platforms_1" type = "checkbox" class = "platform" name = "mobile_platforms" / >
Android< / label > < / li >
< li > < label for = "id_mobile_platforms_2" >
< input value = "8" type = "checkbox" id = "id_mobile_platforms_2" name = "mobile_platforms" class = "platform" / >
Maemo< / label > < / li >
< / ul >
< / div >
2011-01-29 00:37:42 +03:00
< / div >
< / div >
2011-03-14 00:56:38 +03:00
2011-04-14 02:53:57 +04:00
< div id = "exists" >
< span class = "exists" > < / span >
< / div >
2011-01-06 04:02:38 +03:00
< div id = "slugified-field" >
< input id = "id_name" / >
< span id = "slug_edit" class = "edit_with_prefix edit_initially_hidden" >
< input type = "text" maxlength = "30" name = "slug" id = "id_slug" >
< / span >
< span id = "slug_readonly" >
< span id = "slug_value" > < / span >
< a id = "edit_slug" href = "#" > {{ _('Edit') }}< / a >
< / span >
< / div >
2011-01-13 00:45:48 +03:00
< div id = "addon-cats" data-max-categories = "2" >
< div data-max-categories = "2" >
2011-09-10 03:40:29 +04:00
< div id = "addon-cats-fx" class = "addon-app-cats" >
2011-01-13 00:45:48 +03:00
< label > Select < b > up to 2< / b > Firefox categories for this add-on:< / label >
< ul class = "addon-categories" >
< li > < label for = "id_form-0-categories_0" > < input type = "checkbox" name = "form-0-categories" value = "72" id = "id_form-0-categories_0" / > Alerts & Updates< / label > < / li >
< li > < label for = "id_form-0-categories_1" > < input checked = "checked" type = "checkbox" name = "form-0-categories" value = "14" id = "id_form-0-categories_1" / > Appearance< / label > < / li >
< li > < label for = "id_form-0-categories_2" > < input checked = "checked" type = "checkbox" name = "form-0-categories" value = "22" id = "id_form-0-categories_2" / > Bookmarks< / label > < / li >
< / ul >
< ul class = "addon-misc-category" >
< li > < label for = "id_form-0-categories_13" > < input type = "checkbox" name = "form-0-categories" value = "73" id = "id_form-0-categories_13" / > My add-on doesn' t fit into any of the categories< / label > < / li >
< / ul >
< / div >
2011-09-10 03:40:29 +04:00
< div id = "addon-cats-tb" class = "addon-app-cats" >
2011-01-13 00:45:48 +03:00
< label > Select < b > up to 2< / b > Thunderbird categories for this add-on:< / label >
< ul class = "addon-categories" >
< li > < label for = "id_form-1-categories_0" > < input type = "checkbox" name = "form-1-categories" value = "23" id = "id_form-1-categories_0" / > Contacts< / label > < / li >
< li > < label for = "id_form-1-categories_1" > < input type = "checkbox" name = "form-1-categories" value = "69" id = "id_form-1-categories_1" / > Language Support< / label > < / li >
< / ul >
< ul class = "addon-misc-category" >
< li > < label for = "id_form-1-categories_4" > < input type = "checkbox" name = "form-1-categories" value = "50" id = "id_form-1-categories_4" / > My add-on doesn' t fit into any of the categories< / label > < / li >
< / ul >
< / div >
< / div >
< / div >
2011-02-17 01:19:57 +03:00
< div id = "editors-search-form" >
< form >
< label for = "id_application_id" > Application< / label >
< select data-url = "/application_versions.json" name = "application_id" id = "id_application_id" >
< option value = "" selected = "selected" > < / option >
< option value = "1" > Firefox< / option >
< option value = "2" > Mozilla< / option >
< / select >
< label for = "id_max_version" > Max. Version< / label >
< select name = "max_version" id = "id_max_version" >
< option value = "" selected = "selected" > Select an application first< / option >
< / select >
< / form >
< / div >
2011-03-02 22:38:33 +03:00
< div id = "editors-motd-template" >
{% with motd='This is an announcement' %}
{% include "editors/includes/daily-message.html" %}
{% endwith %}
< / div >
< div id = "editors-motd-for-edit-template" >
{% with motd='This is an announcement' %}
{% include "editors/includes/daily-message.html" %}
{% endwith %}
< div id = "editor-motd" > <!-- admin edit form and stuff --> < / div >
< / div >
2011-09-02 02:52:06 +04:00
< div id = "file-perf-tests" >
{% with version={'all_files': [{'can_be_perf_tested': Mock(return_value=True), 'id': 1}]}, addon={'slug': 'foo'} %}
{% include "devhub/addons/listing/perf_file_listing.html" %}
{% endwith %}
< / div >
2011-03-03 22:32:24 +03:00
< div id = "csrf-template" >
< input id = "csrfmiddlewaretoken" value = "<csrf-from-input>" >
< / div >
2011-02-26 04:12:11 +03:00
< div id = "buttons" >
2011-06-30 04:31:53 +04:00
< h2 class = "addon" > < span class = "version" > < / span > < / h2 >
< div id = "addon-summary" >
< table >
< tr class = "addon-compatible" > < td > < / td > < / tr >
< tr class = "addon-updated" > < td > < time > < / time > < / td > < / tr >
< / table >
< / div >
2011-02-26 04:12:11 +03:00
< div class = "install-shell" >
< div class = "install featuredaddon"
data-version-supported="false">
< / div >
< / div >
< div class = "backup-button hidden" >
< div class = "install-shell" >
< div class = "install featuredaddon"
2011-06-30 04:31:53 +04:00
data-min=""
data-max=""
data-version="0.2"
data-compatible-apps="Fx 1.0"
data-lastupdated-isotime="today"
data-lastupdated-datetime="today"
2011-02-26 04:12:11 +03:00
data-version-supported="true">
< / div >
< / div >
< / div >
< / div >
2011-04-19 21:19:30 +04:00
< div id = "files-wrapper" >
2011-05-11 01:04:34 +04:00
< div id = "files" >
2011-03-08 03:13:29 +03:00
< ul >
2011-04-19 21:19:30 +04:00
< li >
2011-03-08 03:13:29 +03:00
< a class = "file" href = "" > someurl< / a >
< / li >
2011-04-19 21:19:30 +04:00
< li >
2011-03-29 23:38:15 +04:00
< a class = "directory closed" href = "" > foo< / a >
2011-03-08 03:13:29 +03:00
< / li >
2011-05-03 00:46:54 +04:00
< ul class = "js-hidden" >
2011-04-19 21:19:30 +04:00
< li >
< a class = "file" href = "someurl" > foo/bar.txt< / a >
< / li >
< / ul >
2011-03-08 03:13:29 +03:00
< / ul >
2011-04-19 21:19:30 +04:00
< / div >
2011-03-08 03:13:29 +03:00
< / div >
2011-04-16 02:29:12 +04:00
< div id = "paypal" >
< div class = "contribute" >
< a href = "/paykey?src=direct" class = "suggested-amount" > Contribute< / a >
< / div >
< / div >
2011-05-28 04:56:06 +04:00
< div id = "password-strength" >
< input type = "password" data-min-length = "8" / >
< / div >
2010-11-23 01:06:18 +03:00
2011-08-09 04:13:03 +04:00
< div id = "personas" >
< legend > Persona License< / legend >
< input type = "hidden" name = "license" id = "id_license" >
< div id = "cc-chooser" >
< h3 > Can others share your Persona, as long as you're given credit?< / h3 >
< ul >
< li > < label > < input type = "radio" name = "cc-attrib" value = "0" > Yes< / label > < / li >
< li > < label > < input type = "radio" name = "cc-attrib" value = "1" > No< / label > < / li >
< / ul >
< h3 > Can others make commercial use of your Persona?< / h3 >
< ul >
< li > < label > < input type = "radio" name = "cc-noncom" value = "0" > Yes< / label > < / li >
< li > < label > < input type = "radio" name = "cc-noncom" value = "1" > No< / label > < / li >
< / ul >
< h3 > Can others create derivative works from your Persona?< / h3 >
< ul >
< li > < label > < input type = "radio" name = "cc-noderiv" value = "0" > Yes< / label > < / li >
< li > < label > < input type = "radio" name = "cc-noderiv" value = "1" > Yes, as long as they share alike< / label > < / li >
< li > < label > < input type = "radio" name = "cc-noderiv" value = "2" > No< / label > < / li >
< / ul >
< div id = "persona-license" >
< p > Your Persona will be released under the following license:< / p >
< p id = "cc-license" class = "license icon" > < / p >
< p class = "select-license" >
< a href = "#" > Select a different license.< / a >
< / p >
< / div >
< / div >
< div id = "persona-license-list" class = "hidden" >
< h3 > Select a license for your Persona.< / h3 >
< ul >
< li > < label > < input type = "radio" name = "license" value = "7" > All Rights Reserved< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "9" > Creative Commons Attribution 3.0< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "10" > Creative Commons Attribution-NonCommercial 3.0< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "11" > Creative Commons Attribution-NonCommercial-NoDerivs 3.0< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "8" > Creative Commons Attribution-Noncommercial-Share Alike 3.0< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "12" > Creative Commons Attribution-NoDerivs 3.0< / label > < / li >
< li > < label > < input type = "radio" name = "license" value = "13" > Creative Commons Attribution-ShareAlike 3.0< / label > < / li >
< / ul >
< / div >
< / div >
2011-09-01 04:12:58 +04:00
< div id = "acr" >
< div class = "site-tip hidden" id = "acr-pitch" > Some ACR propaganda goes here.< / div >
< div class = "install-shell" >
< div class = "install featuredaddon" data-addon = "1865"
2011-09-15 08:44:29 +04:00
data-name="Adblock Plus" data-min="3.0" data-max="9.0">
2011-09-01 04:12:58 +04:00
< p class = "install-button" >
2011-09-01 05:51:37 +04:00
< a data-hash = "sha256:2bb766a" class = "button download" > Download Now< / a >
2011-09-01 04:12:58 +04:00
< / p >
< / div >
2011-09-01 05:51:37 +04:00
< / div >
< / div >
< div id = "acr-override" class = "listing" >
< div class = "items" >
< div class = "item addon" >
< div class = "install-shell" >
2011-09-15 08:44:29 +04:00
< div data-addon = "1865" data-name = "Adblock Plus" data-min = "1.0" data-max = "99.9" >
2011-09-01 05:51:37 +04:00
< p class = "install-button" >
< a data-hash = "sha256:2bb766a" class = "button download" href = "" > < span > Download Now< / span > < / a >
< / p >
< / div >
< / div >
< / div >
< div class = "item addon" >
< div class = "install-shell" >
2011-09-15 08:44:29 +04:00
< div data-addon = "3615" data-name = "Delicious Bookmarks" data-min = "3.6" data-max = "7.*" >
2011-09-01 05:51:37 +04:00
< p class = "install-button" >
< a data-hash = "sha256:2bb766a" class = "button download" href = "" > < span > Download Now< / span > < / a >
< / p >
< / div >
< / div >
< / div >
2011-09-01 04:12:58 +04:00
< / div >
< / div >
2011-08-09 04:13:03 +04:00
2011-07-29 00:01:32 +04:00
< script type = "text/javascript" >
waffle = {
flag: function () { return true; },
switch: function () { return true; },
sample: function () { return true; }
}
< / script >
2011-07-30 01:28:20 +04:00
2011-05-03 20:48:25 +04:00
< script src = "{{ static(url('jsi18n')) }}" > < / script >
2010-11-05 22:14:19 +03:00
{{ js('common') }}
2011-05-03 20:48:25 +04:00
< script async defer src = "{{ static(url('addons.buttons.js')) }}" > < / script >
2011-05-26 03:43:46 +04:00
< script type = "text/javascript" src = "{{ url('qunit_js') }}?v={{ timestamp }}" > < / script >
< script type = "text/javascript" src = "{{ MEDIA_URL }}js/lib/jquery.mockjax.js?v={{ timestamp }}" > < / script >
2010-11-05 22:14:19 +03:00
{% for url in suite.extra_urls %}
2011-05-26 03:43:46 +04:00
< script type = "text/javascript" src = "{{ url }}?v={{ timestamp }}" > < / script >
2010-11-05 22:14:19 +03:00
{% endfor %}
{% for url in suite.extra_media_urls %}
2011-05-26 03:43:46 +04:00
< script type = "text/javascript" src = "{{ MEDIA_URL }}{{ url }}?v={{ timestamp }}" > < / script >
2010-11-05 22:14:19 +03:00
{% endfor %}
{% for file in files %}
2011-05-26 03:43:46 +04:00
< script type = "text/javascript" src = "{{ url('qunit_test', file) }}?v={{ timestamp }}" > < / script >
2010-11-05 22:14:19 +03:00
{% endfor %}
< / body >
< / html >