Closed Bug 346317 Opened 18 years ago Closed 18 years ago

Browser goes into an endless loop after automatically subscribing to this feed

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

2.0 Branch
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 2 beta2

People

(Reporter: mkairys, Assigned: sayrer)

References

()

Details

(Keywords: regression, verified1.8.1)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1b1) Gecko/20060728 BonEcho/2.0b1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1b1) Gecko/20060728 BonEcho/2.0b1

After loading a RSS feed (http://www.xml.com/2002/12/18/examples/rss20.xml.txt) the GUI loaded up as usual. If you select 'Change Reader...', select 'Use Live Bookmarks' and then select the option for the feeds to load up automatically, close the dialog window then refresh the page, the Add Live Bookmark dialog will appear blank and an endless supply of dialogs are created and Firefox must either be killed or closed (if possible). Also upon killing Firefox and using Session Restore, the program reoccurs immediately.  

Reproducible: Always

Steps to Reproduce:
1. Load RSS Feed in Address Bar
2. Select 'Change Reader...' in the GUI
3. Select 'Use Live Bookmarks' and select option to use chosen reader automatically
4. Reload RSS Feed
Actual Results:  
Firefox hangs and the Add Live Bookmark dialog is recreated endlessly. 

Expected Results:  
Add Live Bookmark dialog appears and is usable. 

Used a clean profile with no themes or extensions.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Browser goes into an endless loop → Browser goes into an endless loop after automatically subscribing to this feed
Version: unspecified → 2.0 Branch
I started getting an endless loop/freeze after an automatic update today:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060729 BonEcho/2.0b1

It seems to happen after a few minutes of browsing, gmail etc.
It did not happen before today (I have been getting daily automatic updates).
Matthew,
   Did did you see this bug before the July 27 nightly?
   If not, theh I suspect this is a recent break, perhaps a DUP of
   346233 or 346308.
This regressed on branch between 2006-07-24 and 2006-07-27.
Commenting out this line:
   // webNavigation.reload(Ci.nsIWebNavigation.LOAD_FLAGS_NONE);
from FeedConverter.js fixes the bug for me, this code was added with the patch for bug 341407.
Blocks: 341407
Flags: blocking-firefox2?
Keywords: regression
Ben - can you take a look?
Assignee: nobody → bugs
Flags: blocking-firefox2? → blocking-firefox2+
Assignee: bugs → jminta
Target Milestone: --- → Firefox 2 beta2
I think the user interaction that gets us into this bug is basically flawed. Clicking on links like the one in comment #0 should never add a live bookmark somewhere that I can't easily notice. I suggest we require the feed preview for live bookmarks.
Alternate way to get into the same state: click a link that redirects to a feed (say, in a bug report you are reading through Gmail): if you select "Always subscribe with a Live Bookmark" in Options/Feeds, then clicking http://www.google.com/url?sa=D&q=http://www.mozilla.org/news.rdf puts you in the same infinite dialog loop. 

Rob: it only adds it in a place you can't see if you're using trunk, and that's a Places bug, that it doesn't put up the Add Live Bookmark dialog.
The feed icon has rollover issues, but that's unrelated to this patch.
Assignee: jminta → sayrer
Status: NEW → ASSIGNED
Attachment #233076 - Flags: review?(bugs)
Attachment #233076 - Attachment is obsolete: true
Attachment #233077 - Flags: review?(bugs)
Attachment #233076 - Flags: review?(bugs)
Blocks: 348227
Whiteboard: [has patch][needs review ben]
Comment on attachment 233077 [details] [diff] [review]
Keep the feed list around if MOZ_FEEDS is enabled

r=me
Attachment #233077 - Flags: review?(bugs) → review+
Checking in base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.678; previous revision: 1.677
done
Checking in base/content/browser.xul;
/cvsroot/mozilla/browser/base/content/browser.xul,v  <--  browser.xul
new revision: 1.313; previous revision: 1.312
done
Checking in components/feeds/src/FeedConverter.js;
/cvsroot/mozilla/browser/components/feeds/src/FeedConverter.js,v  <--  FeedConverter.js
new revision: 1.15; previous revision: 1.14
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][needs review ben]
Attachment #233077 - Flags: approval1.8.1?
Comment on attachment 233077 [details] [diff] [review]
Keep the feed list around if MOZ_FEEDS is enabled

a=drivers for MOZILLA_1_8_BRANCH
Attachment #233077 - Flags: approval1.8.1? → approval1.8.1+
Checking in base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.479.2.183; previous revision: 1.479.2.182
done
Checking in base/content/browser.xul;
/cvsroot/mozilla/browser/base/content/browser.xul,v  <--  browser.xul
new revision: 1.268.2.55; previous revision: 1.268.2.54
done
Checking in components/feeds/src/FeedConverter.js;
/cvsroot/mozilla/browser/components/feeds/src/FeedConverter.js,v  <--  FeedConverter.js
new revision: 1.1.2.16; previous revision: 1.1.2.15
done
Keywords: fixed1.8.1
Verified using the "Testcases" from comment #0 and comment #9 with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b2) Gecko/20060829 BonEcho/2.0b2
Status: RESOLVED → VERIFIED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: