| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c37bef1 commit 0566799
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | 39 | # Reset this number to 0 on major V8 upgrades. | |
| 40 | 40 | # Increment by one for each non-official patch applied to deps/v8. | |
| 41 | - 'v8_embedder_string': '-node.21', | ||
| 41 | + 'v8_embedder_string': '-node.22', | ||
| 42 | 42 | ||
| 43 | 43 | ##### V8 defaults for Node.js ##### | |
| 44 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -819,6 +819,8 @@ class V8_EXPORT Symbol : public Name { | |||
| 819 | 819 | static Local<Symbol> GetToPrimitive(Isolate* isolate); | |
| 820 | 820 | static Local<Symbol> GetToStringTag(Isolate* isolate); | |
| 821 | 821 | static Local<Symbol> GetUnscopables(Isolate* isolate); | |
| 822 | + static Local<Symbol> GetDispose(Isolate* isolate); | ||
| 823 | + static Local<Symbol> GetAsyncDispose(Isolate* isolate); | ||
| 822 | 824 | ||
| 823 | 825 | V8_INLINE static Symbol* Cast(Data* data) { | |
| 824 | 826 | #ifdef V8_ENABLE_CHECKS | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9548,7 +9548,9 @@ Local<Symbol> v8::Symbol::ForApi(Isolate* v8_isolate, Local<String> name) { | |||
| 9548 | 9548 | V(Split, split) \ | |
| 9549 | 9549 | V(ToPrimitive, to_primitive) \ | |
| 9550 | 9550 | V(ToStringTag, to_string_tag) \ | |
| 9551 | - V(Unscopables, unscopables) | ||
| 9551 | + V(Unscopables, unscopables) \ | ||
| 9552 | + V(Dispose, dispose) \ | ||
| 9553 | + V(AsyncDispose, async_dispose) | ||
| 9552 | 9554 | ||
| 9553 | 9555 | #define SYMBOL_GETTER(Name, name) \ | |
| 9554 | 9556 | Local<Symbol> v8::Symbol::Get##Name(Isolate* v8_isolate) { \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4006,6 +4006,8 @@ THREADED_TEST(WellKnownSymbols) { | |||
| 4006 | 4006 | CheckWellKnownSymbol(v8::Symbol::GetSplit, "Symbol.split"); | |
| 4007 | 4007 | CheckWellKnownSymbol(v8::Symbol::GetToPrimitive, "Symbol.toPrimitive"); | |
| 4008 | 4008 | CheckWellKnownSymbol(v8::Symbol::GetToStringTag, "Symbol.toStringTag"); | |
| 4009 | + CheckWellKnownSymbol(v8::Symbol::GetDispose, "Symbol.dispose"); | ||
| 4010 | + CheckWellKnownSymbol(v8::Symbol::GetAsyncDispose, "Symbol.asyncDispose"); | ||
| 4009 | 4011 | } | |
| 4010 | 4012 | ||
| 4011 | 4013 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments