Bug 869413 - Put all delayLoad tabs in the background. r=mfinkle

This commit is contained in:
Brian Nicholson 2013-05-13 14:39:47 -07:00
parent b23e76e52c
commit e48b6e44ce

View File

@ -621,7 +621,9 @@ public class Tabs implements GeckoEventListener {
JSONObject args = new JSONObject();
Tab added = null;
boolean delayLoad = (flags & LOADURL_DELAY_LOAD) != 0;
boolean background = (flags & LOADURL_BACKGROUND) != 0;
// delayLoad implies background tab
boolean background = delayLoad || (flags & LOADURL_BACKGROUND) != 0;
try {
boolean isPrivate = (flags & LOADURL_PRIVATE) != 0;