зеркало из https://github.com/mozilla/gecko-dev.git
Bug 714712 - Part 3: Fix browser_select_update.js and browser_select_confirm.js. r=bmcbride
This commit is contained in:
Родитель
5618106733
Коммит
7221ab2ea4
|
@ -71,6 +71,12 @@ function setupUI(aAppDisabled, aUpdateAvailable, aCallback) {
|
|||
waitForView("select", function() {
|
||||
var row = gWin.document.getElementById("select-rows").firstChild.nextSibling;
|
||||
while (row) {
|
||||
if (!row.id || row.id.indexOf("@tests.mozilla.org") < 0) {
|
||||
// not a test add-on
|
||||
row = row.nextSibling;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (row.id == "test2@tests.mozilla.org" ||
|
||||
row.id == "test4@tests.mozilla.org") {
|
||||
row.disable();
|
||||
|
|
|
@ -106,6 +106,12 @@ function setupUI(aFailDownloads, aFailInstalls, aCallback) {
|
|||
waitForView("select", function() {
|
||||
var row = gWin.document.getElementById("select-rows").firstChild.nextSibling;
|
||||
while (row) {
|
||||
if (!row.id || row.id.indexOf("@tests.mozilla.org") < 0) {
|
||||
// not a test add-on
|
||||
row = row.nextSibling;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (row.id == "test2@tests.mozilla.org" ||
|
||||
row.id == "test4@tests.mozilla.org") {
|
||||
row.disable();
|
||||
|
|
Загрузка…
Ссылка в новой задаче