Commit 8ea340ad authored by carlosgc@webkit.org's avatar carlosgc@webkit.org

REGRESSION(r162441): [GTK] ResourceLoader is broken when there aren't user extensions

https://bugs.webkit.org/show_bug.cgi?id=127422

Reviewed by Anders Carlsson.

* WebProcess/gtk/WebGtkExtensionManager.cpp:
(WebKit::WebGtkExtensionManager::initialize): Always create the
WebKitWebExtension object since it's used internally to implement
the ResourceLoader client.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2a003201
2014-01-22 Carlos Garcia Campos <cgarcia@igalia.com>
REGRESSION(r162441): [GTK] ResourceLoader is broken when there aren't user extensions
https://bugs.webkit.org/show_bug.cgi?id=127422
Reviewed by Anders Carlsson.
* WebProcess/gtk/WebGtkExtensionManager.cpp:
(WebKit::WebGtkExtensionManager::initialize): Always create the
WebKitWebExtension object since it's used internally to implement
the ResourceLoader client.
2014-01-22 Jer Noble <jer.noble@apple.com>
[Mac][WK2] Unable to play video protected by session cookies
......
......@@ -92,6 +92,8 @@ bool WebGtkExtensionManager::initializeWebExtension(Module* extensionModule, GVa
void WebGtkExtensionManager::initialize(WKBundleRef bundle, WKTypeRef userDataString)
{
m_extension = adoptGRef(webkitWebExtensionCreate(toImpl(bundle)));
String webExtensionsDirectory;
GRefPtr<GVariant> userData;
parseUserData(userDataString, webExtensionsDirectory, userData);
......@@ -99,8 +101,6 @@ void WebGtkExtensionManager::initialize(WKBundleRef bundle, WKTypeRef userDataSt
if (webExtensionsDirectory.isNull())
return;
m_extension = adoptGRef(webkitWebExtensionCreate(toImpl(bundle)));
Vector<String> modulePaths;
scanModules(webExtensionsDirectory, modulePaths);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment