Skip to content

Commit

Permalink
lib: remove primordials.SafePromise
Browse files Browse the repository at this point in the history
PR-URL: #36149
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and Trott committed Nov 19, 2020
1 parent 5a8a59e commit a46b21f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/internal/per_context/primordials.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ primordials.SafeWeakSet = makeSafe(
WeakSet,
class SafeWeakSet extends WeakSet {}
);
primordials.SafePromise = makeSafe(
Promise,
class SafePromise extends Promise {}
);

// Create copies of the namespace objects
[
Expand Down

0 comments on commit a46b21f

Please sign in to comment.