/[blink]
Chromium logo

Revision 170264


Jump to revision: Previous Next
Author: ch.dumez@samsung.com
Date: Fri Mar 28 04:25:14 2014 UTC (9 years, 1 month ago)
Changed paths: 3
Log Message:
window.atob() returns wrong value when given a string container only white spaces

window.atob() returns wrong value when given a string container only white
spaces. The reason was that base64DecodeInternal() was calling Vector::grow()
before the loop but failed to call Vector::shrink() in case of early return.

R=
BUG=357332

Review URL: https://codereview.chromium.org/215833002

Changed paths

Path Details
Directorytrunk/LayoutTests/fast/dom/Window/atob-btoa-expected.txt modified , text changed
Directorytrunk/LayoutTests/fast/dom/Window/atob-btoa.html modified , text changed
Directorytrunk/Source/wtf/text/Base64.cpp modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help