aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZakor Gyula <zakorgy@inf.u-szeged.hu>2017-02-06 13:48:50 +0100
committerAttila Dusnoki <dati91@gmail.com>2017-02-13 14:58:10 +0100
commit04fe75b9cc4498360c023dbfd3cf924932e806af (patch)
tree6ec8d6023ba17a96d01468e5458f3f30cbdbfdb5
parentcce362dc39fea02c3817d5b8623aaa03275781c8 (diff)
downloadservo-04fe75b9cc4498360c023dbfd3cf924932e806af.tar.gz
servo-04fe75b9cc4498360c023dbfd3cf924932e806af.zip
bluetooth test fix
-rw-r--r--tests/html/bluetooth-permission.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/html/bluetooth-permission.html b/tests/html/bluetooth-permission.html
index a53448c98b9..ebfe40e8e78 100644
--- a/tests/html/bluetooth-permission.html
+++ b/tests/html/bluetooth-permission.html
@@ -6,7 +6,8 @@
<button type="button" onclick="onQueryButtonClick()">query</button>
<pre id="log"></pre>
<script>
- window.testRunner.setBluetoothMockDataSet('HeartRateAdapter');
+ if (window.testRunner)
+ window.testRunner.setBluetoothMockDataSet('HeartRateAdapter');
function onRequestButtonClick() {
clear();