Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-clutter-2-expected.txt

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: Rebase+Test Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://lo calhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Csvg%20xmlns:xli nk=%27http://www.w3.org/1999/xlink%27%3E%3Ca%3E%3Ccircle%20r=100%20/%3E%3Canimat e%20attributeName=xlink:href%20values=javascript%3Aalert(1)%3B%3B&clutter=blah%2 7%3E&notifyDone=1&dumpElementBySelector=animate' because its source code was fou nd within the request. The auditor was enabled as the server did not send an 'X- XSS-Protection' header. 1 CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://lo calhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Csvg%20xmlns:xli nk=%27http://www.w3.org/1999/xlink%27%3E%3Ca%3E%3Ccircle%20r=100%20/%3E%3Canimat e%20attributeName=xlink:href%20values=javascript%3Aalert(1)%3B%3B&clutter=blah%2 7%3E&notifyDone=1&dumpElementBySelector=animate' because its source code was fou nd within the request. The server sent an 'X-XSS-Protection' header requesting t his behavior.
2 This test passes if the element displayed in the frame below has a 'values' attr ibute containing only 'javascript:void(0)'. 2 This test passes if the element displayed in the frame below has a 'values' attr ibute containing only 'javascript:void(0)'.
3 3
4 4
5 5
6 -------- 6 --------
7 Frame: '<!--framePath //<!--frame0-->-->' 7 Frame: '<!--framePath //<!--frame0-->-->'
8 -------- 8 --------
9 animate => animate 9 animate => animate
10 * attributeName: xlink:href 10 * attributeName: xlink:href
11 * values: javascript:void(0) 11 * values: javascript:void(0)
12 Page rendered here. 12 Page rendered here.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698