{"action":"opened","issue":{"url":"https://api.github.com/repos/paulrouget/firefox.html/issues/115","labels_url":"https://api.github.com/repos/paulrouget/firefox.html/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/paulrouget/firefox.html/issues/115/comments","events_url":"https://api.github.com/repos/paulrouget/firefox.html/issues/115/events","html_url":"https://github.com/paulrouget/firefox.html/issues/115","id":53317559,"number":115,"title":"session restore does not emit add event","user":{"login":"PalmerAL","id":10314059,"avatar_url":"https://avatars.githubusercontent.com/u/10314059?v=3","gravatar_id":"","url":"https://api.github.com/users/PalmerAL","html_url":"https://github.com/PalmerAL","followers_url":"https://api.github.com/users/PalmerAL/followers","following_url":"https://api.github.com/users/PalmerAL/following{/other_user}","gists_url":"https://api.github.com/users/PalmerAL/gists{/gist_id}","starred_url":"https://api.github.com/users/PalmerAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PalmerAL/subscriptions","organizations_url":"https://api.github.com/users/PalmerAL/orgs","repos_url":"https://api.github.com/users/PalmerAL/repos","events_url":"https://api.github.com/users/PalmerAL/events{/privacy}","received_events_url":"https://api.github.com/users/PalmerAL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-03T22:35:24Z","updated_at":"2015-01-03T22:35:24Z","closed_at":null,"body":"When restoring a session, the session restore function calls <code> TabIframeDeck.add </code>, which then calls <code>this.emit('add', {tabIframe: tabIframe}); </code>. However, nothing in the <code> TabIframeDeck.on('add' </code> function in tabstrip.js ever runs when tabs are restored. This should run when the session restore is adding a tab, as it runs when a tab is added later on."}}