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 f68f8b5663
commit babc289f53

View File

@ -621,7 +621,9 @@ public class Tabs implements GeckoEventListener {
JSONObject args = new JSONObject(); JSONObject args = new JSONObject();
Tab added = null; Tab added = null;
boolean delayLoad = (flags & LOADURL_DELAY_LOAD) != 0; 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 { try {
boolean isPrivate = (flags & LOADURL_PRIVATE) != 0; boolean isPrivate = (flags & LOADURL_PRIVATE) != 0;