Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/6205c62ba3d7b1d16d009ad72077735b227fb315
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/6205c62ba3d7b1d16d009ad72077735b227fb315
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/6205c62ba3d7b1d16d009ad72077735b227fb315

The branch, master has been updated
       via  6205c62ba3d7b1d16d009ad72077735b227fb315 (commit)
      from  135aae3921322afc7241185080e0dfc8a2de4fd4 (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/commitdiff/6205c62ba3d7b1d16d009ad72077735b227fb315
commit 6205c62ba3d7b1d16d009ad72077735b227fb315
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    add non rfc 4329 javascript mimetypes to content handler

diff --git a/javascript/content.c b/javascript/content.c
index 8bf3b88..879c219 100644
--- a/javascript/content.c
+++ b/javascript/content.c
@@ -111,8 +111,11 @@ static const content_handler javascript_content_handler = {
 };
 
 static const char *javascript_types[] = {
-       "application/javascript",
-       "text/javascript"
+       "application/javascript", /* RFC 4329 */
+       "application/ecmascript", /* RFC 4329 */
+       "application/x-javascript", /* common usage */
+       "text/javascript", /* common usage */
+       "text/ecmascript", /* common usage */
 };
 
 CONTENT_FACTORY_REGISTER_TYPES(javascript, javascript_types, 
javascript_content_handler);


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

Summary of changes:
 javascript/content.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/javascript/content.c b/javascript/content.c
index 8bf3b88..879c219 100644
--- a/javascript/content.c
+++ b/javascript/content.c
@@ -111,8 +111,11 @@ static const content_handler javascript_content_handler = {
 };
 
 static const char *javascript_types[] = {
-       "application/javascript",
-       "text/javascript"
+       "application/javascript", /* RFC 4329 */
+       "application/ecmascript", /* RFC 4329 */
+       "application/x-javascript", /* common usage */
+       "text/javascript", /* common usage */
+       "text/ecmascript", /* common usage */
 };
 
 CONTENT_FACTORY_REGISTER_TYPES(javascript, javascript_types, 
javascript_content_handler);


-- 
NetSurf Browser

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

Reply via email to