title: chrome.tabs is not available: You do not have permission to access this API
body: <p>I set this permission</p>
  
  <pre><code>"permissions": [ "tabs" ],
  </code></pre>
  
  <p>and in the .js I use</p>
  
  <pre><code>chrome.tabs.getSelected(null, function(tab) {
  var page_url = tab.url;
  $("#chrome_ext_qr_code img").attr("src", ...);
  $("#chrome_ext_qr_code input").val(...);
  });
  </code></pre>
  
  <p>Why I got this error?</p>
  
  <p>chrome.tabs is not available: You do not have permission to access this API. Ensure that the required permission or manifest property is included in your manifest.json. </p>