Chromium Code Reviews| Index: chrome/test/data/extensions/subscribe_page_action/popup.js |
| =================================================================== |
| --- chrome/test/data/extensions/subscribe_page_action/popup.js (revision 190361) |
| +++ chrome/test/data/extensions/subscribe_page_action/popup.js (working copy) |
| @@ -11,7 +11,7 @@ |
| function main() { |
| chrome.tabs.getSelected(null, function(tab) { |
| - var feeds = chrome.extension.getBackgroundPage().feedData[tab.id]; |
| + var feeds = JSON.parse(localStorage.getItem(tab.id)); |
|
not at google - send to devlin
2013/03/28 00:35:05
I don't fully understand what this is for, but we'
|
| if (feeds.length == 1) { |
| // Only one feed, no need for a bubble; go straight to the subscribe page. |
| preview(feeds[0].href); |