MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / DetachEvents

Method DetachEvents

cpp/iedriver/HtmlDialog.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void HtmlDialog::DetachEvents() {
47 LOG(TRACE) << "Entering HtmlDialog::DetachEvents";
48 CComPtr<IUnknown> unknown;
49 this->window_->QueryInterface<IUnknown>(&unknown);
50 HRESULT hr = this->DispEventUnadvise(unknown);
51}
52
53void __stdcall HtmlDialog::OnBeforeUnload(IHTMLEventObj *pEvtObj) {
54 LOG(TRACE) << "Entering HtmlDialog::OnBeforeUnload";

Callers 2

CloseMethod · 0.95
IsValidWindowMethod · 0.95

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected