diff options
| author | Stephen Blott | 2016-03-17 13:07:47 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-17 13:07:47 +0000 |
| commit | 2e197df82a13d3cbc3ad305d08650b1a329bdcad (patch) | |
| tree | 52753640d0661985d0ca33d74105d9b480fe71bb /tests/unit_tests | |
| parent | dfb18315f8806f0b86cc6db6ef0623ad283007f5 (diff) | |
| parent | e1aee8b4867e3d315d799ba06ba46fa7d7077c0c (diff) | |
| download | vimium-2e197df82a13d3cbc3ad305d08650b1a329bdcad.tar.bz2 | |
Merge pull request #2053 from smblott-github/use-port-for-frames
Use port for frames
Diffstat (limited to 'tests/unit_tests')
| -rw-r--r-- | tests/unit_tests/exclusion_test.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit_tests/exclusion_test.coffee b/tests/unit_tests/exclusion_test.coffee index 0e4b87bc..649dfd1f 100644 --- a/tests/unit_tests/exclusion_test.coffee +++ b/tests/unit_tests/exclusion_test.coffee @@ -19,6 +19,9 @@ extend(global, require "../../background_scripts/exclusions.js") extend(global, require "../../background_scripts/commands.js") extend(global, require "../../background_scripts/main.js") +isEnabledForUrl = (request) -> + Frames.isEnabledForUrl {request, tabId: 0, port: postMessage: (request) -> request} + # These tests cover only the most basic aspects of excluded URLs and passKeys. # context "Excluded URLs and pass keys", |
