[all-commits] [llvm/llvm-project] 6bbaa6: [analyzer] Add support for IE of keyboard and mous...

Denys Petrov via All-commits all-commits at lists.llvm.org
Tue May 26 23:04:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bbaa62d26b6061c93eb62c82048c14014ab7bd7
      https://github.com/llvm/llvm-project/commit/6bbaa62d26b6061c93eb62c82048c14014ab7bd7
  Author: Denys Petrov <dpetrov at accesssoftek.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp

  Log Message:
  -----------
  [analyzer] Add support for IE of keyboard and mouse navigation in HTML report

IE 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.

Differential Revision: https://reviews.llvm.org/D80444




More information about the All-commits mailing list