idx
int64
func_before
string
Vulnerability Classification
string
vul
int64
func_after
string
patch
string
CWE ID
string
lines_before
string
lines_after
string
13,600
void WebContext::DefaultVideoDeviceChanged() { client_->DefaultVideoCaptureDeviceChanged(); }
null
0
void WebContext::DefaultVideoDeviceChanged() { client_->DefaultVideoCaptureDeviceChanged(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,601
void WebContext::DeleteCookiesCallback(int request_id, int num_deleted) { client_->CookiesDeleted(request_id, num_deleted); }
null
0
void WebContext::DeleteCookiesCallback(int request_id, int num_deleted) { client_->CookiesDeleted(request_id, num_deleted); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,602
WebContext* WebContextGetter::GetContext() const { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); return context_.get(); }
null
0
WebContext* WebContextGetter::GetContext() const { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); return context_.get(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,603
QNetworkAccessManager* WebContext::GetCustomNetworkAccessManager() { return client_->GetCustomNetworkAccessManager(); }
null
0
QNetworkAccessManager* WebContext::GetCustomNetworkAccessManager() { return client_->GetCustomNetworkAccessManager(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,604
int GetNextCookieRequestId() { static int id = 0; if (id == std::numeric_limits<int>::max()) { int i = id; id = 0; return i; } return id++; }
null
0
int GetNextCookieRequestId() { static int id = 0; if (id == std::numeric_limits<int>::max()) { int i = id; id = 0; return i; } return id++; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,605
std::string WebContext::BrowserContextDelegate::GetUserAgentOverride( const GURL& url) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return std::string(); } QString user_agent = io_client->GetUserAgentOverride( QUrl(QString::fromStdString(url.spec(...
null
0
std::string WebContext::BrowserContextDelegate::GetUserAgentOverride( const GURL& url) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return std::string(); } QString user_agent = io_client->GetUserAgentOverride( QUrl(QString::fromStdString(url.spec(...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,606
void WebContext::BrowserContextDelegate::Init( const QWeakPointer<WebContextProxyClient::IOClient>& io_client) { base::AutoLock lock(io_client_lock_); io_client_ = io_client; }
null
0
void WebContext::BrowserContextDelegate::Init( const QWeakPointer<WebContextProxyClient::IOClient>& io_client) { base::AutoLock lock(io_client_lock_); io_client_ = io_client; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,607
bool WebContext::BrowserContextDelegate::IsCustomProtocolHandlerRegistered( const std::string& scheme) const { base::AutoLock lock(url_schemes_lock_); return allowed_extra_url_schemes_.find(scheme) != allowed_extra_url_schemes_.end(); }
null
0
bool WebContext::BrowserContextDelegate::IsCustomProtocolHandlerRegistered( const std::string& scheme) const { base::AutoLock lock(url_schemes_lock_); return allowed_extra_url_schemes_.find(scheme) != allowed_extra_url_schemes_.end(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,608
int WebContext::BrowserContextDelegate::OnBeforeRedirect( net::URLRequest* request, const GURL& new_location) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::ResourceRequestInfo* info = content::ResourceRequestInf...
null
0
int WebContext::BrowserContextDelegate::OnBeforeRedirect( net::URLRequest* request, const GURL& new_location) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::ResourceRequestInfo* info = content::ResourceRequestInf...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,609
int WebContext::BrowserContextDelegate::OnBeforeSendHeaders( net::URLRequest* request, const net::CompletionCallback& callback, net::HttpRequestHeaders* headers) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::Resou...
null
0
int WebContext::BrowserContextDelegate::OnBeforeSendHeaders( net::URLRequest* request, const net::CompletionCallback& callback, net::HttpRequestHeaders* headers) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::Resou...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,610
int WebContext::BrowserContextDelegate::OnBeforeURLRequest( net::URLRequest* request, const net::CompletionCallback& callback, GURL* new_url) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::ResourceRequestInfo* info...
null
0
int WebContext::BrowserContextDelegate::OnBeforeURLRequest( net::URLRequest* request, const net::CompletionCallback& callback, GURL* new_url) { QSharedPointer<WebContextProxyClient::IOClient> io_client = GetIOClient(); if (!io_client) { return net::OK; } const content::ResourceRequestInfo* info...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,611
void WebContext::BrowserContextDelegate::SetAllowedExtraURLSchemes( const std::set<std::string>& schemes) { base::AutoLock lock(url_schemes_lock_); allowed_extra_url_schemes_ = schemes; }
null
0
void WebContext::BrowserContextDelegate::SetAllowedExtraURLSchemes( const std::set<std::string>& schemes) { base::AutoLock lock(url_schemes_lock_); allowed_extra_url_schemes_ = schemes; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,612
void WebContext::SetCookieCallback(scoped_refptr<SetCookiesContext> ctxt, const QNetworkCookie& cookie, bool success) { DCHECK_GT(ctxt->remaining, 0); if (!success) { ctxt->failed.push_back(cookie); } if (--ctxt->remaining > 0) { re...
null
0
void WebContext::SetCookieCallback(scoped_refptr<SetCookiesContext> ctxt, const QNetworkCookie& cookie, bool success) { DCHECK_GT(ctxt->remaining, 0); if (!success) { ctxt->failed.push_back(cookie); } if (--ctxt->remaining > 0) { re...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,613
SetCookiesContext(int request_id) : request_id(request_id), remaining(0) {}
null
0
SetCookiesContext(int request_id) : request_id(request_id), remaining(0) {}
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,614
WebContext::WebContext(WebContextProxyClient* client, QObject* handle) : client_(client), construct_props_(new ConstructProperties()), weak_factory_(this) { DCHECK(client); DCHECK(handle); setHandle(handle); delegate_ = new BrowserContextDelegate(weak_factory_.GetWeakPtr...
null
0
WebContext::WebContext(WebContextProxyClient* client, QObject* handle) : client_(client), construct_props_(new ConstructProperties()), weak_factory_(this) { DCHECK(client); DCHECK(handle); setHandle(handle); delegate_ = new BrowserContextDelegate(weak_factory_.GetWeakPtr...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,615
WebContextGetter::WebContextGetter(const base::WeakPtr<WebContext>& context) : context_(context) {}
null
0
WebContextGetter::WebContextGetter(const base::WeakPtr<WebContext>& context) : context_(context) {}
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,616
QString WebContext::acceptLangs() const { if (IsInitialized()) { return QString::fromStdString( UserAgentSettings::Get(context_.get())->GetAcceptLangs()); } return QString::fromStdString(construct_props_->accept_langs); }
null
0
QString WebContext::acceptLangs() const { if (IsInitialized()) { return QString::fromStdString( UserAgentSettings::Get(context_.get())->GetAcceptLangs()); } return QString::fromStdString(construct_props_->accept_langs); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,617
QUrl WebContext::cachePath() const { base::FilePath path; if (IsInitialized()) { path = context_->GetCachePath(); } else { path = construct_props_->cache_path; } if (path.empty()) { return QUrl(); } return QUrl::fromLocalFile(QString::fromStdString(path.value())); }
null
0
QUrl WebContext::cachePath() const { base::FilePath path; if (IsInitialized()) { path = context_->GetCachePath(); } else { path = construct_props_->cache_path; } if (path.empty()) { return QUrl(); } return QUrl::fromLocalFile(QString::fromStdString(path.value())); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,618
void WebContext::clearTemporarySavedPermissionStatuses() { if (!context_.get()) { return; } context_->GetTemporarySavedPermissionContext()->Clear(); if (!context_->HasOffTheRecordContext()) { return; } context_->GetOffTheRecordContext() ->GetTemporarySavedPermissionContext() ->Clear();...
null
0
void WebContext::clearTemporarySavedPermissionStatuses() { if (!context_.get()) { return; } context_->GetTemporarySavedPermissionContext()->Clear(); if (!context_->HasOffTheRecordContext()) { return; } context_->GetOffTheRecordContext() ->GetTemporarySavedPermissionContext() ->Clear();...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,619
WebContext* context() const { return context_getter_->GetContext(); }
null
0
WebContext* context() const { return context_getter_->GetContext(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,620
QUrl WebContext::dataPath() const { base::FilePath path; if (IsInitialized()) { path = context_->GetPath(); } else { path = construct_props_->data_path; } if (path.empty()) { return QUrl(); } return QUrl::fromLocalFile(QString::fromStdString(path.value())); }
null
0
QUrl WebContext::dataPath() const { base::FilePath path; if (IsInitialized()) { path = context_->GetPath(); } else { path = construct_props_->data_path; } if (path.empty()) { return QUrl(); } return QUrl::fromLocalFile(QString::fromStdString(path.value())); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,621
QString WebContext::defaultAudioCaptureDeviceId() const { if (IsInitialized()) { return QString::fromStdString( MediaCaptureDevicesContext::Get(context_.get()) ->GetDefaultAudioDeviceId()); } return QString::fromStdString( construct_props_->default_audio_capture_device_id); }
null
0
QString WebContext::defaultAudioCaptureDeviceId() const { if (IsInitialized()) { return QString::fromStdString( MediaCaptureDevicesContext::Get(context_.get()) ->GetDefaultAudioDeviceId()); } return QString::fromStdString( construct_props_->default_audio_capture_device_id); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,622
QString WebContext::defaultVideoCaptureDeviceId() const { if (IsInitialized()) { return QString::fromStdString( MediaCaptureDevicesContext::Get(context_.get()) ->GetDefaultVideoDeviceId()); } return QString::fromStdString( construct_props_->default_video_capture_device_id); }
null
0
QString WebContext::defaultVideoCaptureDeviceId() const { if (IsInitialized()) { return QString::fromStdString( MediaCaptureDevicesContext::Get(context_.get()) ->GetDefaultVideoDeviceId()); } return QString::fromStdString( construct_props_->default_video_capture_device_id); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,623
int WebContext::deleteAllCookies() { int request_id = GetNextCookieRequestId(); context_->GetCookieStore()->DeleteAllAsync( base::Bind(&WebContext::DeleteCookiesCallback, weak_factory_.GetWeakPtr(), request_id)); return request_id; }
null
0
int WebContext::deleteAllCookies() { int request_id = GetNextCookieRequestId(); context_->GetCookieStore()->DeleteAllAsync( base::Bind(&WebContext::DeleteCookiesCallback, weak_factory_.GetWeakPtr(), request_id)); return request_id; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,624
QString WebContext::devtoolsBindIp() const { if (IsInitialized()) { return QString::fromStdString( DevToolsManager::Get(context_.get())->address()); } return QString::fromStdString(construct_props_->devtools_ip); }
null
0
QString WebContext::devtoolsBindIp() const { if (IsInitialized()) { return QString::fromStdString( DevToolsManager::Get(context_.get())->address()); } return QString::fromStdString(construct_props_->devtools_ip); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,625
int WebContext::devtoolsPort() const { if (IsInitialized()) { return DevToolsManager::Get(context_.get())->port(); } return construct_props_->devtools_port; }
null
0
int WebContext::devtoolsPort() const { if (IsInitialized()) { return DevToolsManager::Get(context_.get())->port(); } return construct_props_->devtools_port; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,626
bool WebContext::doNotTrack() const { if (IsInitialized()) { return context_->GetDoNotTrack(); } return construct_props_->do_not_track; }
null
0
bool WebContext::doNotTrack() const { if (IsInitialized()) { return context_->GetDoNotTrack(); } return construct_props_->do_not_track; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,627
int WebContext::getAllCookies() { int request_id = GetNextCookieRequestId(); context_->GetCookieStore()->GetAllCookiesAsync( base::Bind(&WebContext::GetCookiesCallback, weak_factory_.GetWeakPtr(), request_id)); return request_id; }
null
0
int WebContext::getAllCookies() { int request_id = GetNextCookieRequestId(); context_->GetCookieStore()->GetAllCookiesAsync( base::Bind(&WebContext::GetCookiesCallback, weak_factory_.GetWeakPtr(), request_id)); return request_id; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,628
QStringList WebContext::hostMappingRules() const { std::vector<std::string> v; if (!IsInitialized()) { v = construct_props_->host_mapping_rules; } else { v = context_->GetHostMappingRules(); } QStringList rules; for (std::vector<std::string>::const_iterator it = v.cbegin(); it != v.cend(); +...
null
0
QStringList WebContext::hostMappingRules() const { std::vector<std::string> v; if (!IsInitialized()) { v = construct_props_->host_mapping_rules; } else { v = context_->GetHostMappingRules(); } QStringList rules; for (std::vector<std::string>::const_iterator it = v.cbegin(); it != v.cend(); +...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,629
void WebContext::init( const QWeakPointer<WebContextProxyClient::IOClient>& io_client) { delegate_->Init(io_client); }
null
0
void WebContext::init( const QWeakPointer<WebContextProxyClient::IOClient>& io_client) { delegate_->Init(io_client); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,630
bool WebContext::isInitialized() const { return IsInitialized(); }
null
0
bool WebContext::isInitialized() const { return IsInitialized(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,631
int WebContext::maxCacheSizeHint() const { if (IsInitialized()) { return context_->GetMaxCacheSizeHint(); } return construct_props_->max_cache_size_hint; }
null
0
int WebContext::maxCacheSizeHint() const { if (IsInitialized()) { return context_->GetMaxCacheSizeHint(); } return construct_props_->max_cache_size_hint; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,632
bool WebContext::popupBlockerEnabled() const { if (IsInitialized()) { return context_->IsPopupBlockerEnabled(); } return construct_props_->popup_blocker_enabled; }
null
0
bool WebContext::popupBlockerEnabled() const { if (IsInitialized()) { return context_->IsPopupBlockerEnabled(); } return construct_props_->popup_blocker_enabled; }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,633
WebContextProxy::SessionCookieMode WebContext::sessionCookieMode() const { if (IsInitialized()) { return static_cast<SessionCookieMode>(context_->GetSessionCookieMode()); } return static_cast<SessionCookieMode>(construct_props_->session_cookie_mode); }
null
0
WebContextProxy::SessionCookieMode WebContext::sessionCookieMode() const { if (IsInitialized()) { return static_cast<SessionCookieMode>(context_->GetSessionCookieMode()); } return static_cast<SessionCookieMode>(construct_props_->session_cookie_mode); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,634
void WebContext::setAcceptLangs(const QString& langs) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetAcceptLangs( langs.toStdString()); } else { construct_props_->accept_langs = langs.toStdString(); } }
null
0
void WebContext::setAcceptLangs(const QString& langs) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetAcceptLangs( langs.toStdString()); } else { construct_props_->accept_langs = langs.toStdString(); } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,635
void WebContext::setCachePath(const QUrl& url) { DCHECK(!IsInitialized()); DCHECK(url.isLocalFile() || url.isEmpty()); construct_props_->cache_path = base::FilePath(url.toLocalFile().toStdString()); }
null
0
void WebContext::setCachePath(const QUrl& url) { DCHECK(!IsInitialized()); DCHECK(url.isLocalFile() || url.isEmpty()); construct_props_->cache_path = base::FilePath(url.toLocalFile().toStdString()); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,636
int WebContext::setCookies(const QUrl& url, const QList<QNetworkCookie>& cookies) { int request_id = GetNextCookieRequestId(); net::CookieStore* cookie_store = context_->GetCookieStore(); scoped_refptr<SetCookiesContext> ctxt = new SetCookiesContext(request_id); for (int i = 0; i ...
null
0
int WebContext::setCookies(const QUrl& url, const QList<QNetworkCookie>& cookies) { int request_id = GetNextCookieRequestId(); net::CookieStore* cookie_store = context_->GetCookieStore(); scoped_refptr<SetCookiesContext> ctxt = new SetCookiesContext(request_id); for (int i = 0; i ...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,637
void WebContext::setDataPath(const QUrl& url) { DCHECK(!IsInitialized()); DCHECK(url.isLocalFile() || url.isEmpty()); construct_props_->data_path = base::FilePath(url.toLocalFile().toStdString()); }
null
0
void WebContext::setDataPath(const QUrl& url) { DCHECK(!IsInitialized()); DCHECK(url.isLocalFile() || url.isEmpty()); construct_props_->data_path = base::FilePath(url.toLocalFile().toStdString()); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,638
bool WebContext::setDefaultAudioCaptureDeviceId(const QString& id) { if (IsInitialized()) { return MediaCaptureDevicesContext::Get(context_.get()) ->SetDefaultAudioDeviceId(id.toStdString()); } construct_props_->default_audio_capture_device_id = id.toStdString(); client_->DefaultAudioCaptureDeviceC...
null
0
bool WebContext::setDefaultAudioCaptureDeviceId(const QString& id) { if (IsInitialized()) { return MediaCaptureDevicesContext::Get(context_.get()) ->SetDefaultAudioDeviceId(id.toStdString()); } construct_props_->default_audio_capture_device_id = id.toStdString(); client_->DefaultAudioCaptureDeviceC...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,639
bool WebContext::setDefaultVideoCaptureDeviceId(const QString& id) { if (IsInitialized()) { return MediaCaptureDevicesContext::Get(context_.get()) ->SetDefaultVideoDeviceId(id.toStdString()); } construct_props_->default_video_capture_device_id = id.toStdString(); client_->DefaultVideoCaptureDeviceC...
null
0
bool WebContext::setDefaultVideoCaptureDeviceId(const QString& id) { if (IsInitialized()) { return MediaCaptureDevicesContext::Get(context_.get()) ->SetDefaultVideoDeviceId(id.toStdString()); } construct_props_->default_video_capture_device_id = id.toStdString(); client_->DefaultVideoCaptureDeviceC...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,640
void WebContext::setDevtoolsBindIp(const QString& ip) { if (IsInitialized()) { DevToolsManager::Get(context_.get())->SetAddress(ip.toStdString()); } else { construct_props_->devtools_ip = ip.toStdString(); } }
null
0
void WebContext::setDevtoolsBindIp(const QString& ip) { if (IsInitialized()) { DevToolsManager::Get(context_.get())->SetAddress(ip.toStdString()); } else { construct_props_->devtools_ip = ip.toStdString(); } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,641
void WebContext::setDevtoolsPort(int port) { if (IsInitialized()) { DevToolsManager::Get(context_.get())->SetPort(port); } else { construct_props_->devtools_port = port; } }
null
0
void WebContext::setDevtoolsPort(int port) { if (IsInitialized()) { DevToolsManager::Get(context_.get())->SetPort(port); } else { construct_props_->devtools_port = port; } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,642
void WebContext::setHostMappingRules(const QStringList& rules) { DCHECK(!IsInitialized()); construct_props_->host_mapping_rules.clear(); for (QStringList::const_iterator it = rules.cbegin(); it != rules.cend(); ++it) { construct_props_->host_mapping_rules.push_back((*it).toStdString()); } }
null
0
void WebContext::setHostMappingRules(const QStringList& rules) { DCHECK(!IsInitialized()); construct_props_->host_mapping_rules.clear(); for (QStringList::const_iterator it = rules.cbegin(); it != rules.cend(); ++it) { construct_props_->host_mapping_rules.push_back((*it).toStdString()); } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,643
void WebContext::setLegacyUserAgentOverrideEnabled(bool enabled) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetLegacyUserAgentOverrideEnabled( enabled); } else { construct_props_->legacy_user_agent_override_enabled = enabled; } }
null
0
void WebContext::setLegacyUserAgentOverrideEnabled(bool enabled) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetLegacyUserAgentOverrideEnabled( enabled); } else { construct_props_->legacy_user_agent_override_enabled = enabled; } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,644
void WebContext::setPopupBlockerEnabled(bool enabled) { if (IsInitialized()) { context_->SetIsPopupBlockerEnabled(enabled); } else { construct_props_->popup_blocker_enabled = enabled; } }
null
0
void WebContext::setPopupBlockerEnabled(bool enabled) { if (IsInitialized()) { context_->SetIsPopupBlockerEnabled(enabled); } else { construct_props_->popup_blocker_enabled = enabled; } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,645
void WebContext::setProduct(const QString& product) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetProduct( product.toStdString()); } else { construct_props_->product = product.toStdString(); } }
null
0
void WebContext::setProduct(const QString& product) { if (IsInitialized()) { UserAgentSettings::Get(context_.get())->SetProduct( product.toStdString()); } else { construct_props_->product = product.toStdString(); } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,646
void WebContext::setUserAgentOverrides( const QList<UserAgentOverride>& overrides) { std::vector<UserAgentSettings::UserAgentOverride> o; for (auto it = overrides.begin(); it != overrides.end(); ++it) { o.push_back( std::make_pair((*it).first.toStdString(), (*it).second.toStdS...
null
0
void WebContext::setUserAgentOverrides( const QList<UserAgentOverride>& overrides) { std::vector<UserAgentSettings::UserAgentOverride> o; for (auto it = overrides.begin(); it != overrides.end(); ++it) { o.push_back( std::make_pair((*it).first.toStdString(), (*it).second.toStdS...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,647
void WebContext::updateUserScripts() { UpdateUserScripts(); }
null
0
void WebContext::updateUserScripts() { UpdateUserScripts(); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,648
QString WebContext::userAgent() const { if (IsInitialized()) { return QString::fromStdString( UserAgentSettings::Get(context_.get())->GetUserAgent()); } return QString::fromStdString(construct_props_->user_agent); }
null
0
QString WebContext::userAgent() const { if (IsInitialized()) { return QString::fromStdString( UserAgentSettings::Get(context_.get())->GetUserAgent()); } return QString::fromStdString(construct_props_->user_agent); }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,649
WebContext::userAgentOverrides() const { QList<UserAgentOverride> rv; std::vector<UserAgentSettings::UserAgentOverride> overrides; if (IsInitialized()) { overrides = UserAgentSettings::Get(context_.get())->GetUserAgentOverrides(); } else { overrides = construct_props_->user_agent_overrides; }...
null
0
WebContext::userAgentOverrides() const { QList<UserAgentOverride> rv; std::vector<UserAgentSettings::UserAgentOverride> overrides; if (IsInitialized()) { overrides = UserAgentSettings::Get(context_.get())->GetUserAgentOverrides(); } else { overrides = construct_props_->user_agent_overrides; }...
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,650
WebContext::BrowserContextDelegate::~BrowserContextDelegate() {}
null
0
WebContext::BrowserContextDelegate::~BrowserContextDelegate() {}
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,651
WebContext::~WebContext() { if (context_.get()) { context_->SetDelegate(nullptr); MediaCaptureDevicesContext::Get(context_.get())->set_client(nullptr); } }
null
0
WebContext::~WebContext() { if (context_.get()) { context_->SetDelegate(nullptr); MediaCaptureDevicesContext::Get(context_.get())->set_client(nullptr); } }
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,652
WebContextGetter::~WebContextGetter() {}
null
0
WebContextGetter::~WebContextGetter() {}
@@ -53,7 +53,6 @@ #include "qt/core/browser/oxide_qt_user_script.h" #include "qt/core/glue/oxide_qt_web_context_proxy_client.h" #include "shared/browser/media/oxide_media_capture_devices_context.h" -#include "shared/browser/oxide_browser_context.h" #include "shared/browser/oxide_browser_context_delegate.h" #includ...
CWE-20
null
null
13,653
void OxideQQuickWebViewPrivate::AddMessageToConsole( int level, const QString& message, int line_no, const QString& source_id) { Q_Q(OxideQQuickWebView); OxideQQuickWebView::LogMessageSeverityLevel oxideLevel = OxideQQuickWebView::LogSeverityInfo; if (level >= 0 && level <= OxideQQuickWebView...
null
0
void OxideQQuickWebViewPrivate::AddMessageToConsole( int level, const QString& message, int line_no, const QString& source_id) { Q_Q(OxideQQuickWebView); OxideQQuickWebView::LogMessageSeverityLevel oxideLevel = OxideQQuickWebView::LogSeverityInfo; if (level >= 0 && level <= OxideQQuickWebView...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,654
bool OxideQQuickWebViewPrivate::CanCreateWindows() const { Q_Q(const OxideQQuickWebView); return q->receivers(SIGNAL(newViewRequested(OxideQNewViewRequest*))) > 0; }
null
0
bool OxideQQuickWebViewPrivate::CanCreateWindows() const { Q_Q(const OxideQQuickWebView); return q->receivers(SIGNAL(newViewRequested(OxideQNewViewRequest*))) > 0; }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,655
void OxideQQuickWebViewPrivate::CertificateError( std::unique_ptr<OxideQCertificateError> cert_error) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { return; } { QJSValue val = engine->newQObject(cert_error.get()); if (!val.isQObject()) { return; } ...
null
0
void OxideQQuickWebViewPrivate::CertificateError( std::unique_ptr<OxideQCertificateError> cert_error) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { return; } { QJSValue val = engine->newQObject(cert_error.get()); if (!val.isQObject()) { return; } ...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,656
void OxideQQuickWebViewPrivate::CloseRequested() { Q_Q(OxideQQuickWebView); emit q->closeRequested(); }
null
0
void OxideQQuickWebViewPrivate::CloseRequested() { Q_Q(OxideQQuickWebView); emit q->closeRequested(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,657
void OxideQQuickWebViewPrivate::CommandsUpdated() { Q_Q(OxideQQuickWebView); emit q->navigationHistoryChanged(); }
null
0
void OxideQQuickWebViewPrivate::CommandsUpdated() { Q_Q(OxideQQuickWebView); emit q->navigationHistoryChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,658
ConstructProps() : incognito(false), context(nullptr), restore_type(oxide::qt::RESTORE_LAST_SESSION_EXITED_CLEANLY), location_bar_height(0), location_bar_mode(oxide::qt::LOCATION_BAR_MODE_AUTO), location_bar_animated(true), load_html(false), fullscreen(fal...
null
0
ConstructProps() : incognito(false), context(nullptr), restore_type(oxide::qt::RESTORE_LAST_SESSION_EXITED_CLEANLY), location_bar_height(0), location_bar_mode(oxide::qt::LOCATION_BAR_MODE_AUTO), location_bar_animated(true), load_html(false), fullscreen(fal...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,659
OxideQQuickWebViewPrivate::CreateBeforeUnloadDialog( oxide::qt::JavaScriptDialogProxyClient* client) { Q_Q(OxideQQuickWebView); return new oxide::qquick::BeforeUnloadDialog(q, client); }
null
0
OxideQQuickWebViewPrivate::CreateBeforeUnloadDialog( oxide::qt::JavaScriptDialogProxyClient* client) { Q_Q(OxideQQuickWebView); return new oxide::qquick::BeforeUnloadDialog(q, client); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,660
oxide::qt::FilePickerProxy* OxideQQuickWebViewPrivate::CreateFilePicker( oxide::qt::FilePickerProxyClient* client) { Q_Q(OxideQQuickWebView); return new oxide::qquick::FilePicker(q, client); }
null
0
oxide::qt::FilePickerProxy* OxideQQuickWebViewPrivate::CreateFilePicker( oxide::qt::FilePickerProxyClient* client) { Q_Q(OxideQQuickWebView); return new oxide::qquick::FilePicker(q, client); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,661
void OxideQQuickWebViewPrivate::CreateWebFrame( oxide::qt::WebFrameProxy* proxy) { Q_Q(OxideQQuickWebView); OxideQQuickWebFrame* frame = OxideQQuickWebFramePrivate::create(proxy); QQmlEngine::setObjectOwnership(frame, QQmlEngine::CppOwnership); emit q->frameAdded(frame); }
null
0
void OxideQQuickWebViewPrivate::CreateWebFrame( oxide::qt::WebFrameProxy* proxy) { Q_Q(OxideQQuickWebView); OxideQQuickWebFrame* frame = OxideQQuickWebFramePrivate::create(proxy); QQmlEngine::setObjectOwnership(frame, QQmlEngine::CppOwnership); emit q->frameAdded(frame); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,662
void OxideQQuickWebViewPrivate::DownloadRequested( const OxideQDownloadRequest& download_request) { Q_Q(OxideQQuickWebView); emit q->downloadRequested(download_request); }
null
0
void OxideQQuickWebViewPrivate::DownloadRequested( const OxideQDownloadRequest& download_request) { Q_Q(OxideQQuickWebView); emit q->downloadRequested(download_request); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,663
void OxideQQuickWebViewPrivate::FaviconChanged() { Q_Q(OxideQQuickWebView); emit q->iconChanged(); }
null
0
void OxideQQuickWebViewPrivate::FaviconChanged() { Q_Q(OxideQQuickWebView); emit q->iconChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,664
void OxideQQuickWebViewPrivate::FrameMetadataUpdated( oxide::qt::FrameMetadataChangeFlags flags) { Q_Q(OxideQQuickWebView); QFlags<oxide::qt::FrameMetadataChangeFlags> f(flags); if (f.testFlag(oxide::qt::FRAME_METADATA_CHANGE_SCROLL_OFFSET)) { emit q->contentXChanged(); emit q->contentYChanged(); ...
null
0
void OxideQQuickWebViewPrivate::FrameMetadataUpdated( oxide::qt::FrameMetadataChangeFlags flags) { Q_Q(OxideQQuickWebView); QFlags<oxide::qt::FrameMetadataChangeFlags> f(flags); if (f.testFlag(oxide::qt::FRAME_METADATA_CHANGE_SCROLL_OFFSET)) { emit q->contentXChanged(); emit q->contentYChanged(); ...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,665
void OxideQQuickWebViewPrivate::FrameRemoved(QObject* frame) { Q_Q(OxideQQuickWebView); emit q->frameRemoved(qobject_cast<OxideQQuickWebFrame*>(frame)); }
null
0
void OxideQQuickWebViewPrivate::FrameRemoved(QObject* frame) { Q_Q(OxideQQuickWebView); emit q->frameRemoved(qobject_cast<OxideQQuickWebFrame*>(frame)); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,666
QEvent::Type GetPrepareToCloseBypassEventType() { static int g_event_type = QEvent::registerEventType(); return QEvent::Type(g_event_type); }
null
0
QEvent::Type GetPrepareToCloseBypassEventType() { static int g_event_type = QEvent::registerEventType(); return QEvent::Type(g_event_type); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,667
void OxideQQuickWebViewPrivate::HttpAuthenticationRequested( OxideQHttpAuthenticationRequest* authentication_request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete authentication_request; return; } { QJSValue val = engine->newQObject(authentication_requ...
null
0
void OxideQQuickWebViewPrivate::HttpAuthenticationRequested( OxideQHttpAuthenticationRequest* authentication_request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete authentication_request; return; } { QJSValue val = engine->newQObject(authentication_requ...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,668
void OxideQQuickWebViewPrivate::LoadEvent(const OxideQLoadEvent& event) { Q_Q(OxideQQuickWebView); emit q->loadEvent(event); if (!using_old_load_event_signal_ || event.type() == OxideQLoadEvent::TypeCommitted || event.type() == OxideQLoadEvent::TypeRedirected) { return; } emit q->loadingCha...
null
0
void OxideQQuickWebViewPrivate::LoadEvent(const OxideQLoadEvent& event) { Q_Q(OxideQQuickWebView); emit q->loadEvent(event); if (!using_old_load_event_signal_ || event.type() == OxideQLoadEvent::TypeCommitted || event.type() == OxideQLoadEvent::TypeRedirected) { return; } emit q->loadingCha...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,669
void OxideQQuickWebViewPrivate::LoadProgressChanged(double progress) { Q_Q(OxideQQuickWebView); load_progress_ = progress * 100; emit q->loadProgressChanged(); }
null
0
void OxideQQuickWebViewPrivate::LoadProgressChanged(double progress) { Q_Q(OxideQQuickWebView); load_progress_ = progress * 100; emit q->loadProgressChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,670
void OxideQQuickWebViewPrivate::LoadingChanged() { Q_Q(OxideQQuickWebView); emit q->loadingStateChanged(); }
null
0
void OxideQQuickWebViewPrivate::LoadingChanged() { Q_Q(OxideQQuickWebView); emit q->loadingStateChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,671
void OxideQQuickWebViewPrivate::NavigationEntryChanged(int index) { navigation_history_.onNavigationEntryChanged(index); }
null
0
void OxideQQuickWebViewPrivate::NavigationEntryChanged(int index) { navigation_history_.onNavigationEntryChanged(index); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,672
void OxideQQuickWebViewPrivate::NavigationListPruned(bool from_front, int count) { navigation_history_.onNavigationListPruned(from_front, count); }
null
0
void OxideQQuickWebViewPrivate::NavigationListPruned(bool from_front, int count) { navigation_history_.onNavigationListPruned(from_front, count); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,673
void OxideQQuickWebViewPrivate::NavigationRequested( OxideQNavigationRequest* request) { Q_Q(OxideQQuickWebView); emit q->navigationRequested(request); }
null
0
void OxideQQuickWebViewPrivate::NavigationRequested( OxideQNavigationRequest* request) { Q_Q(OxideQQuickWebView); emit q->navigationRequested(request); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,674
void OxideQQuickWebViewPrivate::NewViewRequested( OxideQNewViewRequest* request) { Q_Q(OxideQQuickWebView); emit q->newViewRequested(request); }
null
0
void OxideQQuickWebViewPrivate::NewViewRequested( OxideQNewViewRequest* request) { Q_Q(OxideQQuickWebView); emit q->newViewRequested(request); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,675
void OxideQQuickWebViewPrivate::OnEditingCapabilitiesChanged() { Q_Q(OxideQQuickWebView); emit q->editingCapabilitiesChanged(); }
null
0
void OxideQQuickWebViewPrivate::OnEditingCapabilitiesChanged() { Q_Q(OxideQQuickWebView); emit q->editingCapabilitiesChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,676
OxideQQuickWebView::OxideQQuickWebView(QQuickItem* parent) : QQuickItem(parent), d_ptr(new OxideQQuickWebViewPrivate(this)) { oxide::qquick::EnsureChromiumStarted(); Q_D(OxideQQuickWebView); setFlags(QQuickItem::ItemClipsChildrenToShape | QQuickItem::ItemHasContents | QQuickItem:...
null
0
OxideQQuickWebView::OxideQQuickWebView(QQuickItem* parent) : QQuickItem(parent), d_ptr(new OxideQQuickWebViewPrivate(this)) { oxide::qquick::EnsureChromiumStarted(); Q_D(OxideQQuickWebView); setFlags(QQuickItem::ItemClipsChildrenToShape | QQuickItem::ItemHasContents | QQuickItem:...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,677
OxideQQuickWebViewAttached::OxideQQuickWebViewAttached(QObject* parent) : QObject(parent), view_(nullptr) {}
null
0
OxideQQuickWebViewAttached::OxideQQuickWebViewAttached(QObject* parent) : QObject(parent), view_(nullptr) {}
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,678
OxideQQuickWebViewPrivate::OxideQQuickWebViewPrivate(OxideQQuickWebView* view) : q_ptr(view), contents_view_(new oxide::qquick::ContentsView(view)), load_progress_(0), security_status_(OxideQSecurityStatusPrivate::Create()), find_controller_(OxideQFindControllerPrivate::Create()), cons...
null
0
OxideQQuickWebViewPrivate::OxideQQuickWebViewPrivate(OxideQQuickWebView* view) : q_ptr(view), contents_view_(new oxide::qquick::ContentsView(view)), load_progress_(0), security_status_(OxideQSecurityStatusPrivate::Create()), find_controller_(OxideQFindControllerPrivate::Create()), cons...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,679
void OxideQQuickWebViewPrivate::PrepareToCloseResponse(bool proceed) { Q_Q(OxideQQuickWebView); emit q->prepareToCloseResponse(proceed); }
null
0
void OxideQQuickWebViewPrivate::PrepareToCloseResponse(bool proceed) { Q_Q(OxideQQuickWebView); emit q->prepareToCloseResponse(proceed); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,680
void OxideQQuickWebViewPrivate::RequestGeolocationPermission( OxideQGeolocationPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { d...
null
0
void OxideQQuickWebViewPrivate::RequestGeolocationPermission( OxideQGeolocationPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { d...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,681
void OxideQQuickWebViewPrivate::RequestMediaAccessPermission( OxideQMediaAccessPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { d...
null
0
void OxideQQuickWebViewPrivate::RequestMediaAccessPermission( OxideQMediaAccessPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { d...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,682
void OxideQQuickWebViewPrivate::RequestNotificationPermission( OxideQPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { delete reque...
null
0
void OxideQQuickWebViewPrivate::RequestNotificationPermission( OxideQPermissionRequest* request) { Q_Q(OxideQQuickWebView); QQmlEngine* engine = qmlEngine(q); if (!engine) { delete request; return; } { QJSValue val = engine->newQObject(request); if (!val.isQObject()) { delete reque...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,683
void OxideQQuickWebViewPrivate::TargetURLChanged() { Q_Q(OxideQQuickWebView); emit q->hoveredUrlChanged(); }
null
0
void OxideQQuickWebViewPrivate::TargetURLChanged() { Q_Q(OxideQQuickWebView); emit q->hoveredUrlChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,684
void OxideQQuickWebViewPrivate::TitleChanged() { Q_Q(OxideQQuickWebView); emit q->titleChanged(); }
null
0
void OxideQQuickWebViewPrivate::TitleChanged() { Q_Q(OxideQQuickWebView); emit q->titleChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,685
oxide::qt::RestoreType ToInternalRestoreType( OxideQQuickWebView::RestoreType type) { switch (type) { case OxideQQuickWebView::RestoreCurrentSession: return oxide::qt::RESTORE_CURRENT_SESSION; case OxideQQuickWebView::RestoreLastSessionExitedCleanly: return oxide::qt::RESTORE_LAST_SESSION_EXIT...
null
0
oxide::qt::RestoreType ToInternalRestoreType( OxideQQuickWebView::RestoreType type) { switch (type) { case OxideQQuickWebView::RestoreCurrentSession: return oxide::qt::RESTORE_CURRENT_SESSION; case OxideQQuickWebView::RestoreLastSessionExitedCleanly: return oxide::qt::RESTORE_LAST_SESSION_EXIT...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,686
void OxideQQuickWebViewPrivate::ToggleFullscreenMode(bool enter) { Q_Q(OxideQQuickWebView); emit q->fullscreenRequested(enter); }
null
0
void OxideQQuickWebViewPrivate::ToggleFullscreenMode(bool enter) { Q_Q(OxideQQuickWebView); emit q->fullscreenRequested(enter); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,687
void OxideQQuickWebViewPrivate::URLChanged() { Q_Q(OxideQQuickWebView); emit q->urlChanged(); }
null
0
void OxideQQuickWebViewPrivate::URLChanged() { Q_Q(OxideQQuickWebView); emit q->urlChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,688
void OxideQQuickWebViewPrivate::WebPreferencesReplaced() { Q_Q(OxideQQuickWebView); emit q->preferencesChanged(); }
null
0
void OxideQQuickWebViewPrivate::WebPreferencesReplaced() { Q_Q(OxideQQuickWebView); emit q->preferencesChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,689
void OxideQQuickWebViewPrivate::WebProcessStatusChanged() { Q_Q(OxideQQuickWebView); emit q->webProcessStatusChanged(); }
null
0
void OxideQQuickWebViewPrivate::WebProcessStatusChanged() { Q_Q(OxideQQuickWebView); emit q->webProcessStatusChanged(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,690
void OxideQQuickWebViewPrivate::addAttachedPropertyTo(QObject* object) { Q_Q(OxideQQuickWebView); OxideQQuickWebViewAttached* attached = qobject_cast<OxideQQuickWebViewAttached *>( qmlAttachedPropertiesObject<OxideQQuickWebView>(object)); attached->setView(q); }
null
0
void OxideQQuickWebViewPrivate::addAttachedPropertyTo(QObject* object) { Q_Q(OxideQQuickWebView); OxideQQuickWebViewAttached* attached = qobject_cast<OxideQQuickWebViewAttached *>( qmlAttachedPropertiesObject<OxideQQuickWebView>(object)); attached->setView(q); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,691
QQmlComponent* OxideQQuickWebView::alertDialog() const { Q_D(const OxideQQuickWebView); return d->alert_dialog_; }
null
0
QQmlComponent* OxideQQuickWebView::alertDialog() const { Q_D(const OxideQQuickWebView); return d->alert_dialog_; }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,692
void OxideQQuickWebViewPrivate::attachContextSignals( OxideQQuickWebContextPrivate* context) { Q_Q(OxideQQuickWebView); if (!context) { return; } QObject::connect(context, SIGNAL(destroyed()), q, SLOT(contextDestroyed())); QObject::connect(context, SIGNAL(constructed()), ...
null
0
void OxideQQuickWebViewPrivate::attachContextSignals( OxideQQuickWebContextPrivate* context) { Q_Q(OxideQQuickWebView); if (!context) { return; } QObject::connect(context, SIGNAL(destroyed()), q, SLOT(contextDestroyed())); QObject::connect(context, SIGNAL(constructed()), ...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,693
QQmlComponent* OxideQQuickWebView::beforeUnloadDialog() const { Q_D(const OxideQQuickWebView); return d->before_unload_dialog_; }
null
0
QQmlComponent* OxideQQuickWebView::beforeUnloadDialog() const { Q_D(const OxideQQuickWebView); return d->before_unload_dialog_; }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,694
bool OxideQQuickWebView::canGoBack() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return false; } return d->proxy_->canGoBack(); }
null
0
bool OxideQQuickWebView::canGoBack() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return false; } return d->proxy_->canGoBack(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,695
void OxideQQuickWebViewPrivate::completeConstruction() { Q_Q(OxideQQuickWebView); Q_ASSERT(construct_props_.data()); if (construct_props_->new_view_request) { proxy_.reset(oxide::qt::WebViewProxy::create( this, contents_view_.data(), q, find_controller_.data(), security_status_.data(...
null
0
void OxideQQuickWebViewPrivate::completeConstruction() { Q_Q(OxideQQuickWebView); Q_ASSERT(construct_props_.data()); if (construct_props_->new_view_request) { proxy_.reset(oxide::qt::WebViewProxy::create( this, contents_view_.data(), q, find_controller_.data(), security_status_.data(...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,696
QQmlComponent* OxideQQuickWebView::confirmDialog() const { Q_D(const OxideQQuickWebView); return d->confirm_dialog_; }
null
0
QQmlComponent* OxideQQuickWebView::confirmDialog() const { Q_D(const OxideQQuickWebView); return d->confirm_dialog_; }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,697
void OxideQQuickWebView::connectNotify(const QMetaMethod& signal) { Q_D(OxideQQuickWebView); Q_ASSERT(thread() == QThread::currentThread()); #define VIEW_SIGNAL(sig) QMetaMethod::fromSignal(&OxideQQuickWebView::sig) if (signal == VIEW_SIGNAL(newViewRequested) && d->proxy_) { d->proxy_->updateWebPreferences(...
null
0
void OxideQQuickWebView::connectNotify(const QMetaMethod& signal) { Q_D(OxideQQuickWebView); Q_ASSERT(thread() == QThread::currentThread()); #define VIEW_SIGNAL(sig) QMetaMethod::fromSignal(&OxideQQuickWebView::sig) if (signal == VIEW_SIGNAL(newViewRequested) && d->proxy_) { d->proxy_->updateWebPreferences(...
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,698
qreal OxideQQuickWebView::contentWidth() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return 0.f; } return const_cast<OxideQQuickWebViewPrivate*>( d)->proxy_->compositorFrameContentSize().width(); }
null
0
qreal OxideQQuickWebView::contentWidth() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return 0.f; } return const_cast<OxideQQuickWebViewPrivate*>( d)->proxy_->compositorFrameContentSize().width(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null
13,699
qreal OxideQQuickWebView::contentX() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return 0.f; } return const_cast<OxideQQuickWebViewPrivate*>( d)->proxy_->compositorFrameScrollOffset().x(); }
null
0
qreal OxideQQuickWebView::contentX() const { Q_D(const OxideQQuickWebView); if (!d->proxy_) { return 0.f; } return const_cast<OxideQQuickWebViewPrivate*>( d)->proxy_->compositorFrameScrollOffset().x(); }
@@ -2042,8 +2042,8 @@ If the application doesn't set this, then WebView will use the application default WebContext (Oxide::defaultWebContext). The application should ensure that the provided WebContext outlives this -WebView. Although WebView will continue to function normally if its provided -WebContext is delete...
CWE-20
null
null