RS by Adele.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jul 2006 02:17:22 +0000 (02:17 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jul 2006 02:17:22 +0000 (02:17 +0000)
        Test for whether focusing and/or blurring a frame before its content has loaded causes
        a crash. <rdar://problem/4632505> REGRESSION: Crash at
        WebCore::Widget::getView() const + 6

        * http/tests/incremental/frame-focus-before-load-expected.txt: Added.
        * http/tests/incremental/frame-focus-before-load.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15568 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/incremental/frame-focus-before-load-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/incremental/frame-focus-before-load.html [new file with mode: 0644]

index 09f1b5f..0e5d7b2 100644 (file)
@@ -1,3 +1,14 @@
+2006-07-21  Geoffrey Garen  <ggaren@apple.com>
+
+        RS by Adele.
+        
+        Test for whether focusing and/or blurring a frame before its content has loaded causes
+        a crash. <rdar://problem/4632505> REGRESSION: Crash at 
+        WebCore::Widget::getView() const + 6
+        
+        * http/tests/incremental/frame-focus-before-load-expected.txt: Added.
+        * http/tests/incremental/frame-focus-before-load.html: Added.
+
 2006-07-21  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Darin.
diff --git a/LayoutTests/http/tests/incremental/frame-focus-before-load-expected.txt b/LayoutTests/http/tests/incremental/frame-focus-before-load-expected.txt
new file mode 100644 (file)
index 0000000..60ac979
--- /dev/null
@@ -0,0 +1,5 @@
+This page tests whether focusing and/or blurring a frame before its content has loaded causes a crash. See rdar://problem/4632505.
+
+PASS: You didn't crash.
+
+
diff --git a/LayoutTests/http/tests/incremental/frame-focus-before-load.html b/LayoutTests/http/tests/incremental/frame-focus-before-load.html
new file mode 100644 (file)
index 0000000..b7972a7
--- /dev/null
@@ -0,0 +1,14 @@
+<html>
+<body>
+<iframe id="slowToLoad" name="slowToLoad" src="slow-utf8-text.pl" style="visibility:hidden"></iframe>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+    
+slowToLoad.focus();
+slowToLoad.blur();
+</script>
+<p>This page tests whether focusing and/or blurring a frame before its content has loaded causes a crash. See rdar://problem/4632505.</p>
+<p>PASS: You didn't crash.</p>
+</body>
+</html>