Title: [226038] releases/WebKitGTK/webkit-2.18/Tools
Revision
226038
Author
[email protected]
Date
2017-12-18 08:50:44 -0800 (Mon, 18 Dec 2017)

Log Message

Merge r225214 - [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: releases/WebKitGTK/webkit-2.18/Tools/ChangeLog (226037 => 226038)


--- releases/WebKitGTK/webkit-2.18/Tools/ChangeLog	2017-12-18 16:40:45 UTC (rev 226037)
+++ releases/WebKitGTK/webkit-2.18/Tools/ChangeLog	2017-12-18 16:50:44 UTC (rev 226038)
@@ -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: releases/WebKitGTK/webkit-2.18/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py (226037 => 226038)


--- releases/WebKitGTK/webkit-2.18/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py	2017-12-18 16:40:45 UTC (rev 226037)
+++ releases/WebKitGTK/webkit-2.18/Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py	2017-12-18 16:50:44 UTC (rev 226038)
@@ -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

Reply via email to