title: Google Chrome Cookies Extensions: "Cannot call method 'set' of undefined"
body: <p>I'm trying to use the google chrome cookies extension when developing a chrome extension app. I've followed the instructions found here:  <a href="http://code.google.com/chrome/extensions/cookies.html" rel="nofollow">http://code.google.com/chrome/extensions/cookies.html</a></p>
  
  <p>My manifest file already has the permissions and cookies.</p>
  
  <p>The problem is now I can't seem to call any of the methods in the cookies extension</p>
  
  <pre><code>var newCookie = {'url:': 'http://*/*', 'name': 'routeCookie', 'value': route.tag[document.boxForm.routeBox.options.selectedIndex]};
  chrome.cookies.set(newCookie);
  </code></pre>
  
  <p>Error: UnCaught TypeError: Cannot call method 'set' of undefined</p>