diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 04:16:43 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 04:16:43 +0000 |
commit | 99ddfd29900cc4caa1f1ffd979cc09be3f104336 (patch) | |
tree | dd3987a5578e15a27340a43c32027099050cfb8d /chrome/common | |
parent | 9c5645b5f8af3c04528caef61c59e2754f79288b (diff) | |
download | chromium_src-99ddfd29900cc4caa1f1ffd979cc09be3f104336.zip chromium_src-99ddfd29900cc4caa1f1ffd979cc09be3f104336.tar.gz chromium_src-99ddfd29900cc4caa1f1ffd979cc09be3f104336.tar.bz2 |
The spec for ____storage.key() changed. Now, instead of raising an exception when you try to access a key
at an index that's greater than or equal to ___Storage.length, it simply returns a null.
This is yet another demonstration of why we need a NullableString16 (rather than passing around a string and
a bool) but this cannot block on that work.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/165289
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 22cd1c0..d831654 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1575,8 +1575,8 @@ IPC_BEGIN_MESSAGES(ViewHost) IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_DOMStorageKey, int64 /* storage_area_id */, unsigned /* index */, - bool /* key_exception */, - string16 /* key */) + string16 /* key */, + bool /* key_is_null */) // Get a value based on a key from a storage area. // TODO(jorlow): Convert value + value_is_null over to a NullableString16 |