Closed Bug 361448 Opened 19 years ago Closed 19 years ago

Feed processor logs an exception when it hits an unknown element in atom:author

Categories

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

2.0 Branch
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 3 alpha1

People

(Reporter: sayrer, Assigned: sayrer)

Details

(Keywords: verified1.8.1.2)

Attachments

(1 file)

the exception is harmless, because the SAX processor keeps going.
Assignee: nobody → sayrer
Status: NEW → ASSIGNED
Attachment #246229 - Flags: review?(mano)
Target Milestone: --- → Firefox 3 alpha1
Comment on attachment 246229 [details] [diff] [review] check for an undefined prefix (namespaces we don't know about) r=mano
Attachment #246229 - Flags: review?(mano) → review+
Attachment #246229 - Flags: approval1.8.1.2?
Checking in src/FeedProcessor.js; /cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v <-- FeedProcessor.js new revision: 1.22; previous revision: 1.21 done RCS file: /cvsroot/mozilla/toolkit/components/feeds/test/xml/rfc4287/author_namespaces.xml,v done Checking in test/xml/rfc4287/author_namespaces.xml; /cvsroot/mozilla/toolkit/components/feeds/test/xml/rfc4287/author_namespaces.xml,v <-- author_namespaces.xml initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
OS: Mac OS X 10.3 → All
Hardware: PC → All
Comment on attachment 246229 [details] [diff] [review] check for an undefined prefix (namespaces we don't know about) Approved for the 1.8 branch, a=jay for drivers.
Attachment #246229 - Flags: approval1.8.1.2? → approval1.8.1.2+
Checking in test/xml/rfc4287/author_namespaces.xml; /cvsroot/mozilla/toolkit/components/feeds/test/xml/rfc4287/author_namespaces.xml,v <-- author_namespaces.xml new revision: 1.1.2.1; previous revision: 1.1 done Checking in src/FeedProcessor.js; /cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v <-- FeedProcessor.js new revision: 1.1.2.15; previous revision: 1.1.2.14 done
Keywords: fixed1.8.1.2
Whiteboard: [need testcase]
This bug is marked [need testcase]. Is there a series of steps to be followed that would confirm the fix? If there is a method of verifying the bug, could you either provide a description/testcase or test the latest builds? If you confirm the fix please provide the buildid that you verified it on and change the keywords from fixedx.x.x.x to verifiedx.x.x.x.
Personally, I like "cd objdir/toolkit/components/feeds/; make check" for verification, but failing that, the steps-to-verify are 1. Set javascript.options.showInConsole to true, 2. Load http://www.intertwingly.net/blog/2485.atom, 3. Observe the lack of "Error: gNamespaces[uri] has no properties" spew in the console, 4. Say "verified with 20070201 trunk and 2.0.0.2pre bits" 5. Twiddle some form controls.
Status: RESOLVED → VERIFIED
Whiteboard: [need testcase]
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: