RFR: 8102: Automated analysis page does not expand the results for Windows
Virag Purnam
vpurnam at openjdk.org
Tue Jul 18 16:48:31 UTC 2023
To fix the bug https://bugs.openjdk.org/browse/JMC-8073, **rules_overview.html** had been modified and **.includes()** method was added. But this method does not work with all browsers e.g IE. On windows Automated analysis page does not expand the results.
Fix: I have replaced all **.includes()** with widely supported **.indexOf()**.
e.g ` e.id.includes("_name") `has been replaced with` e.id.indexOf("_name") !== -1`
With this change it works in all platforms.
-------------
Commit messages:
- 8102: Automated analysis page does not expand the results for Windows
Changes: https://git.openjdk.org/jmc/pull/507/files
Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=507&range=00
Issue: https://bugs.openjdk.org/browse/JMC-8102
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jmc/pull/507.diff
Fetch: git fetch https://git.openjdk.org/jmc.git pull/507/head:pull/507
PR: https://git.openjdk.org/jmc/pull/507
More information about the jmc-dev
mailing list