WebKit/qt/Api/qwebsettings.cpp

@@void QWebSettingsPrivate::apply()
234234 global->attributes.value(QWebSettings::LocalContentCanAccessFileUrls));
235235 settings->setAllowFileAccessFromFileURLs(value);
236236
237  value = attributes.value(QWebSettings::XSSAuditorEnabled,
238  global->attributes.value(QWebSettings::XSSAuditorEnabled));
 237 value = attributes.value(QWebSettings::XSSAuditingEnabled,
 238 global->attributes.value(QWebSettings::XSSAuditingEnabled));
239239 settings->setXSSAuditorEnabled(value);
240240
241241#if ENABLE(TILED_BACKING_STORE)

@@QWebSettings* QWebSettings::globalSettings()
396396 QWebSettings::LocalStorageEnabled instead.
397397 \value LocalContentCanAccessRemoteUrls Specifies whether locally loaded documents are allowed to access remote urls.
398398 \value LocalContentCanAccessFileUrls Specifies whether locally loaded documents are allowed to access other local urls.
399  \value XSSAuditorEnabled Specifies whether load requests should be monitored for cross-site scripting attempts.
 399 \value XSSAuditingEnabled Specifies whether load requests should be monitored for cross-site scripting attempts.
400400 \value AcceleratedCompositingEnabled This feature, when used in conjunction with
401401 QGraphicsWebView, accelerates animations of web content. CSS animations of the transform and
402402 opacity properties will be rendered by composing the cached content of the animated elements.

WebKit/qt/Api/qwebsettings.h

@@public:
6868#endif
6969 LocalContentCanAccessRemoteUrls,
7070 DnsPrefetchEnabled,
71  XSSAuditorEnabled,
 71 XSSAuditingEnabled,
7272 AcceleratedCompositingEnabled,
7373 WebGLEnabled,
7474 SpatialNavigationEnabled,

WebKit/qt/ChangeLog

 12010-03-24 Kent Hansen <kent.hansen@nokia.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
 6 https://bugs.webkit.org/show_bug.cgi?id=36522
 7
 8 For consistency with other QWebSettings attributes.
 9
 10 * Api/qwebsettings.cpp:
 11 (QWebSettingsPrivate::apply):
 12 * Api/qwebsettings.h:
 13
1142010-03-22 Kent Hansen <kent.hansen@nokia.com>
215
316 Reviewed by Laszlo Gombos.

WebKitTools/ChangeLog

 12010-03-24 Kent Hansen <kent.hansen@nokia.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
 6 https://bugs.webkit.org/show_bug.cgi?id=36522
 7
 8 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
 9 (LayoutTestController::setXSSAuditorEnabled): Use the new name.
 10
1112010-03-22 Csaba Osztrogonác <ossy@webkit.org>
212
313 Reviewed by Adam Barth.

WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

@@void LayoutTestController::setMainFrameIsFirstResponder(bool isFirst)
383383
384384void LayoutTestController::setXSSAuditorEnabled(bool enable)
385385{
386  // Set XSSAuditorEnabled globally so that windows created by the test inherit it too.
 386 // Set XSSAuditingEnabled globally so that windows created by the test inherit it too.
387387 // resetSettings() will call this to reset the page and global setting to false again.
388388 // Needed by http/tests/security/xssAuditor/link-opens-new-window.html
389389 QWebSettings* globalSettings = QWebSettings::globalSettings();
390  globalSettings->setAttribute(QWebSettings::XSSAuditorEnabled, enable);
391  m_drt->webPage()->settings()->setAttribute(QWebSettings::XSSAuditorEnabled, enable);
 390 globalSettings->setAttribute(QWebSettings::XSSAuditingEnabled, enable);
 391 m_drt->webPage()->settings()->setAttribute(QWebSettings::XSSAuditingEnabled, enable);
392392}
393393
394394bool LayoutTestController::pauseAnimationAtTimeOnElementWithId(const QString& animationName,