Bug 54630 - [Qt] http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html fails
Summary: [Qt] http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html fails
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2011-02-17 02:39 PST by Csaba Osztrogonác
Modified: 2011-02-18 03:50 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2011-02-17 02:39:31 PST
http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html introduced 
in http://trac.webkit.org/changeset/78776 and fails on Qt. The request is 
blocked, because there is a script within request. Should Qt block it or not?

-ALERT: /XSS/
+CONSOLE MESSAGE: line 1: Refused to execute a JavaScript script. Source code of script found within request.
+
Comment 1 Adam Barth 2011-02-17 08:53:14 PST
That's not a failure, that's a pass!  :)  (Everyone else fails.)

Looks like Perl isn't processing the fancy unicode character in that bot.  I'd recommend updating the baseline.
Comment 2 Csaba Osztrogonác 2011-02-18 03:50:09 PST
Thanks for the info.

I unskipped the test and add Qt specific expected result:
http://trac.webkit.org/changeset/78990