[Webkit-unassigned] [Bug 107364] Improve PageVisibility API with enums

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 11:26:28 PST 2013


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





--- Comment #10 from Sam Weinig <sam at webkit.org>  2013-01-26 11:28:24 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> > (From update of attachment 184635 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=184635&action=review
> > 
> > No COMPILE_ASSERT() statements?
> 
> Although one could argue that if you have switch statements for conversions in both directions, any change in the enum list would fail if a case statement were missing.

In general, we have tried to no rely on WebCore's types where possible by using explicit conversion, so no static assertions should be needed or wanted.

-- 
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