From f504fd305e5b2c16b2053a76090ea2618ab42332 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 15 Mar 2016 15:04:10 +0000 Subject: Move isEnabledForUrl to Frame.port. --- tests/unit_tests/exclusion_test.coffee | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/unit_tests/exclusion_test.coffee b/tests/unit_tests/exclusion_test.coffee index 0e4b87bc..e6a47779 100644 --- a/tests/unit_tests/exclusion_test.coffee +++ b/tests/unit_tests/exclusion_test.coffee @@ -19,6 +19,8 @@ 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} + # These tests cover only the most basic aspects of excluded URLs and passKeys. # context "Excluded URLs and pass keys", -- cgit v1.2.3