mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 698524 - fix test_startup.js xpcshell test for SeaMonkey by excluding all non-test add-ons. r=Mossop
This commit is contained in:
parent
da3cdc299a
commit
ed94548c09
@ -447,13 +447,9 @@ function check_startup_changes(aType, aIds) {
|
||||
var ids = aIds.slice(0);
|
||||
ids.sort();
|
||||
var changes = AddonManager.getStartupChanges(aType);
|
||||
changes = changes.filter(function(aEl) /@tests.mozilla.org$/.test(aEl));
|
||||
changes.sort();
|
||||
|
||||
// Remove the default theme if it is in the list
|
||||
var pos = changes.indexOf("{972ce4c6-7e08-4474-a285-3208198ce6fd}");
|
||||
if (pos != -1)
|
||||
changes.splice(pos, 1);
|
||||
|
||||
do_check_eq(JSON.stringify(ids), JSON.stringify(changes));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user