diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-17 14:27:55 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-17 21:21:25 +0200 |
commit | bf9dcc6551c899cd69b1699f7ba43d7b7a520f45 (patch) | |
tree | 8b37768426830e15c2b588d09d34f1ffeda06b50 /tests/auto/qml/qqmllanguage | |
parent | 258c120d820f6d561d97f26ee165ec5c7386fb7b (diff) |
Fix url test in qqmllanguage
In V4 URLs were mapped to strings, with V8 they were mapped to opaque
variants, which is also what we do with v4 at the moment. In the future
we want to provide a real JS API for URLs, but that is a feature that
should be discussed in a wider scope and developed on the dev branch.
Change-Id: I17660066b2797239eddebad03f49ffa424f86f78
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage')
-rw-r--r-- | tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp index 5a924a901a..1a82bacfb2 100644 --- a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp +++ b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp @@ -1069,7 +1069,6 @@ void tst_qqmllanguage::bindTypeToJSValue() } { MyQmlObject *object = root->findChild<MyQmlObject *>("urlProperty"); QJSValue value = object->qjsvalue(); - QVERIFY(value.isString()); QUrl encoded; encoded.setEncodedUrl("main.qml?with%3cencoded%3edata", QUrl::TolerantMode); QCOMPARE(value.toString(), component.url().resolved(encoded).toString()); |