diff options
Diffstat (limited to 'testing/marionette/harness/marionette_harness/www')
-rw-r--r-- | testing/marionette/harness/marionette_harness/www/dom/indexedDB/basicIDB_PBM.html | 2 | ||||
-rw-r--r-- | testing/marionette/harness/marionette_harness/www/html5/geolocation.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/marionette/harness/marionette_harness/www/dom/indexedDB/basicIDB_PBM.html b/testing/marionette/harness/marionette_harness/www/dom/indexedDB/basicIDB_PBM.html index 90472d64d2..8b0b425b81 100644 --- a/testing/marionette/harness/marionette_harness/www/dom/indexedDB/basicIDB_PBM.html +++ b/testing/marionette/harness/marionette_harness/www/dom/indexedDB/basicIDB_PBM.html @@ -10,7 +10,7 @@ var req = indexedDB.open(name, ver); req.onerror = reject; - req.onsuccess = (event) => { + req.onsuccess = () => { resolve(req.result); }; diff --git a/testing/marionette/harness/marionette_harness/www/html5/geolocation.js b/testing/marionette/harness/marionette_harness/www/html5/geolocation.js index 4fb4a4747b..1c0132a732 100644 --- a/testing/marionette/harness/marionette_harness/www/html5/geolocation.js +++ b/testing/marionette/harness/marionette_harness/www/html5/geolocation.js @@ -17,7 +17,7 @@ function success(position) { message.innerHTML += "<p>Altitude: " + position.coords.altitude + "</p>"; } -function error(msg) { +function error() { let message = document.getElementById("status"); message.innerHTML = "Failed to get geolocation."; } |