paypal / AATT

Automated Accessibility Testing Tool
BSD 3-Clause "New" or "Revised" License
602 stars 106 forks source link

code will be an empty string when element is HTMLDocument #44

Closed contextualcode closed 5 years ago

contextualcode commented 5 years ago

In some cases msg.element is instance of HTMLDocument. And it leads to

Error: TypeError: undefined is not an object (evaluating 'outerHTML.replace')
mpnkhan commented 5 years ago

Thanks @contextualcode 👍