Lines Matching full:data
17 const char* data;
24 { "data:",
30 { "data:,",
36 { "data:;base64,",
42 { "data:;charset=,test",
48 { "data:TeXt/HtMl,<b>x</b>",
54 { "data:,foo",
60 { "data:;base64,aGVsbG8gd29ybGQ=",
66 { "data:foo/bar;baz=1;charset=kk,boo",
72 { "data:text/html,%3Chtml%3E%3Cbody%3E%3Cb%3Ehello%20world"
79 { "data:text/html,<html><body><b>hello world</b></body></html>",
86 { "data:%2Cblah",
93 { "data:;base64,aGVs_-_-",
99 // Spaces should be removed from non-text data URLs (we already tested
101 { "data:image/fractal,a b c d e f g",
108 { "data:;base64,aGVs bG8gd2 9ybGQ=",
115 { "data:;base64,aGVs bG8gd2 \n9ybGQ=",
124 { "data:text/javascript;base64,%20ZD%20Qg%0D%0APS%20An%20Zm91cic%0D%0A%207"
133 { "data:img/png,A B %20 %0A C",
145 std::string data;
147 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
152 EXPECT_EQ(tests[i].data, data);