DescriptionExpose MediaQueryList interface and make arguments non-optional
http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
In Firefox Nightly and IE11, the interface is already exposed and
calling addListener() or removeListener() throws an exception, making
this change likely Web compatible.
The added early returns in the implementation are per spec, but
redudant with similar checks decorated with FIXMEs in EventTarget.
Save some trouble for the time when those are removed.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187449
Patch Set 1 #
Total comments: 1
Patch Set 2 : minimize #
Messages
Total messages: 7 (2 generated)
|