NetSurf
|
Container for scripts used by an HTML document. More...
#include <html.h>
Public Types | |
enum | html_script_type { HTML_SCRIPT_INLINE , HTML_SCRIPT_SYNC , HTML_SCRIPT_DEFER , HTML_SCRIPT_ASYNC } |
Type of script. More... | |
Data Fields | |
enum html_script::html_script_type | type |
union { | |
struct hlcache_handle * handle | |
struct dom_string * string | |
} | data |
Script data. More... | |
struct dom_string * | mimetype |
struct dom_string * | encoding |
bool | already_started |
bool | parser_inserted |
bool | force_async |
bool | ready_exec |
bool | async |
bool | defer |
bool html_script::already_started |
Definition at line 81 of file html.h.
Referenced by convert_script_sync_cb(), exec_inline_script(), exec_src_script(), html_process_new_script(), and html_script_exec().
bool html_script::async |
Definition at line 85 of file html.h.
Referenced by exec_src_script(), and html_process_new_script().
union { ... } html_script::data |
Script data.
Referenced by convert_script_async_cb(), convert_script_defer_cb(), convert_script_sync_cb(), exec_inline_script(), exec_src_script(), html_saw_insecure_scripts(), html_script_exec(), and html_script_free().
bool html_script::defer |
Definition at line 86 of file html.h.
Referenced by exec_src_script(), and html_process_new_script().
bool html_script::force_async |
Definition at line 83 of file html.h.
Referenced by html_process_new_script().
struct hlcache_handle* html_script::handle |
Definition at line 76 of file html.h.
Referenced by convert_script_async_cb(), convert_script_defer_cb(), convert_script_sync_cb(), exec_src_script(), html_saw_insecure_scripts(), html_script_exec(), and html_script_free().
struct dom_string* html_script::mimetype |
Definition at line 79 of file html.h.
Referenced by exec_inline_script(), exec_src_script(), html_process_new_script(), html_process_script(), and html_script_free().
bool html_script::parser_inserted |
Definition at line 82 of file html.h.
Referenced by html_process_new_script().
bool html_script::ready_exec |
Definition at line 84 of file html.h.
Referenced by html_process_new_script().
struct dom_string* html_script::string |
Definition at line 77 of file html.h.
Referenced by exec_inline_script(), and html_script_free().
enum html_script::html_script_type html_script::type |