summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/webchannel-test.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests/data/webchannel-test.html')
-rw-r--r--tests/auto/quick/qmltests/data/webchannel-test.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qmltests/data/webchannel-test.html b/tests/auto/quick/qmltests/data/webchannel-test.html
index 940821209..92966b24a 100644
--- a/tests/auto/quick/qmltests/data/webchannel-test.html
+++ b/tests/auto/quick/qmltests/data/webchannel-test.html
@@ -5,7 +5,7 @@
<script type="text/javascript" src="qrc:///qtwebchannel/qwebchannel.js"></script>
<script type="text/javascript">
//BEGIN SETUP
- var channel = new QWebChannel(navigator.qtWebChannelTransport, function(channel) {
+ var channel = new QWebChannel(qt.webChannelTransport, function(channel) {
window.testObject = channel.objects.testObject;
testObject.runTest.connect(function(foo) {
testObject.foo = foo;