зеркало из https://github.com/mozilla/gecko-dev.git
Bug 869413 - Put all delayLoad tabs in the background. r=mfinkle
This commit is contained in:
Родитель
b23e76e52c
Коммит
e48b6e44ce
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче