[Webkit-unassigned] [Bug 218280] New: MediaList.toString() returns [object MediaList]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 28 05:21:06 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218280
Bug ID: 218280
Summary: MediaList.toString() returns [object MediaList]
Product: WebKit
Version: Safari 14
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Minor
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shutovby at gmail.com
MediaList.toString() should be equal to MediaList.mediaText.
Example:
var style = document.createElement('style');
style.textContent = '@media screen, print {}';
document.body.append(style);
style.sheet.cssRules[0].media.toString();
Returns "[object MediaList]" in Safari and "screen, print" in Chrome and Firefox.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201028/4b04aafd/attachment.htm>
More information about the webkit-unassigned
mailing list