Commit 64dbd26e authored by Franziska Hinkelmann's avatar Franziska Hinkelmann Committed by Commit Bot

[api] Deprecate SetNamedPropertyHandler

I replaced usages in Chromium and other embedders. I think we can safely
deprecate and soon remove.

Drive-by fix: Fixed some typos.

Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: Ia8e35adb2abebed3966403af61eda1ede319e5c3
Reviewed-on: https://chromium-review.googlesource.com/980452Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
Commit-Queue: Franziska Hinkelmann <franzih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52236}
parent b6e6dde9
...@@ -3109,7 +3109,7 @@ enum class KeyCollectionMode { kOwnOnly, kIncludePrototypes }; ...@@ -3109,7 +3109,7 @@ enum class KeyCollectionMode { kOwnOnly, kIncludePrototypes };
/** /**
* kIncludesIndices allows for integer indices to be collected, while * kIncludesIndices allows for integer indices to be collected, while
* kSkipIndices will exclude integer indicies from being collected. * kSkipIndices will exclude integer indices from being collected.
*/ */
enum class IndexFilter { kIncludeIndices, kSkipIndices }; enum class IndexFilter { kIncludeIndices, kSkipIndices };
...@@ -5554,7 +5554,7 @@ class V8_EXPORT FunctionTemplate : public Template { ...@@ -5554,7 +5554,7 @@ class V8_EXPORT FunctionTemplate : public Template {
/** /**
* Causes the function template to inherit from a parent function template. * Causes the function template to inherit from a parent function template.
* This means the the function's prototype.__proto__ is set to the parent * This means the function's prototype.__proto__ is set to the parent
* function's prototype. * function's prototype.
**/ **/
void Inherit(Local<FunctionTemplate> parent); void Inherit(Local<FunctionTemplate> parent);
...@@ -5842,7 +5842,7 @@ class V8_EXPORT ObjectTemplate : public Template { ...@@ -5842,7 +5842,7 @@ class V8_EXPORT ObjectTemplate : public Template {
* \param data A piece of data that will be passed to the callbacks * \param data A piece of data that will be passed to the callbacks
* whenever they are invoked. * whenever they are invoked.
*/ */
V8_DEPRECATE_SOON( V8_DEPRECATED(
"Use SetHandler(const NamedPropertyHandlerConfiguration) " "Use SetHandler(const NamedPropertyHandlerConfiguration) "
"with the kOnlyInterceptStrings flag set.", "with the kOnlyInterceptStrings flag set.",
void SetNamedPropertyHandler( void SetNamedPropertyHandler(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment