[Webkit-unassigned] [Bug 56981] CSSStyleSheet#insertRule doesn't work well with imported stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 15:58:04 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56981





--- Comment #8 from Julien Chaffraix <jchaffraix at webkit.org>  2011-05-26 15:58:04 PST ---
(From update of attachment 94996)
View in context: https://bugs.webkit.org/attachment.cgi?id=94996&action=review

>> LayoutTests/fast/css/import-and-insert-rule-no-update.html:39
>> +    window.setTimeout(test, 25);
> 
> This is a confusing way to wait for the stylesheet. I'd much prefer to centralize the wait logic in one function, which should call the "doTest" function when it detects that the load is complete.
> 
> Do you expect exceptions to fire here? We don't normally test for them.

I don't expect any exceptions here. Let me remove that and rework the logic. Thanks!

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



More information about the webkit-unassigned mailing list