--- /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 ''
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?