diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-03-07 14:03:44 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-13 08:57:55 +0100 |
commit | baa9ec2b3f240fd0e4c5de025a9d9e023f2620a7 (patch) | |
tree | 685137de0a994d2c20abaa415e4c87fb0fc77bb7 | |
parent | e8fa8a2bf94bd1ad394b9e828c6272c3cccff736 (diff) | |
download | qt4-tools-baa9ec2b3f240fd0e4c5de025a9d9e023f2620a7.tar.gz |
Updated WebKit to 5fc7dcbe084a8ee8beda11b92dc2111be1285434
This brings in a fix for QTBUG-30081 as well as a backport of
https://bugs.webkit.org/show_bug.cgi?id=103529
Change-Id: Ibcebe76d6999dc304d4c0323bbfa44be93909285
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
-rw-r--r-- | src/3rdparty/webkit/.tag | 2 | ||||
-rw-r--r-- | src/3rdparty/webkit/Source/WebCore/ChangeLog | 21 | ||||
-rw-r--r-- | src/3rdparty/webkit/Source/WebCore/loader/ResourceLoader.cpp | 5 | ||||
-rw-r--r-- | src/3rdparty/webkit/Source/WebCore/plugins/win/PluginDatabaseWin.cpp | 11 | ||||
-rw-r--r-- | src/3rdparty/webkit/VERSION | 2 |
5 files changed, 38 insertions, 3 deletions
diff --git a/src/3rdparty/webkit/.tag b/src/3rdparty/webkit/.tag index fca0351801..4e1d23c8a3 100644 --- a/src/3rdparty/webkit/.tag +++ b/src/3rdparty/webkit/.tag @@ -1 +1 @@ -994432629cb04ffd8e1985dce9e9ed3a89236dd1 +5fc7dcbe084a8ee8beda11b92dc2111be1285434 diff --git a/src/3rdparty/webkit/Source/WebCore/ChangeLog b/src/3rdparty/webkit/Source/WebCore/ChangeLog index 4c6a7c13fa..266023f1e1 100644 --- a/src/3rdparty/webkit/Source/WebCore/ChangeLog +++ b/src/3rdparty/webkit/Source/WebCore/ChangeLog @@ -1,3 +1,24 @@ +2012-11-28 Zeno Albisser <zeno@webkit.org> + + [Qt][Win] Enable usage of QTWEBKIT_PLUGIN_PATH. + https://bugs.webkit.org/show_bug.cgi?id=103529 + + This patch enables the same behavior for Windows + as it is currently implemented for all other operating + systems supported by Qt. + Directories listed in the environment variable + QTWEBKIT_PLUGIN_PATH are being searched for additional + plugins. + The only difference is that directories on Windows + need to be separated by a semicolon instead of a colon. + + Reviewed by Kenneth Rohde Christiansen. + + * plugins/win/PluginDatabaseWin.cpp: + (WebCore): + (WebCore::addQtWebKitPluginPath): + (WebCore::PluginDatabase::defaultPluginDirectories): + 2011-06-10 Konstantin Tokarev <ktokarev@smartlabs.tv> Reviewed by Joseph Pecoraro. diff --git a/src/3rdparty/webkit/Source/WebCore/loader/ResourceLoader.cpp b/src/3rdparty/webkit/Source/WebCore/loader/ResourceLoader.cpp index c59acba128..09eb190c96 100644 --- a/src/3rdparty/webkit/Source/WebCore/loader/ResourceLoader.cpp +++ b/src/3rdparty/webkit/Source/WebCore/loader/ResourceLoader.cpp @@ -339,8 +339,11 @@ void ResourceLoader::didFail(const ResourceError& error) void ResourceLoader::didCancel(const ResourceError& error) { + // If the load has already completed - succeeded, failed, or previously cancelled - do nothing. + if (m_reachedTerminalState) + return; + ASSERT(!m_cancelled); - ASSERT(!m_reachedTerminalState); if (FormData* data = m_request.httpBody()) data->removeGeneratedFilesIfNeeded(); diff --git a/src/3rdparty/webkit/Source/WebCore/plugins/win/PluginDatabaseWin.cpp b/src/3rdparty/webkit/Source/WebCore/plugins/win/PluginDatabaseWin.cpp index 27121c664e..29fb163ba3 100644 --- a/src/3rdparty/webkit/Source/WebCore/plugins/win/PluginDatabaseWin.cpp +++ b/src/3rdparty/webkit/Source/WebCore/plugins/win/PluginDatabaseWin.cpp @@ -419,6 +419,16 @@ static inline void addMacromediaPluginDirectories(Vector<String>& directories) #endif } +#if PLATFORM(QT) +static inline void addQtWebKitPluginPath(Vector<String>& directories) +{ + Vector<String> qtPaths; + String qtPath(qgetenv("QTWEBKIT_PLUGIN_PATH").constData()); + qtPath.split(UChar(';'), false, qtPaths); + directories.append(qtPaths); +} +#endif + Vector<String> PluginDatabase::defaultPluginDirectories() { Vector<String> directories; @@ -433,6 +443,7 @@ Vector<String> PluginDatabase::defaultPluginDirectories() addMacromediaPluginDirectories(directories); #if PLATFORM(QT) addJavaPluginDirectory(directories); + addQtWebKitPluginPath(directories); #endif return directories; diff --git a/src/3rdparty/webkit/VERSION b/src/3rdparty/webkit/VERSION index 38a69ce9d4..4e91abff0c 100644 --- a/src/3rdparty/webkit/VERSION +++ b/src/3rdparty/webkit/VERSION @@ -4,4 +4,4 @@ This is a snapshot of the Qt port of WebKit from and has the sha1 checksum - 994432629cb04ffd8e1985dce9e9ed3a89236dd1 + 5fc7dcbe084a8ee8beda11b92dc2111be1285434 |