mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
Ladybird+LibWebView+Browser: Remove ability to run with AST interpreter
This commit is contained in:
parent
e769776bdd
commit
99ac34eeae
Notes:
sideshowbarker
2024-07-17 08:25:15 +09:00
Author: https://github.com/awesomekling
Commit: 99ac34eeae
Pull-request: https://github.com/SerenityOS/serenity/pull/20421
24 changed files with 28 additions and 68 deletions
|
@ -25,8 +25,7 @@ REGISTER_WIDGET(WebView, OutOfProcessWebView)
|
|||
|
||||
namespace WebView {
|
||||
|
||||
OutOfProcessWebView::OutOfProcessWebView(UseJavaScriptBytecode use_javascript_bytecode)
|
||||
: ViewImplementation(use_javascript_bytecode)
|
||||
OutOfProcessWebView::OutOfProcessWebView()
|
||||
{
|
||||
set_should_hide_unnecessary_scrollbars(true);
|
||||
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
||||
|
@ -47,8 +46,6 @@ void OutOfProcessWebView::create_client(EnableCallgrindProfiling)
|
|||
});
|
||||
};
|
||||
|
||||
client().async_set_use_javascript_bytecode(use_javascript_bytecode() == UseJavaScriptBytecode::Yes);
|
||||
|
||||
m_client_state.client_handle = Web::Crypto::generate_random_uuid().release_value_but_fixme_should_propagate_errors();
|
||||
client().async_set_window_handle(m_client_state.client_handle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue