1
1
diff --git a/browser/components/urlbar/UrlbarInput.sys.mjs b/browser/components/urlbar/UrlbarInput.sys.mjs
2
- index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640dac8ab56 100644
2
+ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..370bd107be760893516360bd85553acb6533774b 100644
3
3
--- a/browser/components/urlbar/UrlbarInput.sys.mjs
4
4
+++ b/browser/components/urlbar/UrlbarInput.sys.mjs
5
5
@@ -68,6 +68,13 @@ XPCOMUtils.defineLazyPreferenceGetter(
@@ -187,7 +187,15 @@ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640
187
187
188
188
let controller =
189
189
this.document.commandDispatcher.getControllerForCommand("cmd_paste");
190
- @@ -4136,6 +4204,11 @@ export class UrlbarInput {
190
+ @@ -4025,6 +4093,7 @@ export class UrlbarInput {
191
+ _setPlaceholder(name) {
192
+ this.document.l10n.setAttributes(
193
+ this.inputField,
194
+ + this.window.gZenVerticalTabsManager._hasSetSingleToolbar ? 'zen-singletoolbar-urlbar-placeholder-with-name' :
195
+ name ? "urlbar-placeholder-with-name" : "urlbar-placeholder",
196
+ name ? { name } : undefined
197
+ );
198
+ @@ -4136,6 +4205,11 @@ export class UrlbarInput {
191
199
}
192
200
193
201
_on_click(event) {
@@ -199,7 +207,7 @@ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640
199
207
if (
200
208
event.target == this.inputField ||
201
209
event.target == this._inputContainer ||
202
- @@ -4207,7 +4280 ,7 @@ export class UrlbarInput {
210
+ @@ -4207,7 +4281 ,7 @@ export class UrlbarInput {
203
211
}
204
212
}
205
213
@@ -208,7 +216,7 @@ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640
208
216
this.view.autoOpen({ event });
209
217
} else {
210
218
if (this._untrimOnFocusAfterKeydown) {
211
- @@ -4247,9 +4320 ,16 @@ export class UrlbarInput {
219
+ @@ -4247,9 +4321 ,16 @@ export class UrlbarInput {
212
220
}
213
221
214
222
_on_mousedown(event) {
@@ -226,7 +234,7 @@ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640
226
234
227
235
if (
228
236
event.target != this.inputField &&
229
- @@ -4261,6 +4341 ,10 @@ export class UrlbarInput {
237
+ @@ -4261,6 +4342 ,10 @@ export class UrlbarInput {
230
238
231
239
this.focusedViaMousedown = !this.focused;
232
240
this._preventClickSelectsAll = this.focused;
@@ -237,7 +245,7 @@ index 0c5145c3d31862bd2c6b5ed2faa88f02425ffde1..1cf86995514b2c00360f6ed681f0c640
237
245
238
246
// Keep the focus status, since the attribute may be changed
239
247
// upon calling this.focus().
240
- @@ -4301,7 +4385 ,7 @@ export class UrlbarInput {
248
+ @@ -4301,7 +4386 ,7 @@ export class UrlbarInput {
241
249
}
242
250
// Don't close the view when clicking on a tab; we may want to keep the
243
251
// view open on tab switch, and the TabSelect event arrived earlier.
0 commit comments