author | Bobby Holley <bobbyholley@gmail.com> |
Wed, 19 Jul 2017 17:13:43 -0700 | |
changeset 369810 | 747035414236731b91080e801f393be22017a5b8 |
parent 369809 | 5a43e98b2000fa178b0454cb005dff11762340f4 |
child 369811 | eb19a789a45562a03f9a105c874425cf8dac510e |
push id | 46823 |
push user | bholley@mozilla.com |
push date | Thu, 20 Jul 2017 04:52:43 +0000 |
treeherder | autoland@747035414236 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | heycam |
bugs | 1382357 |
milestone | 56.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
dom/xbl/crashtests/1382357.xhtml | file | annotate | diff | comparison | revisions | |
dom/xbl/crashtests/crashtests.list | file | annotate | diff | comparison | revisions |
new file mode 100644 --- /dev/null +++ b/dom/xbl/crashtests/1382357.xhtml @@ -0,0 +1,36 @@ +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> +<head> + +<bindings xmlns="http://www.mozilla.org/xbl"> + <binding id="foo"><content><span xmlns="http://www.w3.org/1999/xhtml"/></content></binding> +</bindings> + +<script type="text/javascript"> +// <![CDATA[ + +function boom() +{ + // Apply an invalid binding, and wait two ticks of the refresh driver for the async load. + var d = document.getElementById("d"); + d.style.MozBinding = "url(#bar)"; + requestAnimationFrame(function() { + requestAnimationFrame(function() { + // Trigger the InnerText getter. + document.getElementById("s").innerText; + document.documentElement.removeAttribute("class"); + }); + }); +} + +]]> +</script> +</head> + +<body onload="boom();"> + +<div id="d"> + <span id="s">SpanText</span> +</div> + +</body> +</html>
--- a/dom/xbl/crashtests/crashtests.list +++ b/dom/xbl/crashtests/crashtests.list @@ -33,8 +33,9 @@ load 477878-1.html load 492978-1.xul load 493123-1.xhtml load 495354-1.xhtml load 507628-1.xhtml load 507991-1.xhtml load 830614-1.xul load 895805-1.xhtml load set-field-bad-this.xhtml +load 1382357.xhtml