mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
Bug: 1110817 Change-Id: I38bb4d748f5f70388b7b0808090498929462928a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2406156 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
17 lines
527 B
HTML
17 lines
527 B
HTML
<!--
|
|
Copyright 2020 The Chromium Authors. All rights reserved.
|
|
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>
|