MCPcopy Create free account
hub / github.com/bumptop/BumpTop / evaluateJavaScript

Method evaluateJavaScript

trunk/win/Source/BT_WebPage.cpp:460–463  ·  view source on GitHub ↗

Evaluate the given JavaScript on the current page Use this with care!

Source from the content-addressed store, hash-verified

458// Evaluate the given JavaScript on the current page
459// Use this with care!
460QVariant WebPage::evaluateJavaScript( const QString &javascriptCode )
461{
462 return _widget->page()->mainFrame()->evaluateJavaScript(javascriptCode);
463}
464
465// We must override this method to see errors from JS
466void ConsoleLoggingQWebPage::javaScriptConsoleMessage( const QString & message, int lineNumber, const QString & sourceID )

Callers 15

downloadFinishedMethod · 0.80
downloadErrorMethod · 0.80
uploadProgressMethod · 0.80
transferFinishedMethod · 0.80
httpRequestFinishedMethod · 0.80
onWidgetFocusMethod · 0.80
onWidgetBlurMethod · 0.80
deleteFlyoutMethod · 0.80
uploadFilesMethod · 0.80
pageLoadedMethod · 0.80
onTransferCompleteMethod · 0.80

Calls 2

mainFrameMethod · 0.80
pageMethod · 0.45

Tested by

no test coverage detected