blob: 85399ec1b469672a83bc168305dc0c7cd900145b [file] [log] [blame]
<!--
Copyright 2020 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<h1>Memory Panel (Heap profiler) Test</h1>
<script>
function onChange(e) {
console.log('onChange ' + e.matches);
}
var m = window.matchMedia('(min-width: 1400px)');
m.addListener(onChange);
m = window.matchMedia('(min-height: 1800px)');
m.addListener(onChange);
console.log('Created 2 MediaQueryList elements');
</script>