Chromium Code Reviews| Index: Source/core/storage/Storage.cpp |
| diff --git a/Source/core/storage/Storage.cpp b/Source/core/storage/Storage.cpp |
| index c74c4a6d4bd2b23ae5b3abf7dc659599a1950091..6ede07214dffa583c5bc8c4278a7c48e22d24a27 100644 |
| --- a/Source/core/storage/Storage.cpp |
| +++ b/Source/core/storage/Storage.cpp |
| @@ -115,4 +115,15 @@ void Storage::namedPropertyEnumerator(Vector<String>& names, ExceptionCode& ec) |
| } |
| } |
| +bool Storage::namedPropertyQuery(const AtomicString& name, int& returnValue, ExceptionCode& ec) |
| +{ |
| + if (name == "length") |
|
haraken
2013/06/17 07:41:02
It's OK to leave this check in this CL, but this c
kojih
2013/06/17 07:52:57
I agree.
|
| + return false; |
| + bool found = contains(name, ec); |
| + if (ec || !found) |
| + return false; |
| + returnValue = 0; |
| + return true; |
| +} |
| + |
| } |