mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 995696 - Ignore Content:PageShow with tabID of 0 in testNewTab; r=snorp
This commit is contained in:
parent
ce178451f6
commit
abb978a085
@ -563,6 +563,10 @@ abstract class BaseTest extends BaseRobocopTest {
|
||||
try {
|
||||
JSONObject data = new JSONObject(pageShowExpecter.blockForEventData());
|
||||
int tabID = data.getInt("tabID");
|
||||
if (tabID == 0) {
|
||||
mAsserter.dumpLog("addTab ignoring PageShow for tab 0");
|
||||
continue;
|
||||
}
|
||||
if (!mKnownTabIDs.contains(tabID)) {
|
||||
mKnownTabIDs.add(tabID);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user