Bug 183139 - [WK2] fast/events/blur-focus-window-should-blur-focus-element.html fails
Summary: [WK2] fast/events/blur-focus-window-should-blur-focus-element.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2018-02-26 12:54 PST by Daniel Bates
Modified: 2018-02-26 19:40 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
]]