[Webkit-unassigned] [Bug 66097] REGRESSION: Qt JavaScript bridge signal connection fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 11 17:32:30 PDT 2011


--- Comment #2 from Andrew Wason <rectalogic at rectalogic.com>  2011-08-11 17:32:30 PST ---
A workaround is to pass an anonymous object as the first arg to connect, e.g.:

context.someSignal.connect({}, function() { });

Because otherwise JSC::Bindings::QtRuntimeConnectionMethod::call() uses the window object (exec->lexicalGlobalObject()) and that seems to trigger the assert.
See http://trac.webkit.org/browser/trunk/Source/WebCore/bridge/qt/qt_runtime.cpp#L1587

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