Changeset 57966 in webkit
- Timestamp:
- Apr 21, 2010 4:14:59 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57963 r57966 1 2010-04-21 Eric Seidel <eric@webkit.org> 2 3 Unreviewed, rolling out r57963. 4 http://trac.webkit.org/changeset/57963 5 https://bugs.webkit.org/show_bug.cgi?id=37759 6 7 Three tests started crashing on the Qt bot. 8 9 * platform/qt/Skipped: 10 1 11 2010-04-21 Yi Shen <yi.4.shen@nokia.com> 2 12 -
trunk/LayoutTests/platform/qt/Skipped
r57963 r57966 337 337 # Missing layoutTestController.evaluateScriptInIsolatedWorld() 338 338 storage/open-database-creation-callback-isolated-world.html 339 340 # Missing layoutTestController.computedStyleIncludingVisitedInfo() 341 fast/history/multiple-classes-visited.html 342 fast/history/nested-visited-test.html 343 fast/history/self-is-visited.html 344 fast/history/sibling-visited-test.html 339 345 340 346 # Missing layoutTestController.dumpWillCacheResponse -
trunk/WebKit/qt/ChangeLog
r57963 r57966 1 2010-04-21 Eric Seidel <eric@webkit.org> 2 3 Unreviewed, rolling out r57963. 4 http://trac.webkit.org/changeset/57963 5 https://bugs.webkit.org/show_bug.cgi?id=37759 6 7 Three tests started crashing on the Qt bot. 8 9 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: 10 (DumpRenderTreeSupportQt::isCommandEnabled): 11 * WebCoreSupport/DumpRenderTreeSupportQt.h: 12 1 13 2010-04-21 Yi Shen <yi.4.shen@nokia.com> 2 14 -
trunk/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
r57963 r57966 24 24 #include "DumpRenderTreeSupportQt.h" 25 25 26 #include "CSSComputedStyleDeclaration.h"27 26 #include "ContextMenu.h" 28 27 #include "ContextMenuClientQt.h" … … 366 365 return page->handle()->page->focusController()->focusedOrMainFrame()->editor()->command(name).isEnabled(); 367 366 } 368 369 QVariantMap DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo(QWebFrame* frame, const QString& id)370 {371 QVariantMap ret;372 Frame* coreFrame = QWebFramePrivate::core(frame);373 if (!coreFrame)374 return ret;375 376 Element* element = coreFrame->document()->getElementById(AtomicString(id));377 if (!element)378 return ret;379 380 RefPtr<CSSComputedStyleDeclaration> style = computedStyle(element, true);381 for (int i = 0; i < style->length(); i++) {382 QString name = style->item(i);383 QString value = (static_cast<CSSStyleDeclaration*>(style.get()))->getPropertyValue(name);384 ret[name] = QVariant(value);385 }386 return ret;387 }388 -
trunk/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h
r57963 r57966 25 25 26 26 #include "qwebkitglobal.h" 27 #include <QVariant>28 27 29 28 class QWebPage; … … 80 79 81 80 static int workerThreadCount(); 82 static QVariantMap computedStyleIncludingVisitedInfo(QWebFrame* frame, const QString& id);83 81 }; 84 82 -
trunk/WebKitTools/ChangeLog
r57965 r57966 1 2010-04-21 Eric Seidel <eric@webkit.org> 2 3 Unreviewed, rolling out r57963. 4 http://trac.webkit.org/changeset/57963 5 https://bugs.webkit.org/show_bug.cgi?id=37759 6 7 Three tests started crashing on the Qt bot. 8 9 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 10 * DumpRenderTree/qt/LayoutTestControllerQt.h: 11 1 12 2010-04-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 13 -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r57963 r57966 36 36 #include <QDir> 37 37 #include <QLocale> 38 #include <QMap>39 38 #include <qwebsettings.h> 40 39 … … 611 610 } 612 611 613 QVariantMap LayoutTestController::computedStyleIncludingVisitedInfo(const QVariant& obj) const614 {615 QMap<QString, QVariant> map = obj.toMap();616 QString id = map.value("id").toString();617 618 return DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo(m_drt->webPage()->mainFrame(), id);619 }620 621 612 const unsigned LayoutTestController::maxViewWidth = 800; 622 613 const unsigned LayoutTestController::maxViewHeight = 600; -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h
r57963 r57966 176 176 int numberOfPages(float width = maxViewWidth, float height = maxViewHeight); 177 177 bool callShouldCloseOnWebView(); 178 QVariantMap computedStyleIncludingVisitedInfo(const QVariant& obj) const;179 178 180 179 /*
Note: See TracChangeset
for help on using the changeset viewer.