Index: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt |
similarity index 54% |
copy from third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-expected.txt |
copy to third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt |
index 0a0a561c823b58b1ac0f8139a3ac829688826fc0..c0b2442aa39748c09ee1ac8f82d9f7db39d8a453 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-expected.txt |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/svg-animate-href-expected.txt |
@@ -1,4 +1,4 @@ |
-CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Csvg%20xmlns:xlink=%27http://www.w3.org/1999/xlink%27%3E%3Ca%3E%3Ccircle%20r=100%20/%3E%3Canimate%20attributeName=xlink:href%20values=%3Bjavascript%3Aalert(1)%20begin=0s%20end=0.1s%20fill=freeze%20/%3E%3C/a%3E%3C/svg%3E¬ifyDone=1&dumpElementBySelector=animate' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header. |
+CONSOLE ERROR: line 4: The XSS Auditor refused to execute a script in 'http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3Csvg%3E%3Ca%3E%3Ccircle%20r=100%20/%3E%3Canimate%20attributeName=href%20values=%3Bjavascript%3Aalert(1)%20begin=0s%20end=0.1s%20fill=freeze%20/%3E%3C/a%3E%3C/svg%3E¬ifyDone=1&dumpElementBySelector=animate' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header. |
CONSOLE WARNING: SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead. |
This test passes if the element displayed in the frame below has a 'values' attribute containing only 'javascript:void(0)'. |
@@ -8,7 +8,7 @@ This test passes if the element displayed in the frame below has a 'values' attr |
Frame: '<!--framePath //<!--frame0-->-->' |
-------- |
animate => animate |
-* attributeName: xlink:href |
+* attributeName: href |
* values: javascript:void(0) |
* begin: 0s |
* end: 0.1s |