Skip to content

Commit

Permalink
Bug 1823464 - [marionette] Handle DOMTokenList instances as collectio…
Browse files Browse the repository at this point in the history
…n. r=webdriver-reviewers,jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D173068
  • Loading branch information
whimboo committed Mar 21, 2023
1 parent 202e78e commit 43234ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions remote/marionette/element.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ element.isCollection = function(seq) {
switch (Object.prototype.toString.call(seq)) {
case "[object Arguments]":
case "[object Array]":
case "[object DOMTokenList]":
case "[object FileList]":
case "[object HTMLAllCollection]":
case "[object HTMLCollection]":
Expand Down

0 comments on commit 43234ab

Please sign in to comment.