Backed out changeset cbd4339e2ca1 (bug 1368145) for failing browser-chrome test browser_contextmenu_sendpage.js. r=backout

This commit is contained in:
Sebastian Hengst 2017-06-13 19:03:52 +02:00
Родитель d4593a2a0d
Коммит addc302695
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -326,12 +326,12 @@ var gSync = {
addTargetDevice(client.id, client.name, client.type); addTargetDevice(client.id, client.name, client.type);
} }
// "Send to All Devices" menu item // "All devices" menu item
if (clients.length > 1) { if (clients.length > 1) {
const separator = createDeviceNodeFn(); const separator = createDeviceNodeFn();
separator.classList.add("sync-menuitem"); separator.classList.add("sync-menuitem");
fragment.appendChild(separator); fragment.appendChild(separator);
const allDevicesLabel = this.fxaStrings.GetStringFromName("sendToAllDevices.menuitem"); const allDevicesLabel = this.fxaStrings.GetStringFromName("sendTabToAllDevices.menuitem");
addTargetDevice("", allDevicesLabel, ""); addTargetDevice("", allDevicesLabel, "");
} }
} }

Просмотреть файл

@ -393,7 +393,7 @@ add_task(async function sendToDevice_devices() {
expectedItems.push( expectedItems.push(
null, null,
{ {
label: "Send to All Devices", label: "All Devices",
} }
); );
checkSendToDeviceItems(expectedItems); checkSendToDeviceItems(expectedItems);

Просмотреть файл

@ -35,9 +35,9 @@ syncStartNotification.body2 = %S will begin syncing momentarily.
deviceDisconnectedNotification.title = Sync disconnected deviceDisconnectedNotification.title = Sync disconnected
deviceDisconnectedNotification.body = This computer has been successfully disconnected from Firefox Sync. deviceDisconnectedNotification.body = This computer has been successfully disconnected from Firefox Sync.
# LOCALIZATION NOTE (sendToAllDevices.menuitem) # LOCALIZATION NOTE (sendTabToAllDevices.menuitem)
# Displayed in the Send Tab/Page/Link to Device context menu when right clicking a tab, a page or a link. # Displayed in the Send Tabs context menu when right clicking a tab, a page or a link.
sendToAllDevices.menuitem = Send to All Devices sendTabToAllDevices.menuitem = All Devices
# LOCALIZATION NOTE (tabArrivingNotification.title, tabArrivingNotificationWithDevice.title, # LOCALIZATION NOTE (tabArrivingNotification.title, tabArrivingNotificationWithDevice.title,
# tabsArrivingNotification.title, unnamedTabsArrivingNotification2.body, # tabsArrivingNotification.title, unnamedTabsArrivingNotification2.body,