",endLoc);//other option
+ }
+
+ summary = xmlHttp.substring(beginLoc, endLoc);
+
+ summary = getCleanText(summary);
+ bugData[i] = new Array(2);
+ bugData[i][0] = id;
+ bugData[i][1] = summary;
+ //alert("loop:" + i);
+ }
+ //alert("end loop:" + bugData, bugData.length);
+ return bugData;
+}
diff --git a/testing/extensions/community/chrome/content/tabs/bugzilla.js b/testing/extensions/community/chrome/content/tabs/bugzilla.js
new file mode 100644
index 00000000000..d33782386b1
--- /dev/null
+++ b/testing/extensions/community/chrome/content/tabs/bugzilla.js
@@ -0,0 +1,205 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Mozilla Community QA Extension
+ *
+ * The Initial Developer of the Original Code is the Mozilla Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2007
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Ben Hsieh
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+* ***** END LICENSE BLOCK ***** */
+
+var bugzilla = {
+ trunkVersion : "3.0",
+ baseURL : qaPref.getPref(qaPref.prefBase+".bugzilla.url", "char"),
+ sysconfig: null,
+ bugReader : null,
+ doSearch : function() {
+
+ var words = $("qa-bugzilla-input-keywords").value;
+ var bugId = $("qa-bugzilla-input-id").value;
+
+ if ($("qa-bugzilla-radio-words").selected) { // keyword search
+
+ if ($("qa-bugzilla-input-os").checked && words.indexOf("os:") == -1) {
+ if (bugzilla.sysconfig == null) bugzilla.sysconfig = new Sysconfig();
+ words += " os:" + bugzilla.sysconfig.opsys.substr(0,3);
+ }
+ if ($("qa-bugzilla-input-version").checked && words.indexOf("version:") == -1) {
+ if (bugzilla.sysconfig == null) bugzilla.sysconfig = new Sysconfig();
+ var branch = bugzilla.sysconfig.branch.substr(0,3);
+ if (branch.indexOf(bugzilla.trunkVersion) != -1) branch = "Trunk";
+
+ words += " version:" + branch;
+ }
+
+ bugzilla.loadBugGroup(words);
+ } else { //id search
+ bugzilla.loadBug(bugId);
+ }
+ },
+ showRecent : function() {
+ $("qa-bugzilla-input-radiogroup").selectedItem = $("qa-bugzilla-radio-words");
+ bugzilla.disableOther();
+ bugzilla.loadBugGroup("product=Core&product=Firefox&product=Mozilla+Application+Suite&product=Thunderbird&product=Toolkit"
+ +"&bug_status=UNCONFIRMED,NEW,ASSIGNED,REOPENED,RESOLVED&chfield=%5BBug%20creation%5D&chfieldfrom=-24h"
+ , true);
+ },
+ loadBugGroup : function (param, detailsearch) {
+ var callback = function(bugarray) { // bugarray is a 2d array with id and summaries
+
+ var menu = document.getElementById('bugSearchList');
+ while (menu.getRowCount()) { // clear menu
+ menu.removeItemAt(0);
+ };
+
+ for (var i = 0; i < bugarray.length; i++) {
+ var row = document.createElement("listitem");
+ row.value = bugarray[i][0];
+ var number = document.createElement("listcell");
+ number.setAttribute("label", bugarray[i][0]);
+ var name = document.createElement("listcell");
+ name.setAttribute("label", bugarray[i][1]);
+ name.setAttribute("crop", "end");
+ name.setAttribute("maxwidth", "175");
+ row.appendChild(number);
+ row.appendChild(name);
+ menu.appendChild(row);
+ }
+
+ if(bugarray.length) menu.selectedIndex = 0;
+
+ $("qa-bugzilla-input-keywords").value = param;
+ if ($('qa_tabrow').selectedItem != $('qa-tabbar-bugzilla')) {
+ bugzilla.highlightTab();
+ }
+ }
+
+ if (bugzilla.bugReader == null) bugzilla.bugReader = new bugAccess();
+ bugzilla.bugReader.setBugSearchOnloadFunc(callback);
+
+ if (detailsearch) bugzilla.bugReader.getBugList(bugzilla.baseURL, "buglist.cgi?="+param, 0);
+ else bugzilla.bugReader.getBugList(bugzilla.baseURL, "quicksearch="+param, 0);
+ },
+ loadBug : function (bugId, preserveCurrent) {
+ var callback = function(bugObj) {
+ // menu
+ var menu = document.getElementById('bugSearchList');
+ while (menu.getRowCount() && !preserveCurrent) { // clear menu
+ menu.removeItemAt(0);
+ };
+
+ var row = document.createElement("listitem");
+ row.value = bugObj["id"];
+ var number = document.createElement("listcell");
+ number.setAttribute("label", bugObj["id"]);
+ var name = document.createElement("listcell");
+ name.setAttribute("label", bugObj["title"]);
+ name.setAttribute("crop", "end");
+ name.setAttribute("maxwidth", "175");
+ row.appendChild(number);
+ row.appendChild(name);
+ menu.appendChild(row);
+
+ // summary
+ $("qa-bugzilla-input-id").value = $("qa-bugzilla-output-id").value = bugObj["id"];
+ $("qa-bugzilla-output-status").value = bugObj["status"];
+ $("qa-bugzilla-output-summary").value = bugObj["info"];
+
+ qaTools.assignLinkHandlers($("qa-bugzilla-output-summary"));
+
+ if ($('qa_tabrow').selectedItem != $('qa-tabbar-bugzilla')) {
+ bugzilla.highlightTab();
+ }
+ }
+ if (bugzilla.bugReader == null) bugzilla.bugReader = new bugAccess();
+ bugzilla.bugReader.getBugSpecs(bugId, bugzilla.baseURL, callback);
+ },
+ disableOther : function() {
+ if ($("qa-bugzilla-radio-words").selected) {
+ $("qa-bugzilla-input-keywords").disabled = false;
+ $("qa-bugzilla-input-os").disabled = false;
+ $("qa-bugzilla-input-version").disabled = false;
+ $("qa-bugzilla-input-id").disabled = true;
+ } else {
+ $("qa-bugzilla-input-id").disabled = false;
+ $("qa-bugzilla-input-keywords").disabled = true;
+ $("qa-bugzilla-input-os").disabled = true;
+ $("qa-bugzilla-input-version").disabled = true;
+ }
+ },
+ handleSelect : function() {
+ var menu = $('bugSearchList');
+ if (menu.selectedItem.value == $("qa-bugzilla-output-id").value) return;
+
+ var callback = function(bugObj) {
+ $("qa-bugzilla-output-id").value = bugObj["id"];
+ $("qa-bugzilla-output-status").value = bugObj["status"];
+ $("qa-bugzilla-output-summary").value = bugObj["info"];
+ }
+ if (bugzilla.bugReader == null) bugzilla.bugReader = new bugAccess();
+ bugzilla.bugReader.getBugSpecs(menu.selectedItem.value, bugzilla.baseURL, callback);
+ },
+ highlightTab : function() {
+ $('qa-tabbar-bugzilla').className = "tabbrowser-tab highlight";
+ },
+ unhighlightTab : function() {
+ $('qa-tabbar-bugzilla').className = "tabbrowser-tab";
+ },
+ openInBugzilla : function() {
+ if ($("qa-bugzilla-output-id").value == "") {
+ alert("no value");
+ return;
+ }
+ var url = bugzilla.baseURL + "show_bug.cgi?id=" + $("qa-bugzilla-output-id").value;
+
+ var type = qaPref.getPref("browser.link.open_external", "int");
+ var where = "tab";
+ if (type == 2) where = "window";
+
+ openUILinkIn(url, where);
+ },
+ findBugzillaLinks : function(node) { // assumes HTML-ns node
+ var RV = new Array();
+ var innerstr = node.innerHTML;
+
+ var prefix = "show_bug.cgi?id=";
+ var index = innerstr.indexOf(prefix);
+ dump(innerstr);
+ if (index == -1) {
+ //TODO: search for "bug"? is that too broad?
+ } else {
+ while(index != -1) {
+ RV.push(innerstr.substr(index+prefix.length,6));
+ dump(RV.length + " found so far, current index: " + index+ " \n");
+ index = innerstr.indexOf(prefix, index + 1);
+ }
+ }
+ return qaTools.makeUniqueArray(RV);
+ }
+}
diff --git a/testing/extensions/community/chrome/content/tabs/bugzilla.xul b/testing/extensions/community/chrome/content/tabs/bugzilla.xul
index 42b6e0508b8..b60cc564c1a 100644
--- a/testing/extensions/community/chrome/content/tabs/bugzilla.xul
+++ b/testing/extensions/community/chrome/content/tabs/bugzilla.xul
@@ -1,76 +1,116 @@
-
+
%qaDTD;
]>
-
-
+
+
+ oncommand="openQAChat();" label="&qa.chat.howdoI.joinnow;" />
-
+
-
+
-
\ No newline at end of file
+
diff --git a/testing/extensions/community/chrome/content/tabs/help.xul b/testing/extensions/community/chrome/content/tabs/help.xul
index 4fd2247d09e..09090260fde 100644
--- a/testing/extensions/community/chrome/content/tabs/help.xul
+++ b/testing/extensions/community/chrome/content/tabs/help.xul
@@ -1,45 +1,45 @@
-
+
%qaDTD;
]>
-
@@ -54,4 +54,4 @@
-
\ No newline at end of file
+
diff --git a/testing/extensions/community/chrome/content/tabs/litmus.xul b/testing/extensions/community/chrome/content/tabs/litmus.xul
index 1bb12f1b53a..ae55d4657fe 100644
--- a/testing/extensions/community/chrome/content/tabs/litmus.xul
+++ b/testing/extensions/community/chrome/content/tabs/litmus.xul
@@ -1,42 +1,41 @@
-
+
-
%qaDTD;
@@ -45,69 +44,79 @@
-
+
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -59,29 +52,39 @@
-
+
-
+
-
+
-
+
-
+ &qa.preferences.notification.header;
-
-
-
-
-
-
+
+
+
+
+
+
-
\ No newline at end of file
+
diff --git a/testing/extensions/community/chrome/locale/en-US/qa.dtd b/testing/extensions/community/chrome/locale/en-US/qa.dtd
index 03dccdbb0fc..4ae24ec729e 100644
--- a/testing/extensions/community/chrome/locale/en-US/qa.dtd
+++ b/testing/extensions/community/chrome/locale/en-US/qa.dtd
@@ -1,18 +1,55 @@
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
@@ -44,27 +81,27 @@
Welcome to the Mozilla Quality Assurance community!
-Mozilla Quality Assurance (QA) is a network of countless volunteers
-from the Internet community, along with a group of Mozilla employees, who share
-the common mission of taming the lizard through testing and
+Mozilla Quality Assurance (QA) is a network of countless volunteers
+from the Internet community, along with a group of Mozilla employees, who share
+the common mission of taming the lizard through testing and
constructively reporting bugs in Mozilla products.
-This extension allows you to find bugs in Mozilla products by
-running simple tests within the browser. Helping out doesn't take up much of
-your time, doesn't require any special skills, and helps to improve Mozilla
-products like Firefox and Thunderbird.
+This extension allows you to find bugs in Mozilla products by
+running simple tests within the browser. Helping out doesn't take up much of
+your time, doesn't require any special skills, and helps to improve Mozilla
+products like Firefox and Thunderbird.
-When you find a bug, this extension helps you to report it
-to Litmus,
-the tool we use to track our testing efforts. Your test results are valuable,
-and we use them to ensure that all features work properly across a wide range
-of platforms, operating systems, and configurations.
+When you find a bug, this extension helps you to report it
+to Litmus,
+the tool we use to track our testing efforts. Your test results are valuable,
+and we use them to ensure that all features work properly across a wide range
+of platforms, operating systems, and configurations.
Why Should I Get Involved?
xxx
For more information on Mozilla Quality Assurance, please
-see the
+see the
Mozilla QA Community Wiki.
">
@@ -72,21 +109,21 @@ Mozilla QA Community Wiki.
How do I get started?
-Getting started with Mozilla QA is easy! This setup wizard will ask you a
-few simple questions. Once that's done, you will be taken to the test runner,
-where you can select what you want to test, run those tests, and submit your
-results to Litmus. You'll also have a chance to learn about QA Community
+Getting started with Mozilla QA is easy! This setup wizard will ask you a
+few simple questions. Once that's done, you will be taken to the test runner,
+where you can select what you want to test, run those tests, and submit your
+results to Litmus. You'll also have a chance to learn about QA Community
events and other ways to get involved.
A note on privacy
-When you use the QA Extension, you are submitting test results to an
+When you use the QA Extension, you are submitting test results to an
open system. Other members of the community will access the information you
-submit in order to improve the quality of Mozilla products. You
-should not submit any private or confidential information
+submit in order to improve the quality of Mozilla products. You
+should not submit any private or confidential information
using the Mozilla QA Extension. If you provide your real name or an IRC nickname
-to display instead, we will hide your email address from
-public view to help prevent email harvesting bots from spamming you.
-For more information, please see our
+to display instead, we will hide your email address from
+public view to help prevent email harvesting bots from spamming you.
+For more information, please see our
privacy policy.
@@ -94,39 +131,39 @@ privacy policy.
">
-
-Create Account button to create your new account. Once your
+Create Account button to create your new account. Once your
account is created, press the 'Continue' button to complete setup.">
Account Created
-Congratulations! Your Litmus
-account has been created. You'll be able to use your new account both here in
+Congratulations! Your Litmus
+account has been created. You'll be able to use your new account both here in
the QA Extension, and on the Litmus website.
That's it!
-You're ready to start testing. If you have any questions along
-the way, you may post to the
+You're ready to start testing. If you have any questions along
+the way, you may post to the
Mozilla QA Blog
-, or, if you prefer, you can join us on
-IRC (Internet Relay
-Chat) and become more involved in our testing community.
-We are in #qa on irc.mozilla.org. If you have an irc client installed already,
+, or, if you prefer, you can join us on
+IRC (Internet Relay
+Chat) and become more involved in our testing community.
+We are in #qa on irc.mozilla.org. If you have an irc client installed already,
you should be able to join by clicking this link:
join #qa.
">
diff --git a/testing/extensions/community/chrome/locale/en-US/qa.properties b/testing/extensions/community/chrome/locale/en-US/qa.properties
index 76df3d4dbf9..0f1e7b3605b 100755
--- a/testing/extensions/community/chrome/locale/en-US/qa.properties
+++ b/testing/extensions/community/chrome/locale/en-US/qa.properties
@@ -1,9 +1,45 @@
+# ***** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Original Code is Mozilla QA Extension Code.
+#
+# The Initial Developer of the Original Code is the Mozilla Corporation.
+# Portions created by the Initial Developer are Copyright (C) 2007
+# the Initial Developer. All Rights Reserved.
+#
+# Contributor(s):
+# Zach Lipton
+# Ben Hsieh
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 2 or later (the "GPL"), or
+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+# in which case the provisions of the GPL or the LGPL are applicable instead
+# of those above. If you wish to allow use of your version of this file only
+# under the terms of either the GPL or the LGPL, and not to allow others to
+# use your version of this file under the terms of the MPL, indicate your
+# decision by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL or the LGPL. If you do not delete
+# the provisions above, a recipient may use your version of this file under
+# the terms of any one of the MPL, the GPL or the LGPL.
+#
+# ***** END LICENSE BLOCK *****
+
qa.extension.testcase.head = Testcase #
qa.extension.prefs.loginError = Login Error. Please check your username and password or create a new account.
qa.extension.prefs.loadingMsg = Validating account information. Please Wait...
qa.extension.prefs.savedMsg = Your settings have been saved
qa.extension.sysconfig.loadingMsg = Loading menu options...
qa.extension.loading = Loading...
-
qa.extension.litmus.progress = Test %1$S of %2$S
qa.extension.litmus.stats = My tests run - week: %1$S, month: %2$S, all time: %3$S
\ No newline at end of file
diff --git a/testing/extensions/community/chrome/locale/en-US/urls.properties b/testing/extensions/community/chrome/locale/en-US/urls.properties
index 3f76f98683a..2c90ce1231d 100755
--- a/testing/extensions/community/chrome/locale/en-US/urls.properties
+++ b/testing/extensions/community/chrome/locale/en-US/urls.properties
@@ -1,3 +1,40 @@
+# ***** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Original Code is Mozilla QA Extension Code.
+#
+# The Initial Developer of the Original Code is the Mozilla Corporation.
+# Portions created by the Initial Developer are Copyright (C) 2007
+# the Initial Developer. All Rights Reserved.
+#
+# Contributor(s):
+# Zach Lipton
+# Ben Hsieh
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 2 or later (the "GPL"), or
+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+# in which case the provisions of the GPL or the LGPL are applicable instead
+# of those above. If you wish to allow use of your version of this file only
+# under the terms of either the GPL or the LGPL, and not to allow others to
+# use your version of this file under the terms of the MPL, indicate your
+# decision by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL or the LGPL. If you do not delete
+# the provisions above, a recipient may use your version of this file under
+# the terms of any one of the MPL, the GPL or the LGPL.
+#
+# ***** END LICENSE BLOCK *****
+
qa.extension.url.qmo.upcomingEvents = http://quality.mozilla.org/event/2007/06/21/feed/all/all/
qa.extension.url.qmo.news = http://quality.mozilla.org/rss.xml
qa.extension.url.qmo.forum_topics = http://quality.mozilla.org/extension/forum_topics
diff --git a/testing/extensions/community/chrome/skin/browserOverlays.css b/testing/extensions/community/chrome/skin/browserOverlays.css
index c0d73e8561d..04a8371eeb2 100644
--- a/testing/extensions/community/chrome/skin/browserOverlays.css
+++ b/testing/extensions/community/chrome/skin/browserOverlays.css
@@ -1,3 +1,39 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Mozilla Community QA Extension
+ *
+ * The Initial Developer of the Original Code is the Mozilla Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2006
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Zach Lipton
+ * Ben Hsieh
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
#qa-notify {
right: 18px;
bottom: 21px;
@@ -22,4 +58,8 @@
#qa-notify-header {
font-size: 1.5em;
font-weight: bold;
-}
\ No newline at end of file
+}
+
+#qa-statusbar-overlay {
+ list-style-image: url('chrome://qa/skin/qmo-16px.png');
+}
diff --git a/testing/extensions/community/chrome/skin/highlight-end.png b/testing/extensions/community/chrome/skin/highlight-end.png
new file mode 100644
index 00000000000..7c8b3129299
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-end.png differ
diff --git a/testing/extensions/community/chrome/skin/highlight-hover-end.png b/testing/extensions/community/chrome/skin/highlight-hover-end.png
new file mode 100644
index 00000000000..99d5f015790
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-hover-end.png differ
diff --git a/testing/extensions/community/chrome/skin/highlight-hover-mid.png b/testing/extensions/community/chrome/skin/highlight-hover-mid.png
new file mode 100644
index 00000000000..72758200d97
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-hover-mid.png differ
diff --git a/testing/extensions/community/chrome/skin/highlight-hover-start.png b/testing/extensions/community/chrome/skin/highlight-hover-start.png
new file mode 100644
index 00000000000..ab1d72ad8fe
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-hover-start.png differ
diff --git a/testing/extensions/community/chrome/skin/highlight-mid.png b/testing/extensions/community/chrome/skin/highlight-mid.png
new file mode 100644
index 00000000000..b7a51ab1d99
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-mid.png differ
diff --git a/testing/extensions/community/chrome/skin/highlight-start.png b/testing/extensions/community/chrome/skin/highlight-start.png
new file mode 100644
index 00000000000..91c48214480
Binary files /dev/null and b/testing/extensions/community/chrome/skin/highlight-start.png differ
diff --git a/testing/extensions/community/chrome/skin/qa.css b/testing/extensions/community/chrome/skin/qa.css
index 3ab3e7d1d34..2b8d9dadb8b 100755
--- a/testing/extensions/community/chrome/skin/qa.css
+++ b/testing/extensions/community/chrome/skin/qa.css
@@ -1,77 +1,76 @@
-/* ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is the Mozilla Community QA Extension
-#
-# The Initial Developer of the Original Code is the Mozilla Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2007
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Zach Lipton
-# Zach Linder
-# Ben Hsieh
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the LGPL or the GPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK ***** --> */
-
-@import url(chrome://global/skin/);
-
-@import url(chrome://browser/skin/);
-
-@namespace html "http://www.w3.org/1999/xhtml";
-
-#qa-pass {
- background: #99ff99;
- display: none;
-}
-
-/*-------------------------------
- HTML
- -------------------------------*/
-
-#qa_tabbox html|ul, #qa_tabbox html|ol {
- margin: 0;
- padding: 0;
-}
-#qa_tabbox html|ul li {
- list-style-type: square;
- margin-bottom: 0.4em;
-}
-
-#qa_tabbox html|a,
-#qa_tabbox html|a:link,
-#qa_tabbox html|a:visited {
- font-weight: bold;
- color: #0067ac;
-}
-#qa_tabbox html|a:focus,
-#qa_tabbox html|a:hover,
-#qa_tabbox html|a:active {
- color: #333;
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Mozilla Community QA Extension
+ *
+ * The Initial Developer of the Original Code is the Mozilla Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2006
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Zach Lipton
+ * Zach Linder
+ * Ben Hsieh
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+@import url(chrome://global/skin/);
+
+@import url(chrome://browser/skin/);
+
+@namespace html "http://www.w3.org/1999/xhtml";
+
+#qa-pass {
+ background: #99ff99;
+ display: none;
}
+/*-------------------------------
+ HTML
+ -------------------------------*/
+
+#qa_tabbox html|ul, #qa_tabbox html|ol {
+ margin: 0;
+ padding: 0;
+}
+#qa_tabbox html|ul li {
+ list-style-type: square;
+ margin-bottom: 0.4em;
+}
+
+#qa_tabbox html|a,
+#qa_tabbox html|a:link,
+#qa_tabbox html|a:visited {
+ font-weight: bold;
+ color: #0067ac;
+}
+#qa_tabbox html|a:focus,
+#qa_tabbox html|a:hover,
+#qa_tabbox html|a:active {
+ color: #333;
+}
/*remove bullets for everything but lists contained inside testcase data */
html|li {
list-style-type: none !important;
@@ -85,123 +84,154 @@ html|li {
#qa-tab-litmus html|ul, #qa-tab-litmus html|ol {
padding-left: 20px;
-}
-
-
-/*-------------------------------
- TABS
- -------------------------------*/
-#qa_tabbox #qa_tabrow {
- height: 30px !important;
- padding-top: 5px !important;
-}
-#qa_tabbox .tab-icon-image {
- list-style-image: none;
- width: 0;
-}
-#qa_tabbox #qa-tabbar-qmo {
- list-style-image: url(qmo-16px.png);
- width: 15px;
-}
-#qa_tabbox tab, #qa_tabbox tabs spacer {
- border-bottom: 1px solid #ACA899 !important;
-}
-.tabs-left, .tabs-right {
- -moz-border-bottom-colors: #ACA899 #ACA899 !important;
-}
-#qa_tabbox tab[selected="true"] {
- border-bottom: 1px solid #E8E5D8 !important;
-}
-#qa_tabbox #qa-tabbar-spacer {
- width: 93px;
-}
-
-tabs {
- border-bottom: 3px solid #E8E5D8;
-}
+}
+
+
+
+/*-------------------------------
+ TABS
+ -------------------------------*/
+#qa_tabbox #qa_tabrow {
+ height: 30px !important;
+ padding-top: 5px !important;
+}
+
+#qa_tabbox .tab-icon-image {
+ list-style-image: none;
+ width: 0;
+}
+
+#qa_tabbox #qa-tabbar-qmo {
+ list-style-image: url(qmo-16px.png);
+ width: 15px;
+}
+
+#qa_tabbox #qa-tabbar-spacer {
+ width: 93px;
+}
+
+
+#qa_tabbox tab, #qa_tabbox tabs spacer {
+ border-bottom: 1px solid #ACA899 !important;
+}
+
+.tabs-left, .tabs-right {
+ -moz-border-bottom-colors: #ACA899 !important;
+}
+
+#qa_tabbox tab[selected="true"] {
+ border-bottom: 1px solid #E8E5D8 !important;
+}
+
+tabs {
+ border-bottom: 1px solid #E8E5D8;
+}
+
+.tab-close-button {
+ display: none !important;
+}
+
+.tabbrowser-tab.highlight > .tab-image-right {
+ background: url("chrome://qa/skin/highlight-start.png") no-repeat !important;
+}
+.tabbrowser-tab.highlight > .tab-image-left {
+ background: url("chrome://qa/skin/highlight-end.png") no-repeat !important;
+}
+.tabbrowser-tab.highlight > .tab-image-middle {
+ background: url("chrome://qa/skin/highlight-mid.png") repeat-x !important;
+}
+
+.tabbrowser-tab.highlight:hover > .tab-image-right {
+ background: url("chrome://qa/skin/highlight-hover-start.png") no-repeat !important;
+}
+.tabbrowser-tab.highlight:hover > .tab-image-left {
+ background: url("chrome://qa/skin/highlight-hover-end.png") no-repeat !important;
+}
+.tabbrowser-tab.highlight:hover > .tab-image-middle {
+ background: url("chrome://qa/skin/highlight-hover-mid.png") repeat-x !important;
+}
/* don't show outline around the middle of selected tabs */
tab:focus > .tab-middle {
- outline: 1px none invert !important;
+ outline: 1px none invert !important;
}
-
-/*-------------------------------
- PANELS
- -------------------------------*/
-#qa_tabbox tabpanel {
- line-height: 1.6;
- background-color: white;
-}
-
-#qa_tabbox tabpanels {
- background-color: white;
- border-top: 1px solid #ACA899;
- margin-top: 0px;
-}
-
-#qa_tabbox groupbox {
- background-color: white;
-}
-#qa_tabbox caption {
- font: bold 12px helvetica, arial, sans-serif;
- color: #ec891d;
- background-color: white;
- padding: 0;
-}
-
-#qa-qmo-help,
-#qa-qmo-events,
-.box-mheight {
- max-height: 130px;
- height: 130px;
-}
-#qa-qmo-forumposts {
- width: 290px;
-}
-#qa-qmo-latestbox {
- height: 200px;
- width: 290px;
- overflow: auto;
- margin-right: 12px;
-}
-
-
-/*-------------------------------
- NOTIFY
- -------------------------------*/
-
-#qa-notify {
- right: 18px;
- bottom: 21px;
- position: fixed;
- border: 1px solid grey;
- background-color: white;
- background-image: url("logolight.png");
- background-repeat: no-repeat;
- background-position: center;
-}
-
-.qa-notify {
- height: 140px;
- width: 420px;
-}
-
-#qa-notify-box {
- padding: 0px 6px 6px 6px;
- display: table;
-}
-
-#qa-notify-header {
- font-size: 1.5em;
- font-weight: bold;
-}
-
-
-/*-------------------------------
- GENERAL
- -------------------------------*/
-
-.list {
- padding-left: 10px;
+
+/*-------------------------------
+ PANELS
+ -------------------------------*/
+#qa_tabbox tabpanel {
+ line-height: 1.6;
+ background-color: white;
+}
+
+#qa_tabbox tabpanels {
+ background-color: white;
+ border-top: 1px solid #ACA899;
+ margin-top: 0px;
+}
+
+#qa_tabbox groupbox {
+ background-color: white;
+}
+#qa_tabbox caption {
+ font: bold 12px helvetica, arial, sans-serif;
+ color: #ec891d;
+ background-color: white;
+ padding: 0;
+}
+
+#qa-qmo-help,
+#qa-qmo-events,
+.box-mheight {
+ max-height: 130px;
+ height: 130px;
+}
+#qa-qmo-forumposts {
+ width: 290px;
+}
+#qa-qmo-latestbox {
+ height: 200px;
+ width: 290px;
+ overflow: auto;
+ margin-right: 12px;
+}
+
+
+/*-------------------------------
+ NOTIFY
+ -------------------------------*/
+
+#qa-notify {
+ right: 18px;
+ bottom: 21px;
+ position: fixed;
+ border: 1px solid grey;
+ background-color: white;
+ background-image: url("logolight.png");
+ background-repeat: no-repeat;
+ background-position: center;
+}
+
+.qa-notify {
+ height: 140px;
+ width: 420px;
+}
+
+#qa-notify-box {
+ padding: 0px 6px 6px 6px;
+ display: table;
+}
+
+#qa-notify-header {
+ font-size: 1.5em;
+ font-weight: bold;
+}
+
+
+/*-------------------------------
+ GENERAL
+ -------------------------------*/
+
+.list {
+ padding-left: 10px;
}
-
diff --git a/testing/extensions/community/defaults/preferences/qa.js b/testing/extensions/community/defaults/preferences/qa.js
index db0c651b6ff..d78ca0bb983 100644
--- a/testing/extensions/community/defaults/preferences/qa.js
+++ b/testing/extensions/community/defaults/preferences/qa.js
@@ -1,8 +1,46 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Mozilla Community QA Extension
+ *
+ * The Initial Developer of the Original Code is the Mozilla Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2007
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Zach Lipton
+ * Ben Hsieh
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+* ***** END LICENSE BLOCK ***** */
+
pref("qa.extension.litmus.url", "http://litmus.mozilla.org/");
pref("qa.extension.hermes.url", "http://litmus.mozilla.org/hermes/1/");
+pref("qa.extension.bugzilla.url", "http:/bugzilla.mozilla.org/");
pref("qa.extension.isFirstTime", true);
pref("qa.extension.minNotificationInterval", 5400000); // 90 minutes
pref("qa.extension.lastNotificationTime", 0);
pref("qa.extension.minNotificationCheckInterval", 5400000); // 90 minutes
pref("qa.extension.lastNotificationCheckTime", 0);
-pref("qa.extension.notificationSettings", '0,1,0,1,0,0,1');
\ No newline at end of file
+pref("qa.extension.notificationSettings", '0,1,0,1,0,0,1');
diff --git a/testing/extensions/community/install.rdf b/testing/extensions/community/install.rdf
index dae444ecc2a..ef3596fc770 100644
--- a/testing/extensions/community/install.rdf
+++ b/testing/extensions/community/install.rdf
@@ -1,20 +1,20 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/testing/extensions/community/jar-chrome.manifest b/testing/extensions/community/jar-chrome.manifest
index 55fc40b01ed..1b75ce22283 100644
--- a/testing/extensions/community/jar-chrome.manifest
+++ b/testing/extensions/community/jar-chrome.manifest
@@ -1,10 +1,11 @@
-content qa jar:chrome/qa.jar!/content/
-skin qa classic/1.0 jar:chrome/qa.jar!/skin/
-locale qa en-US jar:chrome/qa.jar!/locale/en-US/
+content qa jar:chrome/qa.jar!/content/
+skin qa classic/1.0 jar:chrome/qa.jar!/skin/
+locale qa en-US jar:chrome/qa.jar!/locale/en-US/
overlay chrome://browser/content/browser.xul chrome://qa/content/browserOverlays.xul
content chatzilla_qa jar:chatzilla.jar!/content/chatzilla/
skin chatzilla_qa modern/1.0 jar:chatzilla.jar!/skin/modern/chatzilla/
locale chatzilla_qa en-US jar:chatzilla.jar!/locale/en-US/chatzilla/
-content chatzillaservice_qa components/chatzilla-service.js
\ No newline at end of file
+content chatzillaservice_qa components/chatzilla-service.js
+
diff --git a/testing/extensions/community/platform/Darwin/chrome/skin/platform.css b/testing/extensions/community/platform/Darwin/chrome/skin/platform.css
index 18ba6a1b0c8..c93d473639d 100644
--- a/testing/extensions/community/platform/Darwin/chrome/skin/platform.css
+++ b/testing/extensions/community/platform/Darwin/chrome/skin/platform.css
@@ -1,10 +1,77 @@
-#qa-tabbar-spacer {
width: 17px !important;
}
#qa-tabbar-qmo {
margin-left: 10px !important;
margin-right: 17px !important;
}
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Mozilla Community QA Extension
+ *
+ * The Initial Developer of the Original Code is the Mozilla Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2006
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Zach Lipton
+ * Ben Hsieh
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
-#qa_tabpanels * {
- background-color: #ebebeb !important;
+#qa-tabbar-spacer {
+ width: 17px !important;
}
-groupbox * {
- background: url("chrome://global/skin/10pct_transparent_grey.png") repeat !important;
+#qa_tabbox tabpanel {
+ background-color: transparent !important;
}
+#qa_tabbox tabpanels {
+ background-color: transparent !important;
+}
+
+#qa_tabbox groupbox {
+ background-color: transparent !important;
+}
+#qa_tabbox caption {
+ background-color: transparent !important;
+}
+
+/** causes weird behavior on branch, but needed for trunk **/
+#qa-tabbar-qmo {
+ width:16px;
+ margin-left: 13px;
+ margin-right: 5px;
+}
+
+#qa-testcase-comment {
+ background-color: transparent !important;
+ max-width: 170px;
+}
+
+#qa-preferences-litmus-username {
+ max-width: 350px;
+ width: 350px;
+}
+
+#qa-preferences-litmus-password {
+ max-width: 400px;
+ width: 350px;
+}
diff --git a/testing/extensions/community/platform/WINNT/chrome/skin/platform.css b/testing/extensions/community/platform/WINNT/chrome/skin/platform.css
index e69de29bb2d..9351c7a4dc7 100644
--- a/testing/extensions/community/platform/WINNT/chrome/skin/platform.css
+++ b/testing/extensions/community/platform/WINNT/chrome/skin/platform.css
@@ -0,0 +1,5 @@
+/**
+ * This file is intentionally left blank to prevent an error from being thrown
+ * on windows when attempting to overwrite the common CSS. If we need future
+ * specific windows CSS tweaks, they should go here.
+**/