Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It works when I get the symbol by eval Symbol.for
``` $ ./target/debug/deno test cli/tests/unit/message_channel_test.ts running 2 tests from ./cli/tests/unit/message_channel_test.ts messagechannel ... ok (34ms) messagechannel clone port ...result=Some(false) constructor=Object keys.length=0, identity hash:253732785 is_object false is_symbol true result=Some(true) constructor=MessagePort keys.length=4, identity hash:253732785 is_object false is_symbol true 0 symbol "Deno.core.customHostObject" is true, hash 253732785 is_object false is_symbol true 1 symbol "[[webidl.brand]]" is false, hash 764160415 is_object false is_symbol true 2 symbol "undefined" is false, hash 758685447 is_object false is_symbol true 3 symbol "id" is false, hash 997007839 is_object false is_symbol true ok (19ms) ok | 2 passed | 0 failed (141ms) ```
- Loading branch information