Title: [194917] trunk/LayoutTests
Revision
194917
Author
[email protected]
Date
2016-01-12 12:16:50 -0800 (Tue, 12 Jan 2016)

Log Message

Null dereference loading Blink layout test editing/selection/selectstart-event-crash.html
https://bugs.webkit.org/show_bug.cgi?id=150210
<rdar://problem/23137259>

Reviewed by Brent Fulgham.

* imported/blink/editing/selection/selectstart-event-crash-expected.txt: Added.
* imported/blink/editing/selection/selectstart-event-crash.html: Added.
* platform/ios-simulator-wk2/TestExpectations:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (194916 => 194917)


--- trunk/LayoutTests/ChangeLog	2016-01-12 20:11:03 UTC (rev 194916)
+++ trunk/LayoutTests/ChangeLog	2016-01-12 20:16:50 UTC (rev 194917)
@@ -1,5 +1,17 @@
 2016-01-12  Jiewen Tan  <[email protected]>
 
+        Null dereference loading Blink layout test editing/selection/selectstart-event-crash.html
+        https://bugs.webkit.org/show_bug.cgi?id=150210
+        <rdar://problem/23137259>
+
+        Reviewed by Brent Fulgham.
+
+        * imported/blink/editing/selection/selectstart-event-crash-expected.txt: Added.
+        * imported/blink/editing/selection/selectstart-event-crash.html: Added.
+        * platform/ios-simulator-wk2/TestExpectations:
+
+2016-01-12  Jiewen Tan  <[email protected]>
+
         Null dereference loading Blink layout test editing/apply-inline-style-to-element-with-no-renderer-crash.html
         https://bugs.webkit.org/show_bug.cgi?id=149287
         <rdar://problem/22746217>

Added: trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash-expected.txt (0 => 194917)


--- trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash-expected.txt	2016-01-12 20:16:50 UTC (rev 194917)
@@ -0,0 +1,3 @@
+
+PASS Untitled 
+

Added: trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash.html (0 => 194917)


--- trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash.html	                        (rev 0)
+++ trunk/LayoutTests/imported/blink/editing/selection/selectstart-event-crash.html	2016-01-12 20:16:50 UTC (rev 194917)
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script src=""
+<script src=""
+<div id="sample"><table id="one"><caption></caption></table></div>
+<div id="log"></div>
+<script>
+var _one_ = document.querySelector('#one');
+document.addEventListener('selectstart', function() {
+    one.remove();
+});
+test(function() {
+    if (!window.eventSender)
+        return;
+    eventSender.mouseMoveTo(one.offsetLeft, one.offsetTop);
+    eventSender.mouseDown();
+    var selection = getSelection();
+    assert_equals(selection.rangeCount, 1);
+});
+</script>

Modified: trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations (194916 => 194917)


--- trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2016-01-12 20:11:03 UTC (rev 194916)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2016-01-12 20:16:50 UTC (rev 194917)
@@ -2038,6 +2038,7 @@
 
 # eventSender.mouseDown is not implemented
 fast/loader/location-hash-user-gesture.html [ Skip ]
+imported/blink/editing/selection/selectstart-event-crash.html [ Skip ]
 
 # No touch events
 http/tests/contentdispositionattachmentsandbox/referer-header-stripped-with-meta-referer-always.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to