Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Qt] Fix QObject bridge tests in Qt5 after (not so) recent QVariant c…
…hanges https://bugs.webkit.org/show_bug.cgi?id=88127 Reviewed by Noam Rosenthal. We were checking for invalid QVariants in a very odd way. Since in Qt5 the userType of invalid changed to not be Void, this broke the tests for QtWebKit with Qt5. Replace those checks with QVariant::isValid() calls. * tests/qobjectbridge/tst_qobjectbridge.cpp: (tst_QObjectBridge::evalJS): (tst_QObjectBridge::evalJSV): Canonical link: https://commits.webkit.org/105952@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@119275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Caio Marcelo de Oliveira Filho
committed
Jun 1, 2012
1 parent
a41c032
commit 8037a20
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters