Chromium Code Reviews
DescriptionAdd an optional source length field to the Extension constructor.
The length field allows the caller to pass in the address of a non-null-
terminated string. This removes the implicit requirement that the
Extension's source be null-terminated, and makes it possible for callers
to send in addresses of embedded (and possibly not null-terminated)
resource strings, thereby saving a certain amount of resident memory per
extension.
TEST=added two unit tests to test-api.cc
BUG=95147
Committed: http://code.google.com/p/v8/source/detail?r=9365
Patch Set 1 #
Total comments: 15
Patch Set 2 : '' #
Messages
Total messages: 11 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||