[Webkit-unassigned] [Bug 12973] REGRESSION: Reproducible assert while loading this test file if css is already in the cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 10 12:37:05 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12973





------- Comment #8 from mitz at webkit.org  2007-03-10 12:37 PDT -------
(In reply to comment #7)
> Why is the m_sheet null check kept in one place, but not the other two?

Because it's needed in that one place (in case the type attribute is wrong or
the media doesn't match) and not in the other two.

> In
> both methods were the null check is not kept, m_sheet is used previously in the
> method, but how do we know its value won't change between uses?

In HTMLLinkElement it's obvious (setMedia() cannot get m_sheet changed). In
ProcessingInstruction it's quite easy to verify that it cannot become 0.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list