Skip to content

Commit d1e0eed

Browse files
noisysocksgithub-actions[bot]
authored andcommitted
Release build 11.1.0 [ci release]
1 parent 347bb9d commit d1e0eed

File tree

30 files changed

+1984
-1691
lines changed

30 files changed

+1984
-1691
lines changed

CHANGELOG.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
- Move Apple release dir (#1808)
1+
- NTP: Make omnibar always overflow (#1866)
2+
- NTP: Adjust omnibar colours to match native apps and Figma (#1863)
3+
- NTP: Fix input styling on Windows (#1862)
4+
- Handle multiple bridge instances within navigator interface (#1848)

build/android/contentScope.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5810,6 +5810,7 @@
58105810
}
58115811

58125812
// src/features/navigator-interface.js
5813+
var store = {};
58135814
var NavigatorInterface = class extends ContentFeature {
58145815
load(args) {
58155816
if (this.matchConditionalFeatureSetting("privilegedDomains").length) {
@@ -5840,7 +5841,11 @@
58405841
* @throws {Error}
58415842
*/
58425843
createMessageBridge(featureName) {
5843-
return createPageWorldBridge(featureName, args.messageSecret);
5844+
const existingBridge = store[featureName];
5845+
if (existingBridge) return existingBridge;
5846+
const bridge = createPageWorldBridge(featureName, args.messageSecret);
5847+
store[featureName] = bridge;
5848+
return bridge;
58445849
}
58455850
},
58465851
enumerable: true,

build/apple/contentScope.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10451,6 +10451,7 @@ Only "elements" is supported.`);
1045110451
}
1045210452

1045310453
// src/features/navigator-interface.js
10454+
var store = {};
1045410455
var NavigatorInterface = class extends ContentFeature {
1045510456
load(args) {
1045610457
if (this.matchConditionalFeatureSetting("privilegedDomains").length) {
@@ -10481,7 +10482,11 @@ Only "elements" is supported.`);
1048110482
* @throws {Error}
1048210483
*/
1048310484
createMessageBridge(featureName) {
10484-
return createPageWorldBridge(featureName, args.messageSecret);
10485+
const existingBridge = store[featureName];
10486+
if (existingBridge) return existingBridge;
10487+
const bridge = createPageWorldBridge(featureName, args.messageSecret);
10488+
store[featureName] = bridge;
10489+
return bridge;
1048510490
}
1048610491
},
1048710492
enumerable: true,

0 commit comments

Comments
 (0)