mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 869413 - Put all delayLoad tabs in the background. r=mfinkle
This commit is contained in:
parent
f68f8b5663
commit
babc289f53
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user