<?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>80661</bug_id>
          
          <creation_ts>2012-03-08 18:00:02 -0800</creation_ts>
          <short_desc>fast/dom/MicroData/itemtype-attribute-test.html fails on Mac port</short_desc>
          <delta_ts>2022-08-02 08:59:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          <blocked>68609</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>arko</cc>
    
    <cc>darin</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>574446</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-03-08 18:00:02 -0800</bug_when>
    <thetext>--- /Volumes/Data/webkit4/WebKitBuild/Debug/layout-test-results/fast/dom/MicroData/itemtype-attribute-test-expected.txt 
+++ /Volumes/Data/webkit4/WebKitBuild/Debug/layout-test-results/fast/dom/MicroData/itemtype-attribute-test-actual.txt 
@@ -10,7 +10,7 @@
 itemType and itemType.length must be read-only.
 PASS element.itemType = &apos;http://example.com/test&apos;; element.itemType.toString() == &apos;http://example.com/foo&apos; is true
 PASS element.itemType.contains(&apos;http://example.com/test&apos;) is false
-PASS element.itemType.length = 0; element.itemType.length == 1 is true
+FAIL element.itemType.length = 0; element.itemType.length == 1 should be true. Was false.
 
 removeAttribute(&apos;itemType&apos;) must reflect correctly.
 PASS element.itemType.toString() is &apos;&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574453</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-03-08 18:15:17 -0800</bug_when>
    <thetext>Note: you have run fast/dom/MicroData/itemtype-add-remove-tokens.html
and fast/dom/MicroData/itemtype-attribute-test.html in the respective order to reproduce this bug.

Also, replacing shouldBeTrue(&quot;element.itemType.length = 0; element.itemType.length == 1&quot;) by
shouldBe(&quot;element.itemType.length = 0; element.itemType.length&quot;, &quot;1&quot;) will make it always pass :(

Maybe this is a JSC bug?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>