It's comparing stylesheet URIs, but bug 670514 changed what the stylesheet URI is in this case. We need to make a change to nsResProtocolHandler similar to the one in bug 751905.
Created attachment 623755 [details] [diff] [review] Patch v1. I'm not sure what the catalog sheet code is, so I didn't test, but I think this is the desired fix.
Comment on attachment 623755 [details] [diff] [review] Patch v1. r=me. Thanks! You can test, if you really want to, by seeing how often the "do the load" stuff in nsDocument::EnsureCatalogSheet is hit for the same document if you load a document that does SVG stuff. No way to write an automated test, sadly. :(
Fixed for Aurora in changeset: http://hg.mozilla.org/releases/mozilla-aurora/rev/cf5c4540fe22 See Bug 670514
Thanks for marking. See Bug 670514 http://hg.mozilla.org/releases/mozilla-beta/rev/7a2c1909e205
Is there anything QA needs to do to verify this fix?
No, I don't think so. Verifying involves basically either attaching a debugger or modifying the code to measure some things...
Okay, thanks Boris. Marking this [qa-] based on that.