Bug 67083
| Summary: | Let StringBuilder::resize() allow growing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xianzhu Wang <wangxianzhu> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Normal | CC: | ap, darin, shinyak, shinyak, sullivan |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 66661 | ||
Xianzhu Wang
For now StringBuilder::resize() only allow shrinking (or do nothing if the new size is the same as the current length). To match Vector<UChar>'s resize() we need to remove the constraint.
We could also add shrink() and grow() methods for more specific usages.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |