New issue
Advanced search Search tips

Issue 748309 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Feature::IsAvailableToEnvironment returns wrong availability.

Project Member Reported by karandeepb@chromium.org, Jul 25 2017

Issue description

Chrome Version: 61.0.3160.0


The following test fails

TEST_F(ExtensionServiceTest, ABC) {
  const extensions::Feature* feature = extensions::FeatureProvider::GetAPIFeature("webRequest");
  EXPECT_TRUE(feature->IsAvailableToEnvironment().is_available());
}

The availability result is almost always INVALID_TYPE.
 
Summary: Feature::IsAvailableToEnvironment doesn't correctly take into channel into account (and possibly other parameters). (was: Feature::IsAvailableToEnvironment doesn't correctly take into account channel (and possibly other parameters).)
Summary: Feature::IsAvailableToEnvironment returns wrong availability. (was: Feature::IsAvailableToEnvironment doesn't correctly take into channel into account (and possibly other parameters).)
Description: Show this description
Status: Fixed (was: Assigned)
This seems to be fixed now.

Sign in to add a comment