Bug 1369363 - Test for crash in nsLayoutUtils::TransformFrameRectToAncestor.

--HG--
extra : rebase_source : c7e3cb5e8733ea1a53c77838bed38953580de817
This commit is contained in:
Tobias Schneider 2017-06-06 10:44:42 -07:00
parent 2f1f31e6d0
commit 4dcf7f2e6f
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div id="root">
<xhtml:div id="target">
</xhtml:div>
</xhtml:div>
<script>
<![CDATA[
var io = new IntersectionObserver(function () {
}, { root: document.getElementById('root') });
io.observe(document.getElementById('target'));
]]>
</script>
</window>

View File

@ -214,4 +214,5 @@ pref(dom.IntersectionObserver.enabled,true) load 1326194-2.html
pref(dom.IntersectionObserver.enabled,true) load 1332939.html
pref(dom.IntersectionObserver.enabled,true) load 1353529.xul
pref(dom.webcomponents.enabled,true) load 1341693.html
pref(dom.IntersectionObserver.enabled,true) load 1369363.xul
load 1370072.html