netsurf/render
Michael Drake 82b298ac2c Ensure we do on-demand JS context creation only when JS is enabled.
An alternative approach which may be better would be to create the
JavaScript context when the html_content is created, rather than
on demand.

This code checks for the JS context and creates one every time we
add a node to the DOM.  So when JS is on, every doc with a single
node in it has a JS context.  This seems to make on-demand creation
a redundant overhead.
2016-01-21 14:51:17 +00:00
..
box_construct.c Ensure constant javascript_enabled for HTML contents. 2016-01-21 14:11:36 +00:00
box_normalise.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
box_textarea.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
box_textarea.h A load of refactoring of how content selection and input work. 2013-02-22 12:19:35 +00:00
box.c Cache place below level, to avoid pointless calls to find_sides. 2016-01-20 20:09:40 +00:00
box.h Pass html_content to box_extract_link. 2016-01-21 14:09:57 +00:00
font.c Put the font operations table alongside all the other core API 2014-10-13 11:56:31 +01:00
font.h Put the font operations table alongside all the other core API 2014-10-13 11:56:31 +01:00
form_internal.h make the form select menu API smaller. 2014-11-13 21:52:08 +00:00
form.c Only iterate the form when freeing a control if there is one. 2015-06-03 20:24:32 +01:00
form.h Rename context_menu.c and strip out all the context menu code, so this file and popupmenu.class is only used (optionally) for HTML form selection. 2015-09-05 15:09:00 +01:00
html_css_fetcher.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
html_css.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
html_forms.c Make most of the form API internal to the html renderer. 2014-11-11 17:11:59 +00:00
html_interaction.c Remove erroneous redeclaration of variable in new scope. 2015-12-20 12:04:21 +00:00
html_internal.h Ensure constant javascript_enabled for HTML contents. 2016-01-21 14:11:36 +00:00
html_object.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
html_redraw.c cleanup Doxygen warnings 2014-11-12 19:31:39 +00:00
html_script.c Don't call up if the parent's jscontext has gone NULL in the meantime 2015-10-31 18:26:43 +01:00
html.c Ensure we do on-demand JS context creation only when JS is enabled. 2016-01-21 14:51:17 +00:00
html.h Improve content encoding information API 2014-11-07 12:33:34 +00:00
imagemap.c Pass html_content to box_extract_link. 2016-01-21 14:09:57 +00:00
imagemap.h Remove nsurl include. 2015-02-26 17:05:12 +00:00
layout.c Simplify place_float_below loop condition. 2016-01-21 09:44:05 +00:00
layout.h Merge branches/jmb/content-factory to trunk 2011-05-06 20:40:09 +00:00
Makefile Remove completely dead file. 2014-05-31 10:45:32 +01:00
search.c Fix my spelling of teh everywhere 2014-11-18 17:16:26 +00:00
search.h Improve Doxygen documentation 2014-11-08 12:35:11 +00:00
table.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
table.h Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
textplain.c Change LOG() macro to be varadic 2015-05-28 16:08:46 +01:00
textplain.h Remove search context from browser window, simplify search interface for front ends. 2013-05-07 14:41:40 +01:00