Closed Bug 473892 Opened 16 years ago Closed 16 years ago

Too-much-recursion crash with "@media (width: 5ex)" due to the possibility of font-face rules

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.1b3

People

(Reporter: jruderman, Assigned: dbaron)

References

Details

(Keywords: crash, testcase, verified1.9.1)

Attachments

(3 files)

      No description provided.
Attached file stack trace window (deleted) —
Probably when CalcLengthWith calls GetMetricsFor we need to suppress the call to GetUserFontSet.
Flags: blocking1.9.1?
Assignee: nobody → dbaron
Attached patch patch (deleted) — Splinter Review
I think ignoring the user font set in this case is the right thing to do; it *shouldn't* make a difference, and on the off-chance it does, we should be using the value without in anyway.  (The infinite recursion was the result of building it.)
Attachment #357436 - Flags: superreview?(bzbarsky)
Attachment #357436 - Flags: review?(bzbarsky)
Attachment #357436 - Flags: superreview?(bzbarsky)
Attachment #357436 - Flags: superreview+
Attachment #357436 - Flags: review?(bzbarsky)
Attachment #357436 - Flags: review+
Fixed: http://hg.mozilla.org/mozilla-central/rev/b5eb575e2264
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Flags: blocking1.9.1? → blocking1.9.1+
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/0224daaa3156
Keywords: fixed1.9.1
Target Milestone: mozilla1.9.2a1 → mozilla1.9.1b3
Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090211 Shiretoko/3.1b3pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090211 Shiretoko/3.1b3pre. No crash with testcase. Adding keyword.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: