Index: LayoutTests/fast/events/scroll-event-handler-count.html |
diff --git a/LayoutTests/fast/events/scroll-event-handler-count.html b/LayoutTests/fast/events/scroll-event-handler-count.html |
index f17219a6112ed2ef0452b7380234702e96a8a92f..afaba7bad5a90f647255ee9540d79cbdfbd862c0 100644 |
--- a/LayoutTests/fast/events/scroll-event-handler-count.html |
+++ b/LayoutTests/fast/events/scroll-event-handler-count.html |
@@ -123,7 +123,6 @@ debug('Test moving event listeners from an attached document to an unattached on |
nestedDocument.open('text/html', 'replace'); |
nestedDocument.write('<!DOCTYPE html>\n<script>\ndocument.onscroll=function(){};\n' + |
'window.onscroll=function(){};</' + 'script>\n'); |
- nestedDocument.close(); |
shouldBe('window.internals.scrollEventHandlerCount(document)', '3'); |
@@ -139,7 +138,6 @@ debug('Test moving a scroll event listener between documents belonging to the sa |
var nestedDocument = iframe.contentWindow.document; |
nestedDocument.open('text/html', 'replace'); |
nestedDocument.write('<!DOCTYPE html><div id=foo></div>'); |
- nestedDocument.close(); |
var element = frames[0].document.getElementById('foo'); |
var listener = function() { } |