as required by chrome API