title: Chrome extension, Can't get cookies
body: <p>I'm trying to get cookies from my Chrome extension when the app is loading:</p>
  
  <pre><code>chrome.cookies.getAll({ "url": config.cookie.cookieUrl }, function (cookies) {
              if (callback) callback(cookies);
          });
  </code></pre>
  
  <p>Sometimes I get the error:</p>
  
  <blockquote>
    <p>Error during cookies.getAll: No accessible cookie store found for the
    current execution context.</p>
  </blockquote>
  
  <p>These posts didn't help me:</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/8296859/setting-cookie-fails-in-background-html-when-called-on-startup">Stackoverflow discussion</a></p></li>
  <li><p><a href="https://code.google.com/p/chromium/issues/detail?id=113994" rel="nofollow noreferrer">Google discussion</a></p></li>
  </ol>