mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
15 lines
427 B
HTML
15 lines
427 B
HTML
|
<script src='modernizr.js'></script>
|
||
|
<body></body>
|
||
|
<script>
|
||
|
window.report = {};
|
||
|
for (const name in Modernizr) {
|
||
|
if (name.startsWith('_'))
|
||
|
continue;
|
||
|
if (['on', 'testAllProps', 'testProp', 'addTest', 'prefixed'].includes(name))
|
||
|
continue;
|
||
|
let value = Modernizr[name];
|
||
|
report[name] = value;
|
||
|
}
|
||
|
document.body.style.whiteSpace = 'pre';
|
||
|
document.body.textContent = JSON.stringify(window.report, undefined, 4);
|
||
|
</script>
|