Closed Bug 555406 Opened 14 years ago Closed 14 years ago

font face loader doesn't checkLoadURI the INHERIT_PRINCIPAL loads

Categories

(Core :: Layout: Text and Fonts, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: bzbarsky, Assigned: jtd)

Details

(Whiteboard: [sg:moderate])

Attachments

(1 file)

I thought CheckLoadAllowed did it, but apparently I was wrong.  We need a checkLoadURI check here.  In the other branch, the cross-site proxy handles it for us.
Assignee: nobody → jdaggett
Modeled this on the code in Loader::CheckLoadAllowed, I'm assuming ALLOW_CHROME doesn't make sense here.  This will apply to both data and standard URL's.
Attachment #441416 - Flags: review?(bzbarsky)
Comment on attachment 441416 [details] [diff] [review]
patch, v.0.1, checkLoadURI in nsFontFaceLoader::CheckLoadAllowed

Looks good.
Attachment #441416 - Flags: review?(bzbarsky) → review+
Pushed to trunk:
http://hg.mozilla.org/mozilla-central/rev/3e96939590ac
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
blocking2.0: ? → final+
Priority: -- → P1
Group: core-security → core-security-release
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: