Skip to content

Commit

Permalink
Remove unnecessary Function.prototype.bind
Browse files Browse the repository at this point in the history
This is vestigial back from when JS did not have this built in.
  • Loading branch information
philc committed Jul 11, 2021
1 parent e25bbe6 commit 4a293e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/dom_tests/vomnibar_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ context("Keep selection within bounds",
vomnibarFrame = Vomnibar.vomnibarUI.iframeElement.contentWindow;

// The Vomnibar frame is dynamically injected, so inject our stubs here.
vomnibarFrame.Function.prototype.bind = Function.prototype.bind;
vomnibarFrame.chrome = chrome;

const oldGetCompleter = vomnibarFrame.Vomnibar.getCompleter.bind(vomnibarFrame.Vomnibar);
Expand Down

0 comments on commit 4a293e7

Please sign in to comment.