Index: LayoutTests/plugins/plugin-remove-readystatechange.html |
diff --git a/LayoutTests/plugins/plugin-remove-readystatechange.html b/LayoutTests/plugins/plugin-remove-readystatechange.html |
index ac0562d151df7737e6e5c3257315965fd2b600bb..8b37b6abeae5bada19a4728c34c4a3f00a6bad7d 100644 |
--- a/LayoutTests/plugins/plugin-remove-readystatechange.html |
+++ b/LayoutTests/plugins/plugin-remove-readystatechange.html |
@@ -26,6 +26,10 @@ document.addEventListener('readystatechange', function() { |
window.addEventListener('DOMContentLoaded', function() { |
document.body.removeChild(document.getElementById('viewer')); |
}); |
+ |
+// FIXME: This shouldn't be needed, but it's here to make our whitespace text node |
+// creation deterministic in the face of lazily creating the render tree. |
+document.body.offsetHeight; |
</script> |
</body> |
</html> |