MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / runJavaScriptNonBlocking

Method runJavaScriptNonBlocking

src/core/web/WebPage.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void WebPage::runJavaScriptNonBlocking(const QString &scriptSource, QVariant &result)
161{
162 runJavaScript(scriptSource, [&](const QVariant &returnValue) {
163 result.setValue(returnValue);
164 });
165}
166
167QVariant WebPage::runJavaScriptBlocking(const QString &scriptSource)
168{

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected