Changeset 53044 in webkit
- Timestamp:
- Jan 9, 2010 4:40:21 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53039 r53044 1 2010-01-09 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 https://bugs.webkit.org/show_bug.cgi?id=33419 6 7 Removes the XSSAuditor tests from the Qt Skipped file since 8 we now can run these tests. 9 10 * platform/qt/Skipped: 11 1 12 2010-01-09 Dan Bernstein <mitz@apple.com> 2 13 -
trunk/LayoutTests/platform/qt/Skipped
r52902 r53044 197 197 # Missing layoutTestController.setWillSendRequestReturnsNullOnRedirect() 198 198 http/tests/misc/will-send-request-returns-null-on-redirect.html 199 200 # Missing layoutTestController.setXSSAuditorEnabled()201 http/tests/security/xssAuditor202 199 203 200 # Missing layoutTestController.evaluateScriptInIsolatedWorld() -
trunk/WebKit/qt/Api/qwebsettings.cpp
r52928 r53044 355 355 QWebSettings::LocalStorageEnabled instead. 356 356 \value LocalContentCanAccessRemoteUrls Specifies whether locally loaded documents are allowed to access remote urls. 357 \value XSSAuditorEnabled Enables or disables WebKit's XSSAuditor to mitigate reflective cross-site scripting attacks. 357 358 */ 358 359 -
trunk/WebKit/qt/Api/qwebsettings.h
r51154 r53044 68 68 #endif 69 69 LocalContentCanAccessRemoteUrls, 70 DnsPrefetchEnabled 70 DnsPrefetchEnabled, 71 XSSAuditorEnabled 71 72 }; 72 73 enum WebGraphic { -
trunk/WebKit/qt/ChangeLog
r53005 r53044 1 2010-01-09 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 https://bugs.webkit.org/show_bug.cgi?id=33419 6 7 Adds support for the XSSAuditor to the Qt DRT. 8 9 * Api/qwebsettings.cpp: Updated comment to reflect added key XSSAuditorEnabled. 10 * Api/qwebsettings.h: Adds settings key XSSAuditorEnabled. 11 1 12 2010-01-08 Luiz Agostini <luiz.agostini@openbossa.org> 2 13 -
trunk/WebKitTools/ChangeLog
r53043 r53044 1 2010-01-09 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 https://bugs.webkit.org/show_bug.cgi?id=33419 6 7 Adds support for the XSSAuditor to the Qt DRT. 8 9 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 10 (WebCore::WebPage::WebPage): 11 (WebCore::WebPage::resetSettings): 12 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 13 (LayoutTestController::setXSSAuditorEnabled): 14 * DumpRenderTree/qt/LayoutTestControllerQt.h: 15 1 16 2010-01-09 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
r52612 r53044 134 134 globalSettings->setAttribute(QWebSettings::PrivateBrowsingEnabled, false); 135 135 globalSettings->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, false); 136 globalSettings->setAttribute(QWebSettings::XSSAuditorEnabled, false); 136 137 137 138 connect(this, SIGNAL(geometryChangeRequested(const QRect &)), … … 168 169 settings()->resetAttribute(QWebSettings::OfflineWebApplicationCacheEnabled); 169 170 settings()->resetAttribute(QWebSettings::LocalContentCanAccessRemoteUrls); 171 settings()->resetAttribute(QWebSettings::XSSAuditorEnabled); 170 172 QWebSettings::setMaximumPagesInCache(0); // reset to default 171 173 } -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r52659 r53044 277 277 } 278 278 279 void LayoutTestController::setXSSAuditorEnabled(bool enable) 280 { 281 m_drt->webPage()->settings()->setAttribute(QWebSettings::XSSAuditorEnabled, enable); 282 } 283 279 284 void LayoutTestController::setPopupBlockingEnabled(bool enable) 280 285 { -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h
r52611 r53044 111 111 void setFixedContentsSize(int width, int height); 112 112 void setPrivateBrowsingEnabled(bool enable); 113 void setXSSAuditorEnabled(bool flag); 113 114 void setPopupBlockingEnabled(bool enable); 114 115 void setPOSIXLocale(const QString& locale);
Note: See TracChangeset
for help on using the changeset viewer.