Commit 584609ca authored by robert@webkit.org's avatar robert@webkit.org
Browse files

2011-01-18 Robert Hogan <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] http/tests/incremental/slow-utf8-text.pl fails
        https://bugs.webkit.org/show_bug.cgi?id=44282

        * platform/qt/Skipped:
2011-01-18  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] http/tests/incremental/slow-utf8-text.pl fails
        https://bugs.webkit.org/show_bug.cgi?id=44282

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::responseMimeType):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-01-18  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] http/tests/incremental/slow-utf8-text.pl fails
        https://bugs.webkit.org/show_bug.cgi?id=44282

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::dump):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f0eac6ef
2011-01-18 Robert Hogan <robert@webkit.org>
Reviewed by Simon Hausmann.
[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282
* platform/qt/Skipped:
2011-01-18 Michael Saboff <msaboff@apple.com>
 
Reviewed by Oliver Hunt.
......
......@@ -147,9 +147,6 @@ http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase.html
http/tests/media
http/tests/wml
# https://bugs.webkit.org/show_bug.cgi?id=44282
http/tests/incremental/slow-utf8-text.pl
# expected results need updating
http/tests/loading/simple-subframe.html
......
2011-01-18 Robert Hogan <robert@webkit.org>
Reviewed by Simon Hausmann.
[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::responseMimeType):
* WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-01-17 Alexey Proskuryakov <ap@apple.com>
 
https://bugs.webkit.org/show_bug.cgi?id=52495
......
......@@ -31,6 +31,7 @@
#include "ContextMenuController.h"
#include "DeviceOrientation.h"
#include "DeviceOrientationClientMockQt.h"
#include "DocumentLoader.h"
#include "Editor.h"
#include "EditorClientQt.h"
#include "Element.h"
......@@ -885,6 +886,13 @@ QVariantList DumpRenderTreeSupportQt::nodesFromRect(const QWebElement& document,
return res;
}
QString DumpRenderTreeSupportQt::responseMimeType(QWebFrame* frame)
{
WebCore::Frame* coreFrame = QWebFramePrivate::core(frame);
WebCore::DocumentLoader* docLoader = coreFrame->loader()->documentLoader();
return docLoader->responseMIMEType();
}
// Provide a backward compatibility with previously exported private symbols as of QtWebKit 4.6 release
void QWEBKIT_EXPORT qt_resumeActiveDOMObjects(QWebFrame* frame)
......
......@@ -184,6 +184,7 @@ public:
static QString viewportAsText(QWebPage*, const QSize&);
static QVariantList nodesFromRect(const QWebElement& document, int x, int y, unsigned top, unsigned right, unsigned bottom, unsigned left, bool ignoreClipping);
static QString responseMimeType(QWebFrame*);
};
#endif
2011-01-18 Robert Hogan <robert@webkit.org>
Reviewed by Simon Hausmann.
[Qt] http/tests/incremental/slow-utf8-text.pl fails
https://bugs.webkit.org/show_bug.cgi?id=44282
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::dump):
2011-01-18 Dirk Pranke <dpranke@chromium.org>
 
Reviewed by Mihai Parparita.
......@@ -915,6 +915,10 @@ void DumpRenderTree::dump()
fprintf(stdout, "Source:\n\n%s\n", markup.toUtf8().constData());
}
QString mimeType = DumpRenderTreeSupportQt::responseMimeType(mainFrame);
if (mimeType == "text/plain")
m_controller->dumpAsText();
// Dump render text...
QString resultString;
if (m_controller->shouldDumpAsText())
......
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