     }
 
     func didFinish(_ what: PushMessage? = nil, with error: PushMessageError? = nil) {
+        consoleLog("push didFinish start")
         defer {
             // We cannot use tabqueue after the profile has shutdown;
             // however, we can't use weak references, because TabQueue isn't a class.

    // AppDelegate.application(_:didReceiveRemoteNotification:completionHandler:)
    // Once the notification is tapped, then the same userInfo is passed to the same method in the AppDelegate.
    override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
        let userInfo = request.content.userInfo

        let content = request.content.mutableCopy() as! UNMutableNotificationContent

import Storage
import Sync
import UserNotifications
import os.log

func consoleLog(_ msg: String) {
    os_log("%{public}@", log: OSLog(subsystem: "org.mozilla.firefox", category: "firefoxnotificationservice"), type: OSLogType.debug, msg)
}

class NotificationService: UNNotificationServiceExtension {
    var display: SyncDataDisplay?
