Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: test/cctest/test-api-interceptors.cc

Issue 2302133003: [api] Minor improvement to documentation for kNonMasking. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api-interceptors.cc
diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc
index e8a674a1d1fc9144d6da4ffcf4ec683275811d64..e97c0c04058d836311ed59a9d8cdea936bd8b220 100644
--- a/test/cctest/test-api-interceptors.cc
+++ b/test/cctest/test-api-interceptors.cc
@@ -4338,6 +4338,9 @@ THREADED_TEST(NonMaskingInterceptorOwnProperty) {
ExpectInt32("obj.whatever", 239);
CompileRun("obj.whatever = 4;");
+
+ // obj.whatever exists, thus it is not affected by the non-masking
+ // interceptor.
ExpectInt32("obj.whatever", 4);
CompileRun("delete obj.whatever;");
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698