1 Test the MediaQueryList interface: http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface.
3 Testing addListener in different MediaQueryList objects and the callback call sequence
5 ------------- minimized -------------
6 [1] - query (-webkit-view-mode: windowed) changed to false
7 [1] - query (-webkit-view-mode: minimized) changed to true
8 [2] - query (-webkit-view-mode: windowed) changed to false
9 [2] - query (-webkit-view-mode: minimized) changed to true
10 ------------- maximized -------------
11 [1] - query (-webkit-view-mode: minimized) changed to false
12 [1] - query (-webkit-view-mode: maximized) changed to true
13 [2] - query (-webkit-view-mode: minimized) changed to false
14 [2] - query (-webkit-view-mode: maximized) changed to true
15 ------------- windowed -------------
16 [1] - query (-webkit-view-mode: windowed) changed to true
17 [1] - query (-webkit-view-mode: maximized) changed to false
18 [2] - query (-webkit-view-mode: windowed) changed to true
19 [2] - query (-webkit-view-mode: maximized) changed to false
20 ------------- floating -------------
21 [1] - query (-webkit-view-mode: windowed) changed to false
22 [1] - query (-webkit-view-mode: floating) changed to true
23 [2] - query (-webkit-view-mode: windowed) changed to false
24 [2] - query (-webkit-view-mode: floating) changed to true