Bug 183139

Summary: [WK2] fast/events/blur-focus-window-should-blur-focus-element.html fails
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, lforschler
Priority: P2 Keywords: LayoutTestFailure
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=81736

Description Daniel Bates 2018-02-26 12:54:00 PST
The test fast/events/blur-focus-window-should-blur-focus-element.html fails in WebKit2 and passes in WebKit1. The following is the failure diff:

[[
--- /Volumes/.../OpenSource/WebKitBuild/Debug/layout-test-results/fast/events/blur-focus-window-should-blur-focus-element-expected.txt
+++ /Volumes/.../OpenSource/WebKitBuild/Debug/layout-test-results/fast/events/blur-focus-window-should-blur-focus-element-actual.txt
@@ -9,36 +9,36 @@
 PASS thisObjects[1] is window
 PASS events[1] is "blur"
 PASS targets[1] is window
-PASS thisObjects[2] is window
+FAIL thisObjects[2] should be [object Window]. Was [object Window].
 PASS events[2] is "focus"
-PASS targets[2] is window
-PASS thisObjects[3] is divElement
+FAIL targets[2] should be [object Window]. Was [object Window].
+FAIL thisObjects[3] should be [object HTMLDivElement]. Was [object HTMLDivElement].
 PASS events[3] is "focus"
-PASS targets[3] is divElement
-PASS thisObjects[4] is divElement
+FAIL targets[3] should be [object HTMLDivElement]. Was [object HTMLDivElement].
+FAIL thisObjects[4] should be [object HTMLDivElement]. Was [object HTMLDivElement].
 PASS events[4] is "blur"
-PASS targets[4] is divElement
-PASS thisObjects[5] is window
+FAIL targets[4] should be [object HTMLDivElement]. Was [object HTMLDivElement].
+FAIL thisObjects[5] should be [object Window]. Was [object Window].
 PASS events[5] is "blur"
-PASS targets[5] is window
-PASS thisObjects[6] is iframe
+FAIL targets[5] should be [object Window]. Was [object Window].
+FAIL thisObjects[6] should be [object Window]. Was [object Window].
 PASS events[6] is "focus"
-PASS targets[6] is iframe
-PASS thisObjects[7] is innerDiv
+FAIL targets[6] should be [object Window]. Was [object Window].
+FAIL thisObjects[7] should be [object HTMLDivElement]. Was [object HTMLDivElement].
 PASS events[7] is "focus"
-PASS targets[7] is innerDiv
-PASS thisObjects[8] is innerDiv
-PASS events[8] is "blur"
-PASS targets[8] is innerDiv
-PASS thisObjects[9] is iframe
-PASS events[9] is "blur"
-PASS targets[9] is iframe
-PASS thisObjects[10] is window
-PASS events[10] is "focus"
-PASS targets[10] is window
-PASS thisObjects[11] is divElement
-PASS events[11] is "focus"
-PASS targets[11] is divElement
+FAIL targets[7] should be [object HTMLDivElement]. Was [object HTMLDivElement].
+FAIL thisObjects[8] should be [object HTMLDivElement] (of type object). Was undefined (of type undefined).
+FAIL events[8] should be blur (of type string). Was undefined (of type undefined).
+FAIL targets[8] should be [object HTMLDivElement] (of type object). Was undefined (of type undefined).
+FAIL thisObjects[9] should be [object Window] (of type object). Was undefined (of type undefined).
+FAIL events[9] should be blur (of type string). Was undefined (of type undefined).
+FAIL targets[9] should be [object Window] (of type object). Was undefined (of type undefined).
+FAIL thisObjects[10] should be [object Window] (of type object). Was undefined (of type undefined).
+FAIL events[10] should be focus (of type string). Was undefined (of type undefined).
+FAIL targets[10] should be [object Window] (of type object). Was undefined (of type undefined).
+FAIL thisObjects[11] should be [object HTMLDivElement] (of type object). Was undefined (of type undefined).
+FAIL events[11] should be focus (of type string). Was undefined (of type undefined).
+FAIL targets[11] should be [object HTMLDivElement] (of type object). Was undefined (of type undefined).
 PASS successfullyParsed is true
 
 TEST COMPLETE
]]