mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 12:42:54 +00:00
Ladybird+LibWebView: Respawn with same JS interpreter after crash
WebView::ViewImplementation now remembers which JS interpreter it started with, and uses the same setting if the WebContent process crashes and we have to spawn a new one.
This commit is contained in:
parent
8b23bbf58e
commit
5d6169793a
Notes:
sideshowbarker
2024-07-16 19:42:24 +09:00
Author: https://github.com/awesomekling
Commit: 5d6169793a
Pull-request: https://github.com/SerenityOS/serenity/pull/20141
7 changed files with 25 additions and 15 deletions
Userland/Libraries/LibWebView
|
@ -14,7 +14,8 @@
|
|||
|
||||
namespace WebView {
|
||||
|
||||
ViewImplementation::ViewImplementation()
|
||||
ViewImplementation::ViewImplementation(UseJavaScriptBytecode use_javascript_bytecode)
|
||||
: m_use_javascript_bytecode(use_javascript_bytecode)
|
||||
{
|
||||
m_backing_store_shrink_timer = Core::Timer::create_single_shot(3000, [this] {
|
||||
resize_backing_stores_if_needed(WindowResizeInProgress::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue