fix incorrect setting of mUnsafeRulesEnabled in CSSStyleSheet::ParseSheet

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
3 years ago
3 years ago

People

(Reporter: dbaron, Unassigned, NeedInfo)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
From Boris Zbarsky [:bz] from bug 1082899 comment #11:
> This matches all the uses of mUnsafeRulesEnabled except one: in
> CSSStyleSheet::ParseSheet.  I think that one is just buggy and should
> probably be changed to pass false or throw on attempts to reparse UA sheets
> or something.  Please file a followup?
(Reporter)

Updated

3 years ago
Flags: needinfo?(dbaron)
You need to log in before you can comment on or make changes to this bug.