WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
53798
Assertion failure in WebInspectorProxy::platformClose closing main window when inspecting a popup window, or when running regression tests
https://bugs.webkit.org/show_bug.cgi?id=53798
Summary
Assertion failure in WebInspectorProxy::platformClose closing main window whe...
Brian Weinstein
Reported
2011-02-04 12:22:31 PST
Assertion failure in WebInspectorProxy::platformClose closing main window when inspecting a popup window, or when running regression tests.
> WebKit.dll!WebKit::WebInspectorProxy::platformClose() Line 174 + 0x25 bytes C++
WebKit.dll!WebKit::WebInspectorProxy::invalidate() Line 74 C++ WebKit.dll!WebKit::WebPageProxy::close() Line 240 C++ WebKit.dll!WKPageClose(const OpaqueWKPage * pageRef=0x061f0f58) Line 103 C++ ASSERT(m_inspectorWindow) is the failing assertion. <
rdar://problem/8814364
>
Attachments
[PATCH] Fix
(1.68 KB, patch)
2011-02-04 12:26 PST
,
Brian Weinstein
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brian Weinstein
Comment 1
2011-02-04 12:26:51 PST
Created
attachment 81264
[details]
[PATCH] Fix
Adam Roben (:aroben)
Comment 2
2011-02-04 12:28:36 PST
Comment on
attachment 81264
[details]
[PATCH] Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=81264&action=review
> Source/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp:178 > + if (m_isVisible) { > + ASSERT(m_inspectorWindow); > + ASSERT(m_inspectorView); > + }
To get rid of the if in Release builds, you could do: ASSERT(!m_isVisible || m_inspectorWindow); ASSERT(!m_isVisible || m_inspectorView);
> Source/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp:181 > + ASSERT(::IsWindow(m_inspectorWindow));
Have you verified that this is true even when the inspector is docked?
Brian Weinstein
Comment 3
2011-02-04 12:31:52 PST
(In reply to
comment #2
)
> (From update of
attachment 81264
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=81264&action=review
> > > Source/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp:178 > > + if (m_isVisible) { > > + ASSERT(m_inspectorWindow); > > + ASSERT(m_inspectorView); > > + } > > To get rid of the if in Release builds, you could do: > > ASSERT(!m_isVisible || m_inspectorWindow); > ASSERT(!m_isVisible || m_inspectorView);
Fixed.
> > > Source/WebKit2/UIProcess/win/WebInspectorProxyWin.cpp:181 > > + ASSERT(::IsWindow(m_inspectorWindow)); > > Have you verified that this is true even when the inspector is docked?
We don't support a docked inspector in WebKit2 yet, but I will make sure to check this when we do. Thanks!
Brian Weinstein
Comment 4
2011-02-04 12:33:38 PST
Landed in
r77655
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug