Bug 890105 - follow-up to workaround intermittent failure in browser_windowopen_reflows.js caused by bug 906578. r=test-only

This commit is contained in:
Matthew Noorenberghe 2013-08-19 01:00:41 -07:00
parent ed0883d351
commit a6a0e971fa

View File

@ -80,9 +80,11 @@ let observer = {
}
// Check if this is an expected reflow.
for (let stack of EXPECTED_REFLOWS) {
if (path.startsWith(stack)) {
ok(true, "expected uninterruptible reflow '" + stack + "'");
for (let expectedStack of EXPECTED_REFLOWS) {
if (path.startsWith(expectedStack) ||
// Accept an empty function name for gBrowserInit._delayedStartup or TabsInTitlebar._update to workaround bug 906578.
path.startsWith(expectedStack.replace("|gBrowserInit._delayedStartup@", "|@").replace("|TabsInTitlebar._update@", "|@"))) {
ok(true, "expected uninterruptible reflow '" + expectedStack + "'");
return;
}
}