[Webkit-unassigned] [Bug 32309] noAccess url schemes block access to inline stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 9 00:49:25 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32309





--- Comment #1 from Jochen Eisinger <eisinger at google.com>  2009-12-09 00:49:25 PST ---
Created an attachment (id=44516)
 --> (https://bugs.webkit.org/attachment.cgi?id=44516)
test case

The following html file is a small test case. The javascript announces the
number of CSS rules found in the inline css stylesheet. When you encode this
file as a data: link, the variable rules will be null and rules.length results
into an error:

data:text/html;base64,PGh0bWw+CiAgPHN0eWxlPgogICAgYm9keSB7CiAgICAgIGJhY2tncm91bmQ6IGdyZWVuOwogICAgfQogIDwvc3R5bGU+CiAgPGJvZHk+CiAgICA8c2NyaXB0PgogICAgICB2YXIgc3R5bGVzaGVldHMgPSBkb2N1bWVudC5zdHlsZVNoZWV0czsKICAgICAgdmFyIHN0eWxlc2hlZXQgPSBzdHlsZXNoZWV0c1tzdHlsZXNoZWV0cy5sZW5ndGgtMV07CiAgICAgIHZhciBydWxlcyA9IHN0eWxlc2hlZXQuY3NzUnVsZXM7CiAgICAgIGFsZXJ0KHJ1bGVzLmxlbmd0aCArICcgcnVsZXMgZm91bmQnKTsKICAgIDwvc2NyaXB0PgogIDwvYm9keT4KPC9odG1sPgo=

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list