RESOLVED FIXED 105928
[Qt] Use WebPageProxy::postMessageToInjectedBundle when passing messages to a specific page in the builtin bundle
https://bugs.webkit.org/show_bug.cgi?id=105928
Summary [Qt] Use WebPageProxy::postMessageToInjectedBundle when passing messages to a...
Caio Marcelo de Oliveira Filho
Reported 2013-01-02 10:20:49 PST
[Qt] Use WebPageProxy::postMessageToInjectedBundle when passing messages to a specific page in the builtin bundle
Attachments
Patch (12.10 KB, patch)
2013-01-02 11:01 PST, Caio Marcelo de Oliveira Filho
hausmann: review+
Caio Marcelo de Oliveira Filho
Comment 1 2013-01-02 11:01:30 PST
Caio Marcelo de Oliveira Filho
Comment 2 2013-01-03 11:25:58 PST
Csaba Osztrogonác
Comment 3 2013-01-03 15:06:21 PST
Comment on attachment 181036 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181036&action=review It broke the debug build and I fixed it - https://trac.webkit.org/changeset/138749 ( Please check the debug build next time if you modify an assertion. ) > Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp:101 > + ASSERT(WKGetTypeID(messageBody) == WKStringGetTypeID()); > + WKStringRef contents = static_cast<WKStringRef>(messageBody); /home/webkitbuildbot/slaves/debug64bit/buildslave/qt-linux-64-debug/build/Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp: In member function 'void WebKit::QtBuiltinBundle::handleMessageToNavigatorQtObject(const OpaqueWKBundlePage*, const void*)': /home/webkitbuildbot/slaves/debug64bit/buildslave/qt-linux-64-debug/build/Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp:100: error: 'WKGetTypeID' was not declared in this scope > Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp:113 > + ASSERT(WKGetTypeID(messageBody) == WKBooleanGetTypeID()); > + WKBooleanRef enabled = static_cast<WKBooleanRef>(messageBody); /home/webkitbuildbot/slaves/debug64bit/buildslave/qt-linux-64-debug/build/Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp: In member function 'void WebKit::QtBuiltinBundle::handleSetNavigatorQtObjectEnabled(const OpaqueWKBundlePage*, const void*)': /home/webkitbuildbot/slaves/debug64bit/buildslave/qt-linux-64-debug/build/Source/WebKit2/WebProcess/qt/QtBuiltinBundle.cpp:112: error: 'WKGetTypeID' was not declared in this scope
Caio Marcelo de Oliveira Filho
Comment 4 2013-01-03 15:10:16 PST
(In reply to comment #3) > (From update of attachment 181036 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=181036&action=review > > It broke the debug build and I fixed it - https://trac.webkit.org/changeset/138749 > ( Please check the debug build next time if you modify an assertion. ) Thanks, Ossy. Sorry for the noise.
Note You need to log in before you can comment on or make changes to this bug.