...or at least it should be possible to disable exposing them.
QtScript provides this via QObjectWrapOption::ExcludeDeleteLater. Looks like QWebFrame::addToJavaScriptWindowObject() needs another overload that takes QScriptEngine::QObjectWrapOptions :) But first we should unify the QtWebKit bridge and the QtScript meta-object bindings; I don't feel like duplicating the options logic in the existing bridge at least.
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.