diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-06 17:09:50 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-06 17:16:09 +0000 |
commit | c4e551cd0cecf4ec9aba2d033cba3ca97e669463 (patch) | |
tree | 8831b672a74dd4dd02ab3cca7770ecb89be35ece /test | |
parent | 5d3cc513a3ecadb98ed8f6e34c4521db634e09cf (diff) | |
download | netsurf-c4e551cd0cecf4ec9aba2d033cba3ca97e669463.tar.gz netsurf-c4e551cd0cecf4ec9aba2d033cba3ca97e669463.tar.bz2 |
clear the html content reference to javascript context.
When the browser window is about to be destroyed html_close gets
called indicating the browser_window previously associated with the
html content is about to become invalid.
This makes the javascript context invalid within the html content (it
is held by the browser window) when that context is about to be
destroyed. Previously the javascript children would continue to
attempt to use the context after it had been destroyed causing all
sorts of strange errors and failures.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions