Changeset 56979 in webkit
- Timestamp:
- Apr 2, 2010 12:30:18 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r56974 r56979 1 2010-04-02 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 REGRESSION(56295): http/tests/security/xssAuditor/xss-protection-parsing-01.html times out on Tiger Bot 6 https://bugs.webkit.org/show_bug.cgi?id=36933 7 8 Change the test design in an attempt to get this passing on Tiger. In 9 this variation, we use a POST request to work around possible caching 10 issues in Tiger's CFNetwork. 11 12 * http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt: 13 * http/tests/security/xssAuditor/xss-protection-parsing-01.html: 14 1 15 2010-04-01 MORITA Hajime <morrita@google.com> 2 16 -
trunk/LayoutTests/http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt
r56295 r56979 1 1 CONSOLE MESSAGE: line 1: Refused to execute a JavaScript script. Source code of script found within request. 2 3 This tests our parsing of the X-XSS-Protection header.4 2 5 3 -
trunk/LayoutTests/http/tests/security/xssAuditor/xss-protection-parsing-01.html
r56295 r56979 10 10 layoutTestController.setXSSAuditorEnabled(true); 11 11 } 12 function done() 13 { 14 if (window.layoutTestController) 15 layoutTestController.notifyDone(); 16 } 17 window.onload = function() 18 { 19 sendRequestFromIFrame("http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl","crazy-header=1&q=<script>alert(/XSS/)<\/script>","POST", done); 20 }; 12 21 </script> 13 22 </head> 14 23 <body> 15 <p>This tests our parsing of the X-XSS-Protection header.</p>16 <iframe id="frame" onload="checkIfFrameLocationMatchesURLAndCallDone('frame', 'about:blank')" src="http://127.0.0.1:8000/security/xssAuditor/resources/echo-intertag.pl?crazy-header=1&q=<script>alert(/XSS/)</script><p>If you see this message then the test FAILED.</p>">17 </iframe>18 24 </body> 19 25 </html>
Note: See TracChangeset
for help on using the changeset viewer.