Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/7706ba5bebfaef5f83f23998199fe6a650b84301
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/7706ba5bebfaef5f83f23998199fe6a650b84301
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/7706ba5bebfaef5f83f23998199fe6a650b84301

The branch, master has been updated
       via  7706ba5bebfaef5f83f23998199fe6a650b84301 (commit)
      from  399d19ce25fde72be62b843744cdc6ad2f70821c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=7706ba5bebfaef5f83f23998199fe6a650b84301
commit 7706ba5bebfaef5f83f23998199fe6a650b84301
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    fix mime sniff test with comment tag

diff --git a/test/mimesniff.c b/test/mimesniff.c
index 6a95823..eeb52e2 100644
--- a/test/mimesniff.c
+++ b/test/mimesniff.c
@@ -772,7 +772,7 @@ END_TEST
 #define SIG(s,m,a) { (const uint8_t *)s, SLEN(s), &corestring_lwc_##m, a }
 static struct test_mimetype text_html_header_tests[] = {
        SIG("text", text_html, true),
-       SIG("\xef\xbb\xbf\t\n\r <!-- a comment><!DOCTYPE HTML><?pi?><head>", 
text_html, true),
+       SIG("\xef\xbb\xbf\t\n\r <!-- a comment --><!DOCTYPE HTML><?pi?><head>", 
text_html, true),
        SIG("\xef\xbb\xbf\t\n\r <!DOCTYPE HTML><?pi?><rss version=\"2.0\">", 
application_rss_xml, true),
        SIG("\t\n\r <? pi ?><feed>", application_atom_xml, true),
        SIG("<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
xmlns=\"http://purl.org/rss/1.0\";>", application_rss_xml, true),


-----------------------------------------------------------------------

Summary of changes:
 test/mimesniff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/mimesniff.c b/test/mimesniff.c
index 6a95823..eeb52e2 100644
--- a/test/mimesniff.c
+++ b/test/mimesniff.c
@@ -772,7 +772,7 @@ END_TEST
 #define SIG(s,m,a) { (const uint8_t *)s, SLEN(s), &corestring_lwc_##m, a }
 static struct test_mimetype text_html_header_tests[] = {
        SIG("text", text_html, true),
-       SIG("\xef\xbb\xbf\t\n\r <!-- a comment><!DOCTYPE HTML><?pi?><head>", 
text_html, true),
+       SIG("\xef\xbb\xbf\t\n\r <!-- a comment --><!DOCTYPE HTML><?pi?><head>", 
text_html, true),
        SIG("\xef\xbb\xbf\t\n\r <!DOCTYPE HTML><?pi?><rss version=\"2.0\">", 
application_rss_xml, true),
        SIG("\t\n\r <? pi ?><feed>", application_atom_xml, true),
        SIG("<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
xmlns=\"http://purl.org/rss/1.0\";>", application_rss_xml, true),


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to