Title: [225214] trunk/Tools
- Revision
- 225214
- Author
- [email protected]
- Date
- 2017-11-28 05:23:40 -0800 (Tue, 28 Nov 2017)
Log Message
[GTK] WebDriver: disable XSS auditor when running WebDriver tests
https://bugs.webkit.org/show_bug.cgi?id=180075
Reviewed by Carlos Alberto Lopez Perez.
Some tests are now doing inline('<script>window.alert()</script>') which is rejected by the XSS auditor because
the script source is part of the request URL.
* Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py:
(WebDriverGtk.capabilities): Disable XSS auditor.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (225213 => 225214)
--- trunk/Tools/ChangeLog 2017-11-28 13:15:05 UTC (rev 225213)
+++ trunk/Tools/ChangeLog 2017-11-28 13:23:40 UTC (rev 225214)
@@ -1,5 +1,18 @@
2017-11-28 Carlos Garcia Campos <[email protected]>
+ [GTK] WebDriver: disable XSS auditor when running WebDriver tests
+ https://bugs.webkit.org/show_bug.cgi?id=180075
+
+ Reviewed by Carlos Alberto Lopez Perez.
+
+ Some tests are now doing inline('<script>window.alert()</script>') which is rejected by the XSS auditor because
+ the script source is part of the request URL.
+
+ * Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py:
+ (WebDriverGtk.capabilities): Disable XSS auditor.
+
+2017-11-28 Carlos Garcia Campos <[email protected]>
+
WebDriver: add timeout option to run-webdriver-tests script
https://bugs.webkit.org/show_bug.cgi?id=179940
Modified: trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py (225213 => 225214)
--- trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py 2017-11-28 13:15:05 UTC (rev 225213)
+++ trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py 2017-11-28 13:23:40 UTC (rev 225214)
@@ -37,7 +37,7 @@
def capabilities(self):
return {'webkitgtk:browserOptions': {
'binary': self._port._build_path('bin', 'MiniBrowser'),
- 'args': ['--automation', '--_javascript_-can-open-windows-automatically=true']}}
+ 'args': ['--automation', '--_javascript_-can-open-windows-automatically=true', '--enable-xss-auditor=false']}}
register_driver('gtk', WebDriverGtk)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes