Changeset 56456 in webkit


Ignore:
Timestamp:
Mar 24, 2010 1:55:40 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-24 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
https://bugs.webkit.org/show_bug.cgi?id=36522

For consistency with other QWebSettings attributes.

  • Api/qwebsettings.cpp: (QWebSettingsPrivate::apply):
  • Api/qwebsettings.h:

2010-03-24 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
https://bugs.webkit.org/show_bug.cgi?id=36522

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setXSSAuditorEnabled): Use the new name.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebsettings.cpp

    r56373 r56456  
    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       
     
    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
  • trunk/WebKit/qt/Api/qwebsettings.h

    r55978 r56456  
    6969        LocalContentCanAccessRemoteUrls,
    7070        DnsPrefetchEnabled,
    71         XSSAuditorEnabled,
     71        XSSAuditingEnabled,
    7272        AcceleratedCompositingEnabled,
    7373        WebGLEnabled,
  • trunk/WebKit/qt/ChangeLog

    r56450 r56456  
     12010-03-24  Kent Hansen  <kent.hansen@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     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-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
    215
  • trunk/WebKitTools/ChangeLog

    r56437 r56456  
     12010-03-24  Kent Hansen  <kent.hansen@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     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-24  Chris Jerdonek  <cjerdonek@webkit.org>
    212
  • trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

    r56262 r56456  
    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
Note: See TracChangeset for help on using the changeset viewer.