[Webkit-unassigned] [Bug 31626] [Qt] layoutTestController.notifyDone() not working when the frame was reloaded.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 12:39:01 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31626





--- Comment #6 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2009-11-18 12:38:59 PST ---
After clearning the window properties, we are calling our

void QWebFrame::addToJavaScriptWindowObject ( const QString & name, QObject *
object )

but apparently it is not succeeding in adding the properties?

We have the following code in the DRT:

void DumpRenderTree::initJSObjects()
{
    QWebFrame *frame = qobject_cast<QWebFrame*>(sender());
    Q_ASSERT(frame);
    frame->addToJavaScriptWindowObject(QLatin1String("layoutTestController"),
m_controller);
    frame->addToJavaScriptWindowObject(QLatin1String("eventSender"),
m_eventSender);
    frame->addToJavaScriptWindowObject(QLatin1String("textInputController"),
m_textInputController);
    frame->addToJavaScriptWindowObject(QLatin1String("GCController"),
m_gcController);
}

so I guess that the layoutTestController should have been exported, and it was
in the other cases.

Any ideas?

-- 
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