<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>183139</bug_id>
          
          <creation_ts>2018-02-26 12:54:00 -0800</creation_ts>
          <short_desc>[WK2] fast/events/blur-focus-window-should-blur-focus-element.html fails</short_desc>
          <delta_ts>2018-02-26 19:40:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=81736</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1402146</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2018-02-26 12:54:00 -0800</bug_when>
    <thetext>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 &quot;blur&quot;
 PASS targets[1] is window
-PASS thisObjects[2] is window
+FAIL thisObjects[2] should be [object Window]. Was [object Window].
 PASS events[2] is &quot;focus&quot;
-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 &quot;focus&quot;
-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 &quot;blur&quot;
-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 &quot;blur&quot;
-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 &quot;focus&quot;
-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 &quot;focus&quot;
-PASS targets[7] is innerDiv
-PASS thisObjects[8] is innerDiv
-PASS events[8] is &quot;blur&quot;
-PASS targets[8] is innerDiv
-PASS thisObjects[9] is iframe
-PASS events[9] is &quot;blur&quot;
-PASS targets[9] is iframe
-PASS thisObjects[10] is window
-PASS events[10] is &quot;focus&quot;
-PASS targets[10] is window
-PASS thisObjects[11] is divElement
-PASS events[11] is &quot;focus&quot;
-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
]]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>