Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! test: add vm crash regression test
  • Loading branch information
addaleax committed Aug 7, 2020
commit 37e4ec2a13386b5115ebce9bc9ea66c58c44e930
3 changes: 2 additions & 1 deletion test/parallel/test-vm-set-property-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ const handler = {
};

const proxy = new Proxy({}, handler);
assert.throws(() => vm.runInNewContext('p = 6', proxy));
assert.throws(() => vm.runInNewContext('p = 6', proxy),
/getOwnPropertyDescriptor/);