[Webkit-unassigned] [Bug 26846] trap in WebCore::SecurityOrigin::canAccess when inspecting the inspector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 7 12:29:25 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26846
--- Comment #3 from Patrick Mueller <pmuellr at yahoo.com> 2009-07-07 12:29:24 PDT ---
Still occurring on nightly r45585.
Brought up XCode to see if anything was obviously wrong. But I'm lost,
wandering in a sea of C++ wonderfulness. :-)
Here's where things appear to be breaking down.
On the stack, I'm in JSDOMWindowCustom.h, in
JSDOMWindowBase::allowAccessFromPrivate, which looks like this:
----
ALWAYS_INLINE bool JSDOMWindowBase::allowsAccessFromPrivate(const
JSGlobalObject* other) const
{
const JSDOMWindow* originWindow = asJSDOMWindow(other);
const JSDOMWindow* targetWindow = d()->shell->window();
if (originWindow == targetWindow)
return true;
const SecurityOrigin* originSecurityOrigin =
originWindow->impl()->securityOrigin();
const SecurityOrigin* targetSecurityOrigin =
targetWindow->impl()->securityOrigin();
return originSecurityOrigin->canAccess(targetSecurityOrigin);
}
----
When the return statement is processed, originSecurityOrigin is null. Can't
really decipher the origin/targetWindows to tell what's going on.
An obvious tidbit after perusing the source is that ScriptFunctionCall on the
stack at 10 appears to be calling a function "inspectedWindowCleared".
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list