diff options
Diffstat (limited to 'LayoutTests/fast/leaks/002.html')
-rw-r--r-- | LayoutTests/fast/leaks/002.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/LayoutTests/fast/leaks/002.html b/LayoutTests/fast/leaks/002.html new file mode 100644 index 0000000..0b0ecd2 --- /dev/null +++ b/LayoutTests/fast/leaks/002.html @@ -0,0 +1,20 @@ +<p>This test exercises RenderBlock::bidiReorderCharacters in a specific way to +test for BidiRun leaks as reported in rdar://problem/4987649. Its layout has no +particular meaning. +</p> +<div><input type='file' id='input'></input></div> +<iframe id='iframe' src="data:text/html,<input type='file' id='input'></input>"></iframe> + +<script> +window.onload = function main() +{ + if (window.layoutTestController) + layoutTestController.dumpAsText(); + + // Repeat, to generate lots of leaks. + for (var i = 0; i < 20; i++) { //> + document.getElementById('input').focus(); + document.getElementById('iframe').contentDocument.getElementById('input').focus(); + } +} +</script> |