Fix tst_qqmlecmascript::scriptErrors()
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 7 Jun 2013 14:20:54 +0000 (16:20 +0200)
committerLars Knoll <lars.knoll@digia.com>
Fri, 7 Jun 2013 16:33:44 +0000 (18:33 +0200)
commit1dedc7caa0f474e2c0fa35bfae8d2262ed32f24d
tree3bf45d702db04f62353a6f9aa218245c5deefac9
parent7426f1a5cad9b788aaea98130b06557c553f95e6
Fix tst_qqmlecmascript::scriptErrors()

* In the context wrapper, throw a real JS exception that when serialized
  to a string includes the "Error:" prefix (due to the error object's name)
* Added column information to one of the expected error messages

Change-Id: I4c1bc749f01425efb0a27121f7f1b8cf4946d644
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlcontextwrapper.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp