Merge Blink test case
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2016 23:45:41 +0000 (23:45 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2016 23:45:41 +0000 (23:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=116507

Patch is from a Blink change (patch by <ojan@chromium.org>):
<https://chromium.googlesource.com/chromium/blink/+/6598fc75a7260643ecfc42856ef24bcf96380443>

* compositing/iframes/crash-mouse-event-expected.txt: Added.
* compositing/iframes/crash-mouse-event.html: Added.

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

LayoutTests/ChangeLog
LayoutTests/compositing/iframes/crash-mouse-event-expected.txt [new file with mode: 0644]
LayoutTests/compositing/iframes/crash-mouse-event.html [new file with mode: 0644]

index f2ff0cb..499b191 100644 (file)
@@ -1,5 +1,16 @@
 2016-07-14  Brent Fulgham  <bfulgham@apple.com>
 
+        Merge Blink test case
+        https://bugs.webkit.org/show_bug.cgi?id=116507
+
+        Patch is from a Blink change (patch by <ojan@chromium.org>):
+        <https://chromium.googlesource.com/chromium/blink/+/6598fc75a7260643ecfc42856ef24bcf96380443>
+
+        * compositing/iframes/crash-mouse-event-expected.txt: Added.
+        * compositing/iframes/crash-mouse-event.html: Added.
+
+2016-07-14  Brent Fulgham  <bfulgham@apple.com>
+
         editing/spelling/spellcheck-async.html sometimes crashes with GuardMalloc 
         https://bugs.webkit.org/show_bug.cgi?id=142969
         <rdar://problem/27331095>
diff --git a/LayoutTests/compositing/iframes/crash-mouse-event-expected.txt b/LayoutTests/compositing/iframes/crash-mouse-event-expected.txt
new file mode 100644 (file)
index 0000000..5689e4d
--- /dev/null
@@ -0,0 +1,2 @@
+
+This test passes if it doesn't crash.
diff --git a/LayoutTests/compositing/iframes/crash-mouse-event.html b/LayoutTests/compositing/iframes/crash-mouse-event.html
new file mode 100644 (file)
index 0000000..5493c32
--- /dev/null
@@ -0,0 +1,17 @@
+<script>
+    if (window.testRunner) {
+        testRunner.dumpAsText(false);
+        testRunner.waitUntilDone();
+    }
+    function testDone()
+    {
+        if (window.eventSender) {
+            eventSender.mouseDown();
+        }
+        if (window.testRunner) {
+            testRunner.notifyDone();
+        }
+    }
+</script>
+<iframe src=resources/leave-compositing-subframe-click.html></iframe>
+<p>This test passes if it doesn't crash.</p>
\ No newline at end of file