Title: [238495] trunk/LayoutTests
Revision
238495
Author
[email protected]
Date
2018-11-26 08:24:20 -0800 (Mon, 26 Nov 2018)

Log Message

Unreviewed test gardening after r238280.

* fast/content-observation/click-event-suppression-on-content-change.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (238494 => 238495)


--- trunk/LayoutTests/ChangeLog	2018-11-26 15:30:15 UTC (rev 238494)
+++ trunk/LayoutTests/ChangeLog	2018-11-26 16:24:20 UTC (rev 238495)
@@ -1,5 +1,11 @@
 2018-11-26  Zalan Bujtas  <[email protected]>
 
+        Unreviewed test gardening after r238280.
+
+        * fast/content-observation/click-event-suppression-on-content-change.html:
+
+2018-11-26  Zalan Bujtas  <[email protected]>
+
         Unreviewed rebaseline after r238460.
 
         * platform/ios/fast/inline/inline-content-with-image-simple-expected.txt: Added.

Modified: trunk/LayoutTests/fast/content-observation/click-event-suppression-on-content-change.html (238494 => 238495)


--- trunk/LayoutTests/fast/content-observation/click-event-suppression-on-content-change.html	2018-11-26 15:30:15 UTC (rev 238494)
+++ trunk/LayoutTests/fast/content-observation/click-event-suppression-on-content-change.html	2018-11-26 16:24:20 UTC (rev 238495)
@@ -21,8 +21,13 @@
 var mutateOnMouseOver = false;
 
 function mouseOver() {
-    if (mutateOnMouseOver)
-        document.querySelector('#test').appendChild(document.createElement("div"));
+    if (mutateOnMouseOver) {
+        let newContent = document.createElement("div");
+        newContent.addEventListener("click", function( event ) {
+            console.log("clicked");
+        }, false);
+        document.querySelector('#test').appendChild(newContent);
+    }
     output('mouseover');
 }
 function mouseOut() {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to