This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Add support for IE of keyboard and mouse navigation in HTML report
ClosedPublic

Authored by ASDenysPetrov on May 22 2020, 8:53 AM.

Details

Summary

IE (Internet Explorer) throws errors while using key and mouse navigation through the error path tips. querySelectorAll method returns NodeList. NodeList belongs to browser API. IE doesn't have forEach among NodeList's methods. At the same time Array is a JavaScript object and can be used instead. The fix is in the converting NodeList into Array and keeps using forEach method as before.

Checked in IE11, Chrome and Opera.

Diff Detail

Event Timeline

ASDenysPetrov created this revision.May 22 2020, 8:53 AM
ASDenysPetrov edited the summary of this revision. (Show Details)May 22 2020, 8:53 AM
george.karpenkov accepted this revision.May 26 2020, 8:46 AM
This revision is now accepted and ready to land.May 26 2020, 8:46 AM

I'm not a big specialist in JS, so did you check it in other browsers?

@vsavchenko

I'm not a big specialist in JS, so did you check it in other browsers?

I've checked it in IE11, Chrome and Opera. It works.

ASDenysPetrov edited the summary of this revision. (Show Details)May 26 2020, 12:19 PM
ASDenysPetrov edited the summary of this revision. (Show Details)
vsavchenko accepted this revision.May 26 2020, 1:25 PM

Great, thanks!

This revision was automatically updated to reflect the committed changes.