Closed Bug 754894 Opened 12 years ago Closed 12 years ago

Catalog sheet code is broken at least in unpackaged build

Categories

(Core :: Networking, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15
Tracking Status
firefox13 + fixed
firefox14 + fixed
firefox15 --- fixed
firefox-esr10 13+ fixed

People

(Reporter: bzbarsky, Assigned: bbondy)

References

Details

(Keywords: regression, Whiteboard: [qa-])

Attachments

(1 file)

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.
Keywords: regression
Attached patch Patch v1.Splinter Review
I'm not sure what the catalog sheet code is, so I didn't test, but I think this is the desired fix.
Attachment #623755 - Flags: review?(bzbarsky)
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.  :(
Attachment #623755 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/3ce1f1bf0cfe
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
No longer blocks: CVE-2012-1945
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.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: