Bug 27726 - [WML] Variable substitution recursion seems to have bugs
Summary: [WML] Variable substitution recursion seems to have bugs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nikolas Zimmermann
URL:
Keywords:
Depends on:
Blocks: 20393
  Show dependency treegraph
 
Reported: 2009-07-27 11:34 PDT by Nikolas Zimmermann
Modified: 2009-07-28 08:34 PDT (History)
1 user (show)

See Also:


Attachments
Initial patch (6.50 KB, patch)
2009-07-28 08:27 PDT, Nikolas Zimmermann
staikos: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2009-07-27 11:34:58 PDT
<setvar name="a" value="b"/>
<setvar name="b" value="$a"/>

After substitution, "b" is empty, where it should be equal to "a".
LayoutTests/wml/resources/variable-reference-valid.js contains a FIXME related to that.
manual-tests/wml/variable-substitution.wml also highlights the problem.
Comment 1 Nikolas Zimmermann 2009-07-28 08:27:21 PDT
Created attachment 33642 [details]
Initial patch
Comment 2 Nikolas Zimmermann 2009-07-28 08:34:28 PDT
Landed in r46487.