chromium/third_party/blink/web_tests/accessibility/document-element-display-none-crash.html

<!DOCTYPE HTML>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>

<script>
test(function(t) {
  document.documentElement.style.display = 'none';
  accessibilityController.rootElement.name;
  document.documentElement.style.display = 'block';
}, "Getting the accessible name for a display:none document doesn't crash");
</script>