| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1685,6 +1685,7 @@ static uint32_t FastCRC32(v8::Local<v8::Value> receiver, | |||
| 1685 | 1685 | v8::FastApiCallbackOptions& options) { | |
| 1686 | 1686 | TRACK_V8_FAST_API_CALL("zlib.crc32"); | |
| 1687 | 1687 | v8::HandleScope handle_scope(options.isolate); | |
| 1688 | + CHECK(data->IsArrayBufferView() || data->IsString()); | ||
| 1688 | 1689 | return CRC32Impl(options.isolate, data, value); | |
| 1689 | 1690 | } | |
| 1690 | 1691 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments