Bug 80661 - fast/dom/MicroData/itemtype-attribute-test.html fails on Mac port
Summary: fast/dom/MicroData/itemtype-attribute-test.html fails on Mac port
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 68609
  Show dependency treegraph
 
Reported: 2012-03-08 18:00 PST by Ryosuke Niwa
Modified: 2022-08-02 08:59 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2012-03-08 18:00:02 PST
--- /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 = 'http://example.com/test'; element.itemType.toString() == 'http://example.com/foo' is true
 PASS element.itemType.contains('http://example.com/test') 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('itemType') must reflect correctly.
 PASS element.itemType.toString() is ''
Comment 1 Ryosuke Niwa 2012-03-08 18:15:17 PST
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("element.itemType.length = 0; element.itemType.length == 1") by
shouldBe("element.itemType.length = 0; element.itemType.length", "1") will make it always pass :(

Maybe this is a JSC bug?