Files
react-native-devtools-frontend/test/e2e/resources/memory/dom-objects.html
T
Jack Franklin f56bc382ec Migrate devtools-active-dom-objects heap layout test
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>
2020-09-11 14:24:44 +00:00

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>