Move CEF V8 internal attributes to hidden values and add a test to verify safety (issue #316).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@361 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-11-07 21:39:57 +00:00
parent 53a2f21ba4
commit ae5371dd09
5 changed files with 510 additions and 46 deletions

View File

@@ -158,7 +158,8 @@ public:
return v8_value_->GetHandle();
}
bool IsReservedKey(const CefString& key);
// Returns the accessor assigned for the specified object, if any.
static CefV8Accessor* GetAccessor(v8::Handle<v8::Object> object);
protected:
scoped_refptr<CefV8ValueHandle> v8_value_;