<?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>142017</bug_id>
          
          <creation_ts>2015-02-25 09:33:18 -0800</creation_ts>
          <short_desc>[Win] [Attachment] New Tests fail on Windows</short_desc>
          <delta_ts>2015-03-04 09:37:37 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>141993</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>sam</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1072073</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-25 09:33:18 -0800</bug_when>
    <thetext>The new &lt;attachment&gt; stuff added in &lt;https://trac.webkit.org/changeset/180601&gt; does not seem to work properly on Windows.

The following layout test is failing on Windows

fast/attachment/attachment-dom.html

The Failing looks like the following:
--- /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/attachment/attachment-dom-expected.txt
+++ /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/attachment/attachment-dom-actual.txt
@@ -1,14 +1,10 @@
+CONSOLE MESSAGE: line 1: ReferenceError: Can&apos;t find variable: HTMLAttachmentElement
 This tests that attachments have an instance type of HTMLElement.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS attachment is an instance of HTMLAttachmentElement
-PASS attachment.file is null
-Setting attachment.file to a file created from resources/test-file.txt
-PASS attachment.file is file
-PASS attachment.file.name is &apos;test-file.txt&apos;
-PASS successfullyParsed is true
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072074</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-25 09:36:27 -0800</bug_when>
    <thetext>Failing test skipped on Windows in r180629. &lt;https://trac.webkit.org/r180629&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073968</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:29:32 -0800</bug_when>
    <thetext>Committed r180990: &lt;http://trac.webkit.org/changeset/180990&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073969</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:30:19 -0800</bug_when>
    <thetext>This needed two things:
1. Activate the feature on Windows.
2. Update baselines for Windows display metrics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074017</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-04 00:53:03 -0800</bug_when>
    <thetext>This broke Windows build:

     1&gt;C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\css\CSSPrimitiveValueMappings.h(613): error C2065: &apos;CSSValueAttachment&apos; : undeclared identifier (C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\obj32\WebCore\DerivedSources\StyleBuilder.cpp)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074096</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-04 09:37:37 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; This broke Windows build:
&gt; 
&gt;     
&gt; 1&gt;C:\cygwin\home\buildbot\slave\win-
&gt; release\build\Source\WebCore\css\CSSPrimitiveValueMappings.h(613): error
&gt; C2065: &apos;CSSValueAttachment&apos; : undeclared identifier
&gt; (C:\cygwin\home\buildbot\slave\win-
&gt; release\build\WebKitBuild\Release\obj32\WebCore\DerivedSources\StyleBuilder.
&gt; cpp)

Fixed with a clean build. But see also Bug 142284, where we are fixing this problem permanently.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>