netsurf: branch master updated. release/3.9-126-g03c6ae3

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Mon Aug 5 21:45:57 BST 2019


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/03c6ae381277562c6a42635ac80973b68b484917
...commit http://git.netsurf-browser.org/netsurf.git/commit/03c6ae381277562c6a42635ac80973b68b484917
...tree http://git.netsurf-browser.org/netsurf.git/tree/03c6ae381277562c6a42635ac80973b68b484917

The branch, master has been updated
       via  03c6ae381277562c6a42635ac80973b68b484917 (commit)
      from  f3ac1fad69952a21b3609d110e6e81eb6a0a2c00 (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=03c6ae381277562c6a42635ac80973b68b484917
commit 03c6ae381277562c6a42635ac80973b68b484917
Author: Michael Drake <michael.drake at codethink.co.uk>
Commit: Michael Drake <michael.drake at codethink.co.uk>

    Browser window navigate: Ensure child.quirks is initialised.

diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 922a219..78f1cc2 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -2797,6 +2797,8 @@ browser_window_navigate(struct browser_window *bw,
 	child.charset = content_get_encoding(parent, CONTENT_ENCODING_NORMAL);
 	if ((parent != NULL) && (content_get_type(parent) == CONTENT_HTML)) {
 		child.quirks = content_get_quirks(parent);
+	} else {
+		child.quirks = false;
 	}
 
 	url = nsurl_ref(url);


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

Summary of changes:
 desktop/browser_window.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 922a219..78f1cc2 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -2797,6 +2797,8 @@ browser_window_navigate(struct browser_window *bw,
 	child.charset = content_get_encoding(parent, CONTENT_ENCODING_NORMAL);
 	if ((parent != NULL) && (content_get_type(parent) == CONTENT_HTML)) {
 		child.quirks = content_get_quirks(parent);
+	} else {
+		child.quirks = false;
 	}
 
 	url = nsurl_ref(url);


-- 
NetSurf Browser



More information about the netsurf-commits mailing list