Merge pull request #323 from mmarzantowicz/patch-1

Use for...in instead of for...of
This commit is contained in:
Andy McKay
2017-12-08 09:10:46 -08:00
committed by GitHub

View File

@@ -65,7 +65,7 @@ function clearAll(e) {
// Loop through them and delete them one by one.
var searchingHistory = browser.history.search({text: hostname})
searchingHistory.then((results) => {
for (let k of results) {
for (let k in results) {
browser.history.deleteUrl({url: results[k].url});
}
// Clear out the UI.