Bug 11526 - REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg
Summary: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Major
Assignee: Nobody
URL: http://build.webkit.org/results/post-...
Keywords: LayoutTestFailure, Regression
Depends on:
Blocks:
 
Reported: 2006-11-06 03:27 PST by Mark Rowe (bdash)
Modified: 2006-11-06 05:13 PST (History)
1 user (show)

See Also:


Attachments
Bring consistency to DOMNode::toString/valueOf (109.19 KB, patch)
2006-11-06 04:56 PST, Mark Rowe (bdash)
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2006-11-06 03:27:37 PST
The fix for bug 11524 broke this test as it caused DOMNode::valueOf() to be used when comparing [meta] to a string, rather than DOMNode::toString().  In Firefox DOMNode::valueOf() and DOMNode::toString() return the same value, but we return a string based on nodeName for the former, and className for the latter.
Comment 1 Mark Rowe (bdash) 2006-11-06 04:56:13 PST
Created attachment 11396 [details]
Bring consistency to DOMNode::toString/valueOf
Comment 2 Maciej Stachowiak 2006-11-06 04:57:45 PST
Comment on attachment 11396 [details]
Bring consistency to DOMNode::toString/valueOf

r=me
Comment 3 mitz 2006-11-06 05:03:23 PST
+FAILURE: expected "[object META]", actual "[object HTMLMetaElement]"

Perhaps the test can adjust its expectations.
Comment 4 Mark Rowe (bdash) 2006-11-06 05:13:01 PST
Landed in r17615, fast/dom/HTMLMetaElement/meta-attributes.html results updated in r17616.  Good catch :)