From efbfaa0cb1808a3953f1595b9c5e1be9d7994469 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 22 Mar 2020 10:00:29 +0000 Subject: JS: Move ownership of jsthread from browser to htmlc Since it makes more sense for the htmlc to be responsible for when the JS thread gets destroyed, move its lifetime from the responsibility of the browser window to the html content. Signed-off-by: Daniel Silverstone --- content/handlers/html/html_internal.h | 8 -------- 1 file changed, 8 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 a64078143..7340bd25c 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -320,14 +320,6 @@ nserror html_script_exec(html_content *htmlc, bool allow_defer); */ nserror html_script_free(html_content *htmlc); -/** - * Ensure the html content javascript context is invalidated. - * - * \param htmlc html content. - * \return NSERROR_OK or error code. - */ -nserror html_script_invalidate_ctx(html_content *htmlc); - /** * Check if any of the scripts loaded were insecure */ -- cgit v1.2.1