summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/Debugger.cpp
diff options
context:
space:
mode:
authorBalazs Kelemen <kbalazs@webkit.org>2013-01-14 11:02:35 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-05 19:07:18 +0200
commit91020e66481a874f911d145c0a665c16828d7e7b (patch)
tree70b305b92c04d3c140ce93bf08b9a309428be6b2 /Source/JavaScriptCore/debugger/Debugger.cpp
parent09a0901b4be63e5f74cd0f5337e073890caebbdd (diff)
downloadqtwebkit-91020e66481a874f911d145c0a665c16828d7e7b.tar.gz
[Qt][WK2] plugin tests assert in debug
https://bugs.webkit.org/show_bug.cgi?id=106659 Reviewed by Benjamin Poulain. Fixed the misuse of String::split. * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: (WebKit::truncateToSingleLine): Add an assert to make sure this function works well. I just walked there while debugging the bug, and although it was innocent, adding this assertion is logical. * UIProcess/Plugins/qt/PluginProcessProxyQt.cpp: (WebKit::PluginProcessProxy::scanPlugin): The ASSERT was wrong. We have three lines, each ends in a newline, so split with allowEmptyEntries=true will devide it to 4 substrings. Change-Id: I8b5f5775efe76391ac1f781620e120cd03dacdc1 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139600 268f45cc-cd09-0410-ab3c-d52691b4dbfc Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/debugger/Debugger.cpp')
0 files changed, 0 insertions, 0 deletions