gecko-dev/layout/style/crashtests/1552911.html
Boris Chiou 9c6dd560e5 Bug 1552911 - Drop the constructor of ResizeObserverEntry. r=dholbert,smaug
There is a spec issue about should we expose this API:
https://github.com/w3c/csswg-drafts/issues/3946

It's no clear that should we really need this API, so let's match
Chromium for now.

Differential Revision: https://phabricator.services.mozilla.com/D31891

--HG--
extra : moz-landing-system : lando
2019-05-21 18:17:16 +00:00

16 lines
345 B
HTML

<html>
<head>
<script>
function start() {
const o1 =
document.createElementNS('http://www.w3.org/1999/xhtml', 'slot');
const observer = new ResizeObserverEntry(o1);
typeof observer.borderBoxSize;
typeof observer.contentBoxSize;
}
window.addEventListener('load', start);
</script>
</head>
</html>