Commit bd50d2ec authored by dmazzoni's avatar dmazzoni Committed by Commit bot

Add more logging to track down flakiness (2).

BUG=440579
TBR=nasko@chromium.org
NOPRESUBMIT=true
NOTRY=true

Review URL: https://codereview.chromium.org/884683003

Cr-Commit-Position: refs/heads/master@{#314096}
parent 6abc8722
......@@ -176,6 +176,9 @@ void AccessibilityEventRecorderWin::OnWinEventHook(
// don't care about, so it's safe to just ignore these failures.
// Same below for other HRESULT checks.
LOG(INFO) << "Ignoring result " << hr << " from AccessibleObjectFromWindow";
TCHAR name[MAX_PATH];
GetClassName(hwnd, name, _countof(name));
LOG(INFO) << "Hwnd " << hwnd << " class is " << name;
return;
}
......
......@@ -3215,8 +3215,12 @@ void BrowserAccessibilityWin::OnUpdateFinished() {
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_HELPCHANGE, this);
if (value != old_win_attributes_->value)
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_VALUECHANGE, this);
if (ia_state() != old_win_attributes_->ia_state)
if (ia_state() != old_win_attributes_->ia_state) {
LOG(INFO) << "State change:"
<< " from " << old_win_attributes_->ia_state
<< " to " << ia_state();
manager->MaybeCallNotifyWinEvent(EVENT_OBJECT_STATECHANGE, this);
}
// Normally focus events are handled elsewhere, however
// focus for managed descendants is platform-specific.
......
......@@ -124,6 +124,10 @@ bool LegacyRenderWidgetHostHWND::Init() {
CHILDID_SELF);
}
// http://crbug.com/440579 TODO(dmazzoni): remove this logging when
// flakiness is fixed.
LOG(INFO) << "LegacyRenderWidgetHostHWND::Init hwnd=" << hwnd();
return !!SUCCEEDED(hr);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment