Skip to content

Commit 8c0378d

Browse files
Release build 8.23.0 [ci release]
1 parent f4b2f62 commit 8c0378d

File tree

13 files changed

+27
-28
lines changed

13 files changed

+27
-28
lines changed

CHANGELOG.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
- Conditional experiment matching (#1661)
2-
- Move ad blocking setting row to the last position (#1687)
1+
- Fix casing experiment matching (#1688)

Sources/ContentScopeScripts/dist/contentScope.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3760,7 +3760,7 @@
37603760
* }
37613761
* }
37623762
* ```
3763-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
3763+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
37643764
* @param {ConditionBlock} conditionBlock
37653765
* @returns {boolean}
37663766
*/
@@ -3771,7 +3771,7 @@
37713771
const currentCohorts = this.args?.currentCohorts;
37723772
if (!currentCohorts) return false;
37733773
return currentCohorts.some((cohort) => {
3774-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
3774+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
37753775
});
37763776
}
37773777
/**

Sources/ContentScopeScripts/dist/contentScopeIsolated.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4465,7 +4465,7 @@
44654465
* }
44664466
* }
44674467
* ```
4468-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
4468+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
44694469
* @param {ConditionBlock} conditionBlock
44704470
* @returns {boolean}
44714471
*/
@@ -4476,7 +4476,7 @@
44764476
const currentCohorts = this.args?.currentCohorts;
44774477
if (!currentCohorts) return false;
44784478
return currentCohorts.some((cohort) => {
4479-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
4479+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
44804480
});
44814481
}
44824482
/**

build/android/autofillPasswordImport.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2888,7 +2888,7 @@
28882888
* }
28892889
* }
28902890
* ```
2891-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
2891+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
28922892
* @param {ConditionBlock} conditionBlock
28932893
* @returns {boolean}
28942894
*/
@@ -2899,7 +2899,7 @@
28992899
const currentCohorts = this.args?.currentCohorts;
29002900
if (!currentCohorts) return false;
29012901
return currentCohorts.some((cohort) => {
2902-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
2902+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
29032903
});
29042904
}
29052905
/**

build/android/brokerProtection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,7 +4431,7 @@
44314431
* }
44324432
* }
44334433
* ```
4434-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
4434+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
44354435
* @param {ConditionBlock} conditionBlock
44364436
* @returns {boolean}
44374437
*/
@@ -4442,7 +4442,7 @@
44424442
const currentCohorts = this.args?.currentCohorts;
44434443
if (!currentCohorts) return false;
44444444
return currentCohorts.some((cohort) => {
4445-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
4445+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
44464446
});
44474447
}
44484448
/**

build/android/contentScope.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@
42714271
* }
42724272
* }
42734273
* ```
4274-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
4274+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
42754275
* @param {ConditionBlock} conditionBlock
42764276
* @returns {boolean}
42774277
*/
@@ -4282,7 +4282,7 @@
42824282
const currentCohorts = this.args?.currentCohorts;
42834283
if (!currentCohorts) return false;
42844284
return currentCohorts.some((cohort) => {
4285-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
4285+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
42864286
});
42874287
}
42884288
/**

build/chrome-mv3/inject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3712,7 +3712,7 @@
37123712
* }
37133713
* }
37143714
* ```
3715-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
3715+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
37163716
* @param {ConditionBlock} conditionBlock
37173717
* @returns {boolean}
37183718
*/
@@ -3723,7 +3723,7 @@
37233723
const currentCohorts = this.args?.currentCohorts;
37243724
if (!currentCohorts) return false;
37253725
return currentCohorts.some((cohort) => {
3726-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
3726+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
37273727
});
37283728
}
37293729
/**

build/firefox/inject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3712,7 +3712,7 @@
37123712
* }
37133713
* }
37143714
* ```
3715-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
3715+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
37163716
* @param {ConditionBlock} conditionBlock
37173717
* @returns {boolean}
37183718
*/
@@ -3723,7 +3723,7 @@
37233723
const currentCohorts = this.args?.currentCohorts;
37243724
if (!currentCohorts) return false;
37253725
return currentCohorts.some((cohort) => {
3726-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
3726+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
37273727
});
37283728
}
37293729
/**

build/integration/contentScope.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5774,7 +5774,7 @@
57745774
* }
57755775
* }
57765776
* ```
5777-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
5777+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
57785778
* @param {ConditionBlock} conditionBlock
57795779
* @returns {boolean}
57805780
*/
@@ -5785,7 +5785,7 @@
57855785
const currentCohorts = this.args?.currentCohorts;
57865786
if (!currentCohorts) return false;
57875787
return currentCohorts.some((cohort) => {
5788-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
5788+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
57895789
});
57905790
}
57915791
/**
@@ -18437,12 +18437,12 @@
1843718437
},
1843818438
currentCohorts: [
1843918439
{
18440-
feature: "ContentScopeExperiments",
18440+
feature: "contentScopeExperiments",
1844118441
subfeature: "bloops",
1844218442
cohort: "control"
1844318443
},
1844418444
{
18445-
feature: "ContentScopeExperiments",
18445+
feature: "contentScopeExperiments",
1844618446
subfeature: "test",
1844718447
cohort: "treatment"
1844818448
}

build/windows/contentScope.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5301,7 +5301,7 @@
53015301
* }
53025302
* }
53035303
* ```
5304-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
5304+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
53055305
* @param {ConditionBlock} conditionBlock
53065306
* @returns {boolean}
53075307
*/
@@ -5312,7 +5312,7 @@
53125312
const currentCohorts = this.args?.currentCohorts;
53135313
if (!currentCohorts) return false;
53145314
return currentCohorts.some((cohort) => {
5315-
return cohort.feature === "ContentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
5315+
return cohort.feature === "contentScopeExperiments" && cohort.subfeature === experiment.experimentName && cohort.cohort === experiment.cohort;
53165316
});
53175317
}
53185318
/**

injected/entry-points/integration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ function generateConfig() {
2424
},
2525
currentCohorts: [
2626
{
27-
feature: 'ContentScopeExperiments',
27+
feature: 'contentScopeExperiments',
2828
subfeature: 'bloops',
2929
cohort: 'control',
3030
},
3131
{
32-
feature: 'ContentScopeExperiments',
32+
feature: 'contentScopeExperiments',
3333
subfeature: 'test',
3434
cohort: 'treatment',
3535
},

injected/integration-test/test-pages/infra/pages/conditional-matching-experiments.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
<code>
1515
currentCohorts: [
1616
{
17-
"feature": "ContentScopeExperiments",
17+
"feature": "contentScopeExperiments",
1818
"subfeature": "bloops",
1919
"cohort": "control",
2020
},
2121
{
22-
"feature": "ContentScopeExperiments",
22+
"feature": "contentScopeExperiments",
2323
"subfeature": "test",
2424
"cohort": "treatment",
2525
},

injected/src/config-feature.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export default class ConfigFeature {
178178
* }
179179
* }
180180
* ```
181-
* Where featureName "ContentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
181+
* Where featureName "contentScopeExperiments" has a subfeature "experimentName" and cohort "cohort-name"
182182
* @param {ConditionBlock} conditionBlock
183183
* @returns {boolean}
184184
*/
@@ -190,7 +190,7 @@ export default class ConfigFeature {
190190
if (!currentCohorts) return false;
191191
return currentCohorts.some((cohort) => {
192192
return (
193-
cohort.feature === 'ContentScopeExperiments' &&
193+
cohort.feature === 'contentScopeExperiments' &&
194194
cohort.subfeature === experiment.experimentName &&
195195
cohort.cohort === experiment.cohort
196196
);

0 commit comments

Comments
 (0)