title: Programmatically pin a tab in Google Chrome
body: <p>I made <a href="http://ericviala.github.io/Skwares/" rel="nofollow noreferrer">a small Chrome extension</a> that opens a new tab and displays your bookmarks in it.</p>
  
  <p>I'd like this new tab to be automatically pinned. The code is like so :</p>
  
  <pre><code>chrome.tabs.create({
                      "url": chrome.extension.getURL("skwares.html")
                  },
                  function(tab) {
                      tab.highlighted = true;
                      tab.active = true;
                      tab.pinned = true;
                  });
  </code></pre>
  
  <p>The new tab opens alright, but is not pinned. What did I miss?</p>