Bug 110022 - Identifier generated twice in FrameLoader::loadResourceSynchronously()
Summary: Identifier generated twice in FrameLoader::loadResourceSynchronously()
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2013-02-16 10:28 PST by Alexey Proskuryakov
Modified: 2013-02-16 21:48 PST (History)
4 users (show)

See Also:

proposed fix (1.55 KB, patch)
2013-02-16 10:30 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-02-16 10:28:10 PST
There are two variables named identifier, the inner one shadowing the outer one. So, we generate the identifier twice, and a wrong result is returned from the function.
Comment 1 Alexey Proskuryakov 2013-02-16 10:30:23 PST
Created attachment 188718 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2013-02-16 21:48:33 PST
Committed <http://trac.webkit.org/r143123>.