mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibWeb: Support Gecko and WebKit navigator compatibility modes
This will log a debug message when calls are made to the NavigatorIDMixin that make decisions based on the compatibility mode.
This commit is contained in:
committed by
Andreas Kling
parent
e713de115c
commit
1128375dff
@@ -20,7 +20,6 @@
|
||||
#include <LibWeb/Loader/ProxyMappings.h>
|
||||
#include <LibWeb/Loader/Resource.h>
|
||||
#include <LibWeb/Loader/ResourceLoader.h>
|
||||
#include <LibWeb/Loader/UserAgent.h>
|
||||
#include <LibWeb/Platform/EventLoopPlugin.h>
|
||||
#include <LibWeb/Platform/Timer.h>
|
||||
|
||||
@@ -60,6 +59,7 @@ ResourceLoader::ResourceLoader(NonnullRefPtr<ResourceLoaderConnector> connector)
|
||||
: m_connector(move(connector))
|
||||
, m_user_agent(MUST(String::from_utf8(default_user_agent)))
|
||||
, m_platform(MUST(String::from_utf8(default_platform)))
|
||||
, m_navigator_compatibility_mode(default_navigator_compatibility_mode)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user