GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||
GeezerVison is showing github.com — vm: return all own names and symbols in property enumerator by legendecas · Pull Request #54522 · nodejs/node Conversation
|
The original behavior was something like this: Line 202 in 5737c21
When we still used a function template's instance template for the global object template. The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #54522 +/- ## ========================================== - Coverage 87.34% 87.31% -0.03% ========================================== Files 649 649 Lines 182544 182759 +215 Branches 35030 35048 +18 ========================================== + Hits 159445 159579 +134 - Misses 16372 16459 +87 + Partials 6727 6721 -6
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
66475b7 to
d6f5838
Compare
|
@joyeecheung On v18.8.0 where #44252 was not backported, the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Yes, hence it was just done to keep it “look the same as before” (which matters when it gets logged by the console, etc. I don’t know how important it is though, maybe it’s fine to break the display name) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
d6f5838 to
eb35695
Compare
Property enumerator methods like `Object.getOwnPropertyNames`, `Object.getOwnPropertySymbols`, and `Object.keys` all invokes the named property enumerator interceptor. V8 will filter the result based on the invoked enumerator variant. Fix the enumerator interceptor to return all potential properties.
eb35695 to
acf009b
Compare
|
I left @@toStringTag untouched being an exception as is. The breaking behavior can be a separate PR. This PR still fix inconsistency on @nodejs/vm @joyeecheung please take a look again, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in d2479fa |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Property enumerator methods like `Object.getOwnPropertyNames`, `Object.getOwnPropertySymbols`, and `Object.keys` all invokes the named property enumerator interceptor. V8 will filter the result based on the invoked enumerator variant. Fix the enumerator interceptor to return all potential properties. PR-URL: #54522 Refs: jsdom/jsdom#3688 Reviewed-By: Joyee Cheung <[email protected]>
Property enumerator methods like `Object.getOwnPropertyNames`, `Object.getOwnPropertySymbols`, and `Object.keys` all invokes the named property enumerator interceptor. V8 will filter the result based on the invoked enumerator variant. Fix the enumerator interceptor to return all potential properties. PR-URL: #54522 Refs: jsdom/jsdom#3688 Reviewed-By: Joyee Cheung <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.