Re: [Powertop] [Announce] v2.5-rc1
Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <20131022081608.GA2286@swordfish> |
On (10/19/13 01:17), Daniel Kahn Gillmor wrote:
> On 10/18/2013 06:33 PM, Yates, Alexandra wrote:
> > Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
> >
> > https://lists.01.org/pipermail/powertop/2013-September/000925.html
>
> Can you describe how IE breaks? what specifically fails? is there an
> explicit javascript error or a backtrace or debug log or something? Is
> data lost or hidden?
>
> sorry, but i don't have IE to test with, or a windows platform to run it
> on if i did.
>
ok, classList is not supported by IE10 and older.
so this generates NULL object access:
var el = document.getElementById(idx);
if (el)
el.classList.add(c);
-ss