From 17b28e85c12309d60e3c45acb096b9989a7834ff Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 21 Mar 2020 18:30:41 +0000 Subject: JS: Split concept of JS context into heap and thread In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone --- content/handlers/html/html_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/handlers/html/html_internal.h') diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h index 9b363dc8b..a64078143 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -151,8 +151,8 @@ typedef struct html_content { unsigned int scripts_count; /** Scripts */ struct html_script *scripts; - /** javascript context */ - struct jscontext *jscontext; + /** javascript thread in use */ + struct jsthread *jsthread; /** Number of entries in stylesheet_content. */ unsigned int stylesheet_count; -- cgit v1.2.3