Title: [154273] trunk/Source/WebKit/qt
- Revision
- 154273
- Author
- [email protected]
- Date
- 2013-08-19 04:00:06 -0700 (Mon, 19 Aug 2013)
Log Message
<https://webkit.org/b/119933> [Qt] Fix tst_QObjectBridge::connectAndDisconnect() fail
Patch by Arunprasad Rajkumar <[email protected]> on 2013-08-19
Reviewed by Allan Sandfeld Jensen.
Latest version of JSC has unquoted undefined in exception messages. So replaced 'undefined' with undefined.
* tests/qobjectbridge/tst_qobjectbridge.cpp:
(tst_QObjectBridge::connectAndDisconnect):
Modified Paths
Diff
Modified: trunk/Source/WebKit/qt/ChangeLog (154272 => 154273)
--- trunk/Source/WebKit/qt/ChangeLog 2013-08-19 10:56:27 UTC (rev 154272)
+++ trunk/Source/WebKit/qt/ChangeLog 2013-08-19 11:00:06 UTC (rev 154273)
@@ -1,3 +1,14 @@
+2013-08-19 Arunprasad Rajkumar <[email protected]>
+
+ <https://webkit.org/b/119933> [Qt] Fix tst_QObjectBridge::connectAndDisconnect() fail
+
+ Reviewed by Allan Sandfeld Jensen.
+
+ Latest version of JSC has unquoted undefined in exception messages. So replaced 'undefined' with undefined.
+
+ * tests/qobjectbridge/tst_qobjectbridge.cpp:
+ (tst_QObjectBridge::connectAndDisconnect):
+
2013-08-17 Darin Adler <[email protected]>
<https://webkit.org/b/119941> Make Page::dragController return a reference
Modified: trunk/Source/WebKit/qt/tests/qobjectbridge/tst_qobjectbridge.cpp (154272 => 154273)
--- trunk/Source/WebKit/qt/tests/qobjectbridge/tst_qobjectbridge.cpp 2013-08-19 10:56:27 UTC (rev 154272)
+++ trunk/Source/WebKit/qt/tests/qobjectbridge/tst_qobjectbridge.cpp 2013-08-19 11:00:06 UTC (rev 154273)
@@ -1572,26 +1572,26 @@
QString type;
QString ret = evalJS("(function() { }).connect()", type);
QCOMPARE(type, sError);
- QCOMPARE(ret, QLatin1String("TypeError: 'undefined' is not a function (evaluating '(function() { }).connect()')"));
+ QCOMPARE(ret, QLatin1String("TypeError: undefined is not a function (evaluating '(function() { }).connect()')"));
}
{
QString type;
QString ret = evalJS("var o = { }; o.connect = Function.prototype.connect; o.connect()", type);
QCOMPARE(type, sError);
- QCOMPARE(ret, QLatin1String("TypeError: 'undefined' is not a function (evaluating 'o.connect()')"));
+ QCOMPARE(ret, QLatin1String("TypeError: undefined is not a function (evaluating 'o.connect()')"));
}
{
QString type;
QString ret = evalJS("(function() { }).connect(123)", type);
QCOMPARE(type, sError);
- QCOMPARE(ret, QLatin1String("TypeError: 'undefined' is not a function (evaluating '(function() { }).connect(123)')"));
+ QCOMPARE(ret, QLatin1String("TypeError: undefined is not a function (evaluating '(function() { }).connect(123)')"));
}
{
QString type;
QString ret = evalJS("var o = { }; o.connect = Function.prototype.connect; o.connect(123)", type);
QCOMPARE(type, sError);
- QCOMPARE(ret, QLatin1String("TypeError: 'undefined' is not a function (evaluating 'o.connect(123)')"));
+ QCOMPARE(ret, QLatin1String("TypeError: undefined is not a function (evaluating 'o.connect(123)')"));
}
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes