| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Chengzhong Wu <legendecas@gmail.com>
Codecov Report❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #63549 +/- ##
==========================================
+ Coverage 90.31% 90.33% +0.01%
==========================================
Files 730 730
Lines 234161 234163 +2
Branches 43917 43924 +7
==========================================
+ Hits 211486 211525 +39
+ Misses 14408 14363 -45
- Partials 8267 8275 +8
... and 31 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
This fixes a long-standing issue that `ContextifyContext::PropertyDefinerCallback` incorrectly copies the `const PropertyDescriptor& desc`, assigning value to be `undefined` when no value present on the `PropertyDescriptor`. This is revealed after nodejs#63549 because returning `kYes` tells V8 that the definer handled it, and V8 no longer fixes it up. Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
This fixes a long-standing issue that `ContextifyContext::PropertyDefinerCallback` incorrectly copies the `const PropertyDescriptor& desc`, assigning value to be `undefined` when no value present on the `PropertyDescriptor`. This is revealed after #63549 because returning `kYes` tells V8 that the definer handled it, and V8 no longer fixes it up. Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: #64073 Fixes: #64008 Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
This fixes a long-standing issue that `ContextifyContext::PropertyDefinerCallback` incorrectly copies the `const PropertyDescriptor& desc`, assigning value to be `undefined` when no value present on the `PropertyDescriptor`. This is revealed after #63549 because returning `kYes` tells V8 that the definer handled it, and V8 no longer fixes it up. Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: #64073 Fixes: #64008 Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
| Back | FazBrowse Home | New Git URL |
This fixes that when defining a property, a definer callback
like a proxy handler would be invoked twice when the property
is writable.
Fixes: #52634